Giter VIP home page Giter VIP logo

dellfancontrol's Introduction

Fan Control program for Dell servers

Another Dell IPMI Fan Control Script, 5 settings, both ESXI and Linux hosts Service scritps for either systemd or SysV

WARNING - Temp ranges are specific to the TDP of my CPU


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

Still in progress - here is what is completed and works

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

Requirements

  • 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

Usage

Modify the use paramters in the .py file

Linux

 Manualy just run fanctl.py to test (python3 ./fancctl.py)

Systemd - Setup as a service



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 ()

ESXI


Put both esxifanctl.py and fanctlinit.sh int the same directory (maybe /opt/fanctl)
chmod +x fanctlinit.sh esxifanctl.py
./fanctl start

SysV - old school


Install fanctlinit.sh to /etc/rc.local

Output of program


All output is directed to syslog or syslog.log (esxi)
start message
temp threshold change messages with fan speed in hex

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.