====== Gérer l'IPMI d'un serveur ======
Les pilotes :
modprobe ipmi_si
modprobe ipmi_devintf
modprobe ipmi_msghandler
ipmitool shell
===== Informations sur l'IPMI =====
ipmitool mc info
ipmitool mc info
Device ID : 5
Device Revision : 2
Firmware Revision : 1.00
IPMI Version : 2.0
Manufacturer ID : 10368
Manufacturer Name : Fujitsu Siemens
Product ID : 1366 (0x0556)
Product Name : Unknown (0x556)
Device Available : yes
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 !
ipmitool mc reset warm
ou
ipmitool mc reset cold
===== Gérer le réseau =====
Récupérer l'IP :
ipmitool lan print
Optionellement spécifier le ''channel'' :
ipmitool lan print 2
Sur un Fujitsu TX2550 M5, pour fixer une IP, ou ''2'' le ''channel''.
Passage en IP Fixe :
ipmitool lan set 2 ipsrc static
Passer une IP fixe :
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 ''3'' :
ipmitool lan set 2 vlan id 3
On vérifie :
ipmitool lan print 2
Set in Progress : Set Complete
Auth Type Support : MD5
Auth Type Enable : Callback : MD5
: User : MD5
: Operator : MD5
: Admin : MD5
: OEM : MD5
IP Address Source : Static Address
IP Address : 192.168.1.10
Subnet Mask : 255.255.255.0
MAC Address : 4c:52:62:xx:xx:xx
SNMP Community String : public
IP Header : TTL=0x40 Flags=0x40 Precedence=0x00 TOS=0x10
BMC ARP Control : ARP Responses Enabled, Gratuitous ARP Disabled
Gratituous ARP Intrvl : 0.0 seconds
Default Gateway IP : 192.168.1.254
Default Gateway MAC : 00:1d:aa:xx:xx:xx
Backup Gateway IP : 0.0.0.0
Backup Gateway MAC : 00:00:00:00:00:00
802.1q VLAN ID : 3
802.1q VLAN Priority : 0
RMCP+ Cipher Suites : 0,1,2,3,6,7,8,11,12,15,16,17
Cipher Suite Priv Max : XaaaaaaaaaaaXXX
: X=Cipher Suite Unused
: c=CALLBACK
: u=USER
: o=OPERATOR
: a=ADMIN
: O=OEM
Bad Password Threshold : 0
Invalid password disable: no
Attempt Count Reset Int.: 0
User Lockout Interval : 0