Update README.md

This commit is contained in:
ugnjhjf
2023-03-16 12:52:54 +08:00
committed by GitHub
parent df1b4e84d4
commit c1fe113f0b
+25 -22
View File
@@ -1,40 +1,42 @@
# ServerFanSpeedControl
1U,2U机架式服务器风扇调速
# ServerFanSpeedControl
1U,2U机架式服务器风扇调速
机型和iDRAC版本
使用机型:Dell PowerEdge R720
iDRAC版本:7
控制主机系统版本:CentOS 8 / Windows
$\color{#FF3030}{自行承担使用风险!!!}$
一、开启IPMI控制
机型和iDRAC版本
使用机型:Dell PowerEdge R720
iDRAC版本:7
控制主机系统版本:CentOS 8 / Windows
一、开启IPMI控制
==================================================================
iDRAC 7
1.进入System Setup界面
iDRAC 7
1.进入System Setup界面
开机的时候猛戳 F2 ,进入System Setup界面
![System Setup](https://img-blog.csdnimg.cn/20210417133901664.png)
2.进入iDRAC Settings
![iDRAC Settings](https://img-blog.csdnimg.cn/20210417134254886.png)
![iDRAC Settings](https://img-blog.csdnimg.cn/20210417134254886.png)
3.设置 IPMI 为 enabled
![IPMI](https://user-images.githubusercontent.com/128015241/225513933-2f728997-fc7c-417c-9d30-e5df5ad3cc61.png)
![IPMI](https://user-images.githubusercontent.com/128015241/225513933-2f728997-fc7c-417c-9d30-e5df5ad3cc61.png)
选择Network后往下拉,设置 IPMI 为 enabled
![Network](https://user-images.githubusercontent.com/128015241/225514012-3003977c-2961-4683-8d8c-8c615b6ed679.png)
![Network](https://user-images.githubusercontent.com/128015241/225514012-3003977c-2961-4683-8d8c-8c615b6ed679.png)
二、风扇调速
二、风扇调速
==================================================================
CentOS 8 用户
1.安装IPMI
CentOS 8 用户
1.安装IPMI
```
yum install epel-release -y
yum install ipmitool -y
yum install ipmitool -y
```
2.查看状态
2.查看状态
查看是否安装完毕:
```rpm -qa | grep ipmi```
![IPMI](https://img-blog.csdnimg.cn/20210417135438275.png)
![IPMI](https://img-blog.csdnimg.cn/20210417135438275.png)
3.进行风扇调速
3.1 启用手动调速
@@ -44,7 +46,7 @@ ipmi密码:登录iDRAC的密码,默认为 calvin
服务器地址: iDRAC的服务器IP,不是系统或虚拟机的IP
0x00 代表 禁用 手动调速 ; 0x01 代表 启用 手动调速
3.2 调整风速
3.2 调整风速
```
ipmitool -I lanplus -U ipmi用户名 -P ipmi密码 -H 服务器地址 raw 0x30 0x30 0x02 0xff 0x18
```
@@ -61,7 +63,7 @@ ipmitool -I lanplus -U ipmi用户名 -P ipmi密码 -H 服务器地址 raw 0x30 0
Windows用户
可以利用 @cw1997 大佬开发的软件:
https://github.com/cw1997/dell_fans_controller/releases/
https://github.com/cw1997/dell_fans_controller/releases/
User:登录iDRAC的用户名,默认为 root
@@ -71,8 +73,9 @@ Refresh Now: 获取目前所有风扇的转速和CPU温度等信息。
总结
总结
==================================================================
按上面的操作应该能给风扇调速了,第一次码字,希望能帮到大家。
按上面的操作应该能给风扇调速了,第一次码字,希望能帮到大家。
不妨点个星或者关注吧