超微服务器主板的默认风扇策略很吵,家用的话噪音会很大,因此需要使用命令对其进行微调。
并且和机箱的结构和风道设计有关,但是默认的风扇策略会导致风扇转速忽快忽慢,有很烦人的提速降速过程,很吵。
修改方法
ipmitool 依赖于 openipmi,常见发行版都自带了这个包,直接使用包管理方式进行安装即可。
其帮助手册
sensor thresh <id> <threshold> <setting>
id : name of the sensor for which threshold is to be set
threshold : which threshold to set
unr = upper non-recoverable
ucr = upper critical
unc = upper non-critical
lnc = lower non-critical
lcr = lower critical
lnr = lower non-recoverable
setting : the value to set the threshold to
sensor thresh <id> lower <lnr> <lcr> <lnc>
Set all lower thresholds at the same time
sensor thresh <id> upper <unc> <ucr> <unr>
Set all upper thresholds at the same time
执行命令修改
ipmitool -H IP -U ADMIN -P PASSWORD sensor thresh FAN2 lower 150 250 300
执行后可见其提示信息,已经修改完成,修改后需要重启 BMC。
Locating sensor record 'FAN2'...
Setting sensor "FAN2" Lower Non-Recoverable threshold to 150.000
Setting sensor "FAN2" Lower Critical threshold to 250.000
Setting sensor "FAN2" Lower Non-Critical threshold to 300.000
查询方法
使用命令查询所有注册的风扇(忽略 -H 之类的远程参数)
ipmitool sdr type Fan
然后使用上述命令修改所有风扇参数即可,同时可以观察系统整体温度,后续根据温度进行微调。
补充
修改的策略可在 BMC 中看到:
参数 | 全称 | 含义 |
---|---|---|
Low NR | Lower Non-Recoverable | 不可恢复下限:当风扇转速低于此值时,系统认为风扇出现严重故障(如停转),可能触发不可恢复的警报或强制关机等极端保护措施。这是最低转速的“硬性”安全线。 |
Low CT | Lower Critical | 临界下限:若转速低于此值,系统会判定风扇处于临界故障状态(如转速不足),触发紧急干预(例如强制风扇全速运行)以防止过热。这是常见的“抽风”现象触发点。 |
High CT | Upper Critical | 临界上限:当转速高于此值时,系统可能认为风扇因高温而超速运转,触发高温警报。但此参数在服务器场景中较少被主动调整,通常与散热需求相关。 |
High NR | Upper Non-Recoverable | 不可恢复上限:若转速超过此阈值,系统可能认为存在异常高速(如风扇失控或散热系统失效),触发强制保护机制。此参数一般保留默认值。 |
附录
参考链接
本文由 柒 创作,采用 知识共享署名4.0
国际许可协议进行许可。
转载本站文章前请注明出处,文章作者保留所有权限。
最后编辑时间: 2025-05-12 16:23 PM