Notes to Self

Alex Sokolsky's Notes on Computers and Programming

Note on IPMI Config

This helped to lower the fan rpm threshold - something the SuperMicro IPMI web GUI could not do:

ipmitool -I lan -U ADMIN -H 10.0.0.4 sensor thresh FAN1 lower 150 225 300

More:

Playing with ipmitool:

[alex@nass ~]$ ipmitool -I lan -U XXX -P XXX -H 192.168.1.35 sdr elist full
CPU Temp         | 01h | ok  |  3.1 | 54 degrees C
System Temp      | 0Bh | ok  |  7.11 | 55 degrees C
Peripheral Temp  | 0Ch | ok  |  7.12 | 36 degrees C
DIMMA1 Temp      | B0h | ok  | 32.64 | 42 degrees C
DIMMA2 Temp      | B1h | ns  | 32.65 | No Reading
DIMMB1 Temp      | B4h | ns  | 32.68 | No Reading
DIMMB2 Temp      | B5h | ns  | 32.69 | No Reading
FAN1             | 41h | ok  | 29.1 | 500 RPM
FAN2             | 42h | ns  | 29.2 | No Reading
FAN3             | 43h | ns  | 29.3 | No Reading
FANA             | 44h | ns  | 29.4 | No Reading
12V              | 30h | ok  |  7.48 | 12.51 Volts
5VCC             | 31h | ok  |  7.49 | 5.08 Volts
3.3VCC           | 32h | ok  |  7.50 | 3.45 Volts
VBAT             | 33h | ok  |  7.51 | 3.20 Volts
Vcpu             | 34h | ok  |  3.52 | 1.02 Volts
VDIMM            | 35h | ok  | 32.53 | 1.23 Volts
PVCCSRAM         | 36h | ok  |  7.54 | 1.04 Volts
P1V05_A          | 37h | ok  |  7.55 | 1.06 Volts
5VSB             | 38h | ok  |  7.56 | 4.95 Volts
3.3VSB           | 39h | ok  |  7.57 | 3.35 Volts
PVNN             | 3Ah | ok  |  7.58 | 0.83 Volts
PVPP             | 3Bh | ok  |  7.59 | 2.71 Volts
P1V538_A         | 3Ch | ok  |  7.60 | 1.55 Volts
1.2V BMC         | 3Dh | ok  |  7.61 | 1.23 Volts
PVCC_REF         | 3Eh | ok  |  7.62 | 1.28 Volts
Chassis Intru    | AAh | ok  | 23.1 |

[alex@nass ~]$ ipmitool -I lan -U XXX -P XXX -H 192.168.1.35 sdr entity 3
CPU Temp         | 01h | ok  |  3.1 | 55 degrees C
Vcpu             | 34h | ok  |  3.52 | 1.02 Volts
[alex@nass ~]$ ipmitool -I lan -U XXX -P XXX -H 192.168.1.35 sdr entity 3.1
CPU Temp         | 01h | ok  |  3.1 | 54 degrees C
[alex@nass ~]$ ipmitool -I lan -U XXX -P XXX -H 192.168.1.35 sdr entity 29.1
FAN1             | 41h | ok  | 29.1 | 600 RPM
[alex@nass ~]$ ipmitool -I lan -U ADMIN -P ADMIN -H 192.168.1.35 sdr type temperature
CPU Temp         | 01h | ok  |  3.1 | 54 degrees C
System Temp      | 0Bh | ok  |  7.11 | 55 degrees C
Peripheral Temp  | 0Ch | ok  |  7.12 | 37 degrees C
DIMMA1 Temp      | B0h | ok  | 32.64 | 42 degrees C
DIMMA2 Temp      | B1h | ns  | 32.65 | No Reading
DIMMB1 Temp      | B4h | ns  | 32.68 | No Reading
DIMMB2 Temp      | B5h | ns  | 32.69 | No Reading

With some output grooming:

alex@latitude7490:~/ > ipmitool -I lan -U ADMIN -P PASSWORD -H nass-ipmi sdr elist full|egrep -E "degrees|RPM"| awk -F '|' '{print $1":"$5}'
CPU Temp         : 33 degrees C
System Temp      : 47 degrees C
Peripheral Temp  : 32 degrees C
DIMMA1 Temp      : 36 degrees C
DIMMA2 Temp      : 33 degrees C
DIMMB1 Temp      : 36 degrees C
DIMMB2 Temp      : 36 degrees C
FAN1             : 1800 RPM
FAN3             : 1100 RPM
FANA             : 900 RPM

Setting Fan Speed

Get the current fan duty value from CPU-zone (0x00), then peripheral-zone (0x01).

alex@latitude7490:~$ ipmitool -I lan -U ADMIN -P PASSWORD -H 192.168.11.22 raw 0x30 0x70 0x66 0x00 0x00
 14
alex@latitude7490:~$ ipmitool -I lan -U ADMIN -P PASSWORD -H 192.168.11.22 raw 0x30 0x70 0x66 0x00 0x01
 14

Change case fan duty:

alex@latitude7490:~$ ipmitool -I lan -U ADMIN -P PASSWORD -H 192.168.11.22 raw 0x30 0x70 0x66 0x01 0x00 0x10

alex@latitude7490:~$ ipmitool -I lan -U ADMIN -P PASSWORD -H 192.168.11.22 raw 0x30 0x70 0x66 0x00 0x01
 14
alex@latitude7490:~$ ipmitool -I lan -U ADMIN -P PASSWORD -H 192.168.11.22 raw 0x30 0x70 0x66 0x00 0x00
 10

And then:

alex@latitude7490:~$ ipmitool -I lan -U ADMIN -P PASSWORD -H 192.168.11.22 raw 0x30 0x70 0x66 0x01 0x01 0x10

alex@latitude7490:~$ ipmitool -I lan -U ADMIN -P PASSWORD -H 192.168.11.22 raw 0x30 0x70 0x66 0x00 0x00
 10
alex@latitude7490:~$ ipmitool -I lan -U ADMIN -P PASSWORD -H 192.168.11.22 raw 0x30 0x70 0x66 0x00 0x01
 10

Apparently control works only in FULL mode.

#set fan mode to "full"
ipmitool raw 0x30 0x45 0x01 0x01

#set fans in "system" zone to lower duty
alex@latitude7490:~$ ipmitool -I lan -U ADMIN -P PASSWORD -H 192.168.11.22 raw 0x30 0x70 0x66 0x01 0x00 0x10