Files
dell-fans-controller-docker/README.md
joestar817 d2b20168c4 init commit
2024-05-19 22:38:21 +08:00

41 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
### dell-fans-controller-docker
#### 项目说明
本项目通过python脚本调用ipmitool来自动调整Dell R730服务器的风扇转速并打包为docker镜像。
适用于在R730上搭建all in one服务场景docker镜像可运行在pve、群晖或其它支持docker的环境中
#### 使用说明
1. 请登录idrac打开ipmi服务
2. 运行以下命令
```
docker run -d --name=dell-fans-controller-docker -e HOST=192.168.1.1 -e USERNAME=root -e PASSWORD=password --restart always joestar817/dell-fans-controller-docker:latest
```
#### 代码说明
脚本首先通过ipmitool来获取 **进出口温度和CPU核心温度**,再通过其中的最大值来判断调整服务器的风扇转速
运行间隔为每60秒运行一次
| 温度(℃) | 风扇转速(%) |
|-------|--------------------|
| 0-50 | 10 |
| 50-55 | 20 |
| 55-60 | 30 |
| 60-65 | 40 |
| >65℃ | 设置为自动模式由idrac自动调速 |
#### 免责声明
手动调整风扇转速有一定的风险导致服务器过热损坏,请谨慎操作,对此使用此项目引发的任何问题,概不负责