ipmi notes
set up admin user1
2
3ipmitool user set name 2 $name
ipmitool user set password 2
ipmitool channel setaccess 1 2 ipmi=on callin=on privilege=4
Boot to bios or pxe1
2ipmitool -H 10.10.10.10 -U $user -P $pass chassis bootparam set bootflag force_bios
ipmitool -H 10.10.10.10 -U $user -P $pass chassis bootparam set bootflag force_pxe
set network info with ipmitool1
2
3
4
5ipmitool lan set 1 ipsrc static
ipmitool lan set 1 ipaddr $ip
ipmitool lan set 1 netmask $nm
ipmitool lan set 1 defgw ipaddr $gw
ipmitool lan set 1 vlan id $vl
if kernel modules aren’t loaded1
2modprobe ipmi_devintf
modprobe ipmi_si
SuperMicro
check whether dedicated/failover/shared1
ipmitool raw 0x30 0x70 0x0c 0
00 = Dedi
01 = Shared
02 = Failover
Change it 1
2
3ipmitool raw 0x30 0x70 0x0c 1 0
ipmitool raw 0x30 0x70 0x0c 1 1
ipmitool raw 0x30 0x70 0x0c 1 2
Check fan setting1
ipmitool raw 0x30 0x45 0 0
00 = Standard
01 = Full
02 = Optimal
04 = HeavyIO
Change fan setting
Use with much caution, this caused some boxes to just turn off their fans entirely and overheat1
ipmitool raw 0x30 0x45 1 #
Quanta # eat a bag of dicks
1 | ipmitool raw 0x0c 0x01 0x01 0xff 0x00 |