2.6 KiB
HP-ILO-Fan-Control
Allows a Simple Fan Curve to be set using the custom ROM made by u/phoenixdev on Reddit. (linked below) This repo contains all of the required files! :)
All you need to run is the commands below.
Scripts are available for Linux and ESXi!
Thanks to @thomaswilbur for making the ESXi verstion of the script! - See README-ESXI.md.
STEPS:
-
Switch ILO into maintainance mode, then reboot. (On the DL360 G8, this is located near the backplane connectors to the motherboard.)
-
Download the
install.shscript and run it. This will download all required files and move them, installs theautofan.service, and downloads the correctautofan.shbased on your input ready to be edited. If you are an advanced user, you can install everything sperately. (Download usingwget https://raw.githubusercontent.com/That-Guy-Jack/HP-ILO-Fan-Control/main/Install.sh) -
Run the
prep.shin theilo_250folder. If this errors it may be beacuse the ILO isnt it maintainance mode. (You may need to run this script as root.)
./flash_ilo4 --direct
(When flashing the fans spin up to 100%, so be prepared)
-
Once the flash has completed, shut down your system and unplug it. Make sure to switch ILO back out of maintainance mode.
-
Configure
autofan.shin the / directory. Replace your password, your username, and your ILO ip with the correct info. Once done, save and exit. -
Run
systemctl daemon-reloadandsystemctl start autofanto activate the service. -
Create a crontab command to start the systemd service on startup:
@reboot systemctl start autofan. -
Enjoy silence! :) And if thats toO fast or slow, edit the autofan.sh to your needs.
Tested Servers:
1U Servers:
DL360p Gen8
2U Servers:
DL380p Gen8 DL380p Gen9 DL80 Gen9 - Tested by @rootless4real
Notes
- I recommend especially for the DL360 to add a small 40mm fan to the RAID controller to keep it cool.
- If you have the fan script working on a different server than what's listed in the tested server section, create a issue and I'll add it.
To-do
- Create a Script to Install and Create fan control scripts
- Allow easier input of ILO pramaters
- Make ESXI friendly version - Big thanks to @thomaswilbur for making the script and @TannerFilip for making a easier to use script!
- Add info about the security switch
- Allow users to input ILO paramaters when using
install.sh - Make the install.sh script have fun colours :D - added thanks to @TannerFilip
Links and other stuff
Original Reddit post: https://www.reddit.com/r/homelab/comments/hix44v/silence_of_the_fans_pt_2_hp_ilo_4_273_now_with/