This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
informatique:linux:ipmi [2023/09/25 15:27] – created yahiko | informatique:linux:ipmi [2025/09/11 08:02] (current) – yahiko | ||
---|---|---|---|
Line 2: | Line 2: | ||
Les pilotes : | Les pilotes : | ||
- | < | + | < |
modprobe ipmi_si | modprobe ipmi_si | ||
modprobe ipmi_devintf | modprobe ipmi_devintf | ||
Line 8: | Line 8: | ||
</ | </ | ||
- | < | + | < |
ipmitool shell | ipmitool shell | ||
</ | </ | ||
+ | ===== Informations sur l'IPMI ===== | ||
+ | <code bash> | ||
+ | ipmitool mc info | ||
+ | |||
+ | | ||
+ | Device ID : 5 | ||
+ | Device Revision | ||
+ | Firmware Revision | ||
+ | IPMI Version | ||
+ | Manufacturer ID : 10368 | ||
+ | Manufacturer Name : Fujitsu Siemens | ||
+ | Product ID : 1366 (0x0556) | ||
+ | Product Name : Unknown (0x556) | ||
+ | Device Available | ||
+ | Provides Device SDRs : no | ||
+ | Additional Device Support : | ||
+ | Sensor Device | ||
+ | SDR Repository Device | ||
+ | SEL Device | ||
+ | FRU Inventory Device | ||
+ | IPMB Event Receiver | ||
+ | IPMB Event Generator | ||
+ | Chassis Device | ||
+ | Aux Firmware Rev Info : | ||
+ | 0x03 | ||
+ | 0x05 | ||
+ | 0x00 | ||
+ | 0x50 | ||
+ | </ | ||
+ | |||
+ | ===== Reboot BMC ===== | ||
+ | Ne redémarre pas le serveur hôte ! | ||
+ | <code bash> | ||
+ | ipmitool mc reset warm | ||
+ | </ | ||
+ | ou | ||
+ | <code bash> | ||
+ | ipmitool mc reset cold | ||
+ | </ | ||
+ | |||
+ | ===== Gérer le réseau ===== | ||
+ | Récupérer l'IP : | ||
+ | <code bash> | ||
+ | ipmitool lan print | ||
+ | </ | ||
+ | Optionellement spécifier le '' | ||
+ | <code bash> | ||
+ | ipmitool lan print 2 | ||
+ | </ | ||
+ | |||
+ | Sur un Fujitsu TX2550 M5, pour fixer une IP, ou '' | ||
+ | |||
+ | Passage en IP Fixe : | ||
+ | <code bash> | ||
+ | ipmitool lan set 2 ipsrc static | ||
+ | </ | ||
+ | |||
+ | Passer une IP fixe : | ||
+ | <code bash> | ||
+ | ipmitool lan set 2 ipaddr 192.168.1.13 | ||
+ | ipmitool lan set 2 netmask 255.255.255.0 | ||
+ | ipmitool lan set 2 defgw ipaddr 192.168.1.254 | ||
+ | </ | ||
+ | |||
+ | Si il faut attribuer un VLAN, où le VID est '' | ||
+ | <code bash> | ||
+ | ipmitool lan set 2 vlan id 3 | ||
+ | </ | ||
+ | |||
+ | On vérifie : | ||
+ | <code bash> | ||
+ | ipmitool lan print 2 | ||
+ | Set in Progress | ||
+ | Auth Type Support | ||
+ | Auth Type Enable | ||
+ | : User : MD5 | ||
+ | : Operator : MD5 | ||
+ | : Admin : MD5 | ||
+ | : OEM : MD5 | ||
+ | IP Address Source | ||
+ | IP Address | ||
+ | Subnet Mask : 255.255.255.0 | ||
+ | MAC Address | ||
+ | SNMP Community String | ||
+ | IP Header | ||
+ | BMC ARP Control | ||
+ | Gratituous ARP Intrvl | ||
+ | Default Gateway IP : 192.168.1.254 | ||
+ | Default Gateway MAC : 00: | ||
+ | Backup Gateway IP : 0.0.0.0 | ||
+ | Backup Gateway MAC : 00: | ||
+ | 802.1q VLAN ID : 3 | ||
+ | 802.1q VLAN Priority | ||
+ | RMCP+ Cipher Suites | ||
+ | Cipher Suite Priv Max : XaaaaaaaaaaaXXX | ||
+ | : | ||
+ | : | ||
+ | : | ||
+ | : | ||
+ | : | ||
+ | : O=OEM | ||
+ | Bad Password Threshold | ||
+ | Invalid password disable: no | ||
+ | Attempt Count Reset Int.: 0 | ||
+ | User Lockout Interval | ||
+ | </ |