IPMI
Update your firmware
ftp://ftp.supermicro.com/utility/IPMI%20FW%20flash%20tools/SMT/
./lUpdate.sh -f SMT_X9_130.bin -i kcs -r n
IPMICFG
ftp://ftp.supermicro.com/utility/IPMICFG/
Fonction
|
Commande
|
---|---|
Show IP | ipmicfg -m |
Show subnet mask | ipmicfg -k |
Show Gateway | ipmicfg -g |
Check FW | ipmicfg -vgr |
Show VLAN | ipmicfg -vlan |
Set VLAN on | ipmicfg -vlan on #VLAN |
Set VLAN off | ipmicfg -vlan off |
Check IPMI chipset | ipmicfg -selftest |
Set IP Static | ipmicfg -m 10.x.x.x |
Set Subnet | ipmicfg -k 255.255.255.0 |
Set gateway | ipmicfg -g 10.x.x.1 |
Set DHCP off | ipmicfg -dhcp off |
Set DHCP on | ipmicfg -dhcp on |
Check fan mode | ipmicfg -fan |
List users | ipmicfg -user list |
Add user | ipmicfg -user add [user ID] [user name] [password] [privilege] |
Del user | ipmicfg -user del [user id] |
Change user passwd | ipmicfg -user setpwd [user ID] [password] |
Change user pri | ipmicfg -user level [user ID] [privilege] |
Change LAN mode
Check the current mode:
ipmitool./IPMICFG-Linux.x86_64 -raw 0x30 0x70 0x0c 0
The output will be one of these:
0x00 = Dedicated
0x01 = Onboard / Shared
0x02 = Failover
To set the mode to
Dedicated
ipmitool./IPMICFG-Linux.x86_64 -raw 0x30 0x70 0xc 1 1 0
ipmitool./IPMICFG-Linux.x86_64 -raw 0x30 0x70 0xc 1 1 1
Failover
ipmitool./IPMICFG-Linux.x86_64 -raw 0x30 0x70 0xc 1 0 0
IPMIView
ftp://ftp.supermicro.com/utility/IPMIView/
Install java JRE and open 'IPMIView20.jar' with the java bin
IPMITOOL
Set next boot to PXE for next boot
ipmitool -I lanplus -H {{ ipmi_ip }} -U ADMIN -P ADMIN chassis bootdev pxe
Set next boot to DISK for next boot
ipmitool -I lanplus -H {{ ipmi_ip }} -U ADMIN -P ADMIN chassis bootdev disk
Reboot host from IPMI
ipmitool -I lanplus -H {{ ipmi_ip }} -U ADMIN -P ADMIN chassis power cycle
Soft shutdown
ipmitool -H {{ ipmi_ip }} -v -I lanplus -UADMIN -P ADMIN chassis power soft