Update README.md

This commit is contained in:
brezlord 2020-09-04 10:33:02 +08:00 committed by GitHub
parent 2428d4b524
commit 4cbd7d8ba6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,23 +1,19 @@
# iDRAC7_fan_control # iDRAC7_fan_control
A simple script to control fan speeds on Dell generation 12 PowerEdge servers. <p>A simple script to control fan speeds on Dell generation 12 PowerEdge servers.<br>
If the inlet temperature is above 35deg C enable iDRAC dynamic control and exit program. If the inlet temperature is above 35deg C enable iDRAC dynamic control and exit program.<br>
If inlet temp is below 35deg C set fan control to manual and set fan speed to predetermined value. If inlet temp is below 35deg C set fan control to manual and set fan speed to predetermined value.<br>
The tower servers T320, T420 & T620 inlet temperature sensor is after the HDDs so temperature will The tower servers T320, T420 & T620 inlet temperature sensor is after the HDDs so temperature will be higher than the ambient temperature.</p>
be higher than the ambient temperature.
You can change the temperature set points in the script to sute your needs. <p>There is no warenty and you use this scrip at your own risk. Please ensure you review the temperature setpoints for your use case to ensure your hard drives are kept at your desiered temperature. You can change the temperature set points in the script to sute your needs.</p>
I use this script on a Dell T320 running TrueNAS 12 and it work great. You will need to create a data <p>I use this script on a Dell T320 running TrueNAS 12 and it work great. You will need to create a dataset for the script to recide in and make it excicutable, run chmod +x /mnt/tank/fan_control/fan_control.sh this assumes that you have a pool called tank and an dataset named fan_control.</p>
set for the script to recide in and make it excicutable, run chmod +x /mnt/tank/fan_control/fan_control.sh
this assumes that you have a pool called tank and an dataset named fan_control.
You can test the script by running ./fan_sontrol.sh from the scrips directory. If it is working you should <p>You can test the script by running ./fan_sontrol.sh from the scrips directory. If it is working you should get an output similar to this;<br>
get an output similar to this; <br>
Date 04-09-2020 10:24:52<br>
Date 04-09-2020 10:24:52 --> iDRAC IP Address: 192.168.40.140<br>
--> iDRAC IP Address: 192.168.40.140 --> Current Inlet Temp: 22<br>
--> Current Inlet Temp: 22 --> Temperature is below 35deg C<br>
--> Temperature is below 35deg C --> Disabled dynamic fan control<br>
--> Disabled dynamic fan control <br>
--> Setting fan speed to 20%</p>
--> Setting fan speed to 20%