Another Dell IPMI Fan Control Script, 5 settings, both ESXI and Linux hosts Service scritps for either systemd or SysV
Please go to intel ARK for your CPU and check the
TDP (Thermal Design Power)
then subtract about 20-10 degrees C for returntoauto
this allows the BIOS to manage high temps
tested on R630 with e5-2697a V4
Monitor the temps and speeds to fine tune your system
on systemd just use journalctl -t fanctl to see what temp changes are triggered
Features
- Two versions, one for running directly on ESXI server and one for any linux host/guest
- Exapnd to 5 temp settings
- Retuturn to BIOS DELL BIOS/IPMI control when a threashold is reached
- ESXI specifc INIT file for stop/start/status/reload
- Output goes to syslog
- aded PID file
- Temp, ID, Server and other parms in a json file
- init script for systemd
- PEP 8 style guide
- Must have IPMITOOL installed
ubuntu/debian apt install ipmitool -y
ESXI - must find and install ipmitool vib and install. usaly in /opt/ipmitool
PIP is not required, using standard python libaries
Modify the use paramters in the .py file
Manualy just run fanctl.py to test (python3 ./fancctl.py)
DO NOT USE rc.local if your system is systemd, upgrade to current stack
Install fanctl.service to /etc/systemd/service
Install fanctl.py /root or anywhere you want to place this script
If you chagned the install from /root, then update the fanctl.service to correct location
Reload the service files to include the new service.
sudo systemctl daemon-reload
- Start your service
sudo systemctl start your-service.service - To check the status of your service
sudo systemctl status example.service - To enable your service on every reboot
sudo systemctl enable example.service
Modify the after section to a servcie you want to start after. This is setup for Proxmox ()
Put both esxifanctl.py and fanctlinit.sh int the same directory (maybe /opt/fanctl)
chmod +x fanctlinit.sh esxifanctl.py
./fanctl start
Install fanctlinit.sh to /etc/rc.local
All output is directed to syslog or syslog.log (esxi)
start message
temp threshold change messages with fan speed in hex