ipmi notes

set up admin user

1
2
3
ipmitool 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 pxe

1
2
ipmitool -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 ipmitool

1
2
3
4
5
ipmitool 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 loaded

1
2
modprobe ipmi_devintf
modprobe ipmi_si

SuperMicro
check whether dedicated/failover/shared

1
ipmitool raw 0x30 0x70 0x0c 0

00 = Dedi

01 = Shared

02 = Failover

Change it

1
2
3
ipmitool raw 0x30 0x70 0x0c 1 0 
ipmitool raw 0x30 0x70 0x0c 1 1
ipmitool raw 0x30 0x70 0x0c 1 2

Check fan setting

1
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 overheat

1
ipmitool raw 0x30 0x45 1 #

Quanta # eat a bag of dicks

1
ipmitool raw 0x0c 0x01 0x01 0xff 0x00