Site Tools


informatique:linux:ipmi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
informatique:linux:ipmi [2023/09/25 15:27] – created yahikoinformatique:linux:ipmi [2025/09/11 08:02] (current) yahiko
Line 2: Line 2:
  
 Les pilotes :  Les pilotes : 
-<code shell-session>+<code bash>
 modprobe ipmi_si modprobe ipmi_si
 modprobe ipmi_devintf modprobe ipmi_devintf
Line 8: Line 8:
 </code> </code>
  
-<code shell-session>+<code bash>
 ipmitool shell ipmitool shell
 </code> </code>
  
 +===== Informations sur l'IPMI =====
 +<code bash>
 +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
 +</code>
 +
 +===== Reboot BMC =====
 +Ne redémarre pas le serveur hôte !
 +<code bash>
 +ipmitool mc reset warm
 +</code>
 +ou
 +<code bash>
 +ipmitool mc reset cold
 +</code>
 +
 +===== Gérer le réseau =====
 +Récupérer l'IP :
 +<code bash>
 +ipmitool lan print
 +</code>
 +Optionellement spécifier le ''channel''
 +<code bash>
 +ipmitool lan print 2
 +</code>
 +
 +Sur un Fujitsu TX2550 M5, pour fixer une IP, ou ''2'' le ''channel''.
 +
 +Passage en IP Fixe :
 +<code bash>
 +ipmitool lan set 2 ipsrc static
 +</code>
 +
 +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
 +</code>
 +
 +Si il faut attribuer un VLAN, où le VID est ''3''
 +<code bash>
 +ipmitool lan set 2 vlan id 3
 +</code>
 +
 +On vérifie : 
 +<code bash>
 +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
 +</code>
informatique/linux/ipmi.1695655635.txt.gz · Last modified: 2023/09/25 15:27 by yahiko