IPMI commands and tricks

Most of this stuff is undocumented or very poorly documented, so hopefully this gets indexed and helps someone in the future

Adjust fan speeds on an x9 class Supermicro motherboard

sudo ipmitool raw 0x30 0x91 0x5A 0x3 0x10 0x10

The 0x30 0x91 0x5a 0x3 is a set command. The next set is the zone: 0x10 for CPU zone (FAN1,FAN2,...), and 0x11 for peripheral (FANA,FANB,...) The final one is the duty cycle, where 0xff is 100%

Sources:

ServeTheHome thread

SuperMicro FAQ [Broken]

Adjust fan speeds on x10 class SuperMicro motherboards

This probably also works for x11

0x30 0x70 0x66 Fan Control Manually (X10) Data1 0/1 (Get/Set) Data2 0/1 Region (CPU/peripheral) Data3 0-0x64 Duty cycle

Duty cycle is a percent in hex, therefore, max is 0x64, half is 0x32.

Get cpu fan speed: raw 0x30 0x70 0x66 0x00 0x00

Get chassis fan speed: raw 0x30 0x70 0x66 0x00 0x01

Set chassis fan speed to 75%: raw 0x30 0x70 0x66 0x01 0x01 0x48

ipmitool -I lan -H 172.21.0.110 -U username -P password raw 0x30 0x70 0x66 0x01 0x00 0x50