ipmi settings for fans and etc.

I got a Lenovo RD450X server which now runs E5-2696 v3 (18 cores/36 threads) * 2 (in total it's 36 cores / 72 threads) and has 32GB DDR4 RAM at 2133Mhz.

It comes with a IPMI support. The IPMI has an 1Gbps ethernet connected to the router, and let's say the IP of IPMI is http://192.168.250.136/

The motherboard comes with 2 10Gbps ethernet ports originally. 

 

After I turn on the big server, it's really loud. So I have to turn the fans off using ipmi commands.

Checking fans speed and tune the speed

ipmitool -I lanplus -H 192.168.250.136 -U lenovo1 -P Lenovo123 raw 0x2e 0x31

The sound is loud and the result is

 00 64 64 64 01 64 64

64 means the fans is running at full speed (100%).

Forget about the first 00 , from left to the right, the digits indicate the speed of SYS_FAN1, SYS_FAN2, SYS_FAN3, SYS_FAN4, CPU_FAN0, CPU_FAN1

 

Now lets set the fan speed

1. set all at 100%

ipmitool -I lanplus -H 192.168.250.136 -U lenovo1 -P Lenovo123 raw 0x2e 0x30 00 00 100
0x2e 0x30 00 00 100
00 in red means all fans.
100 in blue color means 100%

 

And now you can check the speed of all fans by doing this

(base) ~ $ ipmitool -I lanplus -H 192.168.250.136 -U lenovo1 -P Lenovo123 raw 0x2e 0x31

00 64 64 64 64 64 64

00 64 64 64 64 64 64 means all 6 fans are running at 100% speed.

2. Set the first fan speed at 20%

ipmitool -I lanplus -H 192.168.250.136 -U lenovo1 -P Lenovo123 raw 0x2e 0x30 00 01 20

 

0x2e 0x30 00 01 20
01 in red means the 1st fan. Here it's the SYS_FAN1
20 in blue color means 20%

3. Example to set all fans, SYS_FAN1, 2, 3, 4 run at 20%, and CPU_FAN1, 2 run at 50%

(base) ~ $ ipmitool -I lanplus -H 192.168.250.136 -U lenovo1 -P Lenovo123 raw 0x2e 0x30 00 01 20 

(base) ~ $ ipmitool -I lanplus -H 192.168.250.136 -U lenovo1 -P Lenovo123 raw 0x2e 0x30 00 02 20

(base) ~ $ ipmitool -I lanplus -H 192.168.250.136 -U lenovo1 -P Lenovo123 raw 0x2e 0x30 00 03 20 

(base) ~ $ ipmitool -I lanplus -H 192.168.250.136 -U lenovo1 -P Lenovo123 raw 0x2e 0x30 00 04 20

(base) ~ $ ipmitool -I lanplus -H 192.168.250.136 -U lenovo1 -P Lenovo123 raw 0x2e 0x30 00 05 50

(base) ~ $ ipmitool -I lanplus -H 192.168.250.136 -U lenovo1 -P Lenovo123 raw 0x2e 0x30 00 06 50

 

And go to check the result

ipmitool -I lanplus -H 192.168.250.136 -U lenovo1 -P Lenovo123 raw 0x2e 0x31

the result is

 00 14 14 14 14 32 32

32 means half (50%) of 64.

14 means 21.9% (14/64=21.9%) of 64.

 Useful tutorials (in Chinese) : https://blog.csdn.net/wc000127/article/details/128156019

 

posted @ 2024-01-20 02:47  spaceship9  阅读(373)  评论(0编辑  收藏  举报