Code Monkey home page Code Monkey logo

dell-fan-supervisor-esxi's Introduction

dell-fan-supervisor-esxi

Custom silent fan profile.

The script will check the CPU temperature ever 2 seconds. Fans will be set to manual and low RPM unless the temperature reaches the UPPER_TEMP value. Upon reaching the upper value, the iDRAC settings kick in and manual fan control is disabled.

Prerequisite

For this to work, the script relies on the ipmitool binary. Make sure to install the ipmitool.vib provided in the repository. The ipmitool.vib was compiled and packaged by: vsswitchzero

Build and Install

Customizations can be applied to the scripts. To build a new vib package, follow these steps:

  1. Update the SENSOR_ID value in the start_fan_supervisor.sh script. To get your sensor id run this after installing the ipmitool.
/opt/ipmitool/ipmitool sdr type temperature

Sample output:

Inlet Temp		| 04h | ok  |  7.1 | 26 degrees C
Temp			| 0Eh | ok  |  3.1 | 49 degrees C
Temp			| 0Fh | ok  |  3.2 | 52 degrees C

Select the sensor id to be monitored and update the SENSOR_ID value. 2. Modify the scripts to your needs. 3. Increment the version in stage/descriptor.xml 4. Run docker with vibauthor while mounting the code path in docker.

sudo docker run --rm -it -v '<path_to>/dell-fan-supervisor-esxi':'/data' lamw/vibauthor
  1. Change directory to the mounted one from above (i.e data)
cd /data
  1. Run the vibauthor tool to create the package
vibauthor -C -t fan_supervisor -v fan_supervisor.vib -O fan_supervisor-offline-bundle.zip -f
exit
  1. Enable SSH on the ESXi instance and copy the vib package.
scp fan_supervisor.vib <user>@<esxi_ip>:/tmp
  1. SSH into the ESXi instance and install the package
esxcli software vib install -v /tmp/fan_supervisor.vib -f

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.