/huawei-ibmc-fan-control

Systemd service to manually control fan speeds using iBMC in Huawei servers

Primary LanguageShellMIT LicenseMIT

Huawei iBMC Fan Control script

This repository contains an script and a SystemD service to periodically monitor CPU temperature and adjust fans.

How to Install

  1. Clone this repository
  2. Put your iBMC IP and SNMP community in the fancontrol.sh script.
  3. Modify temperatures or fan speeds in the script, if needed.
  4. Execute ./install.sh

Configure iBMC

In order for the script to be able to set the configuration of the fans, you need to enable SNMP v2c and configure a community key.

To do so:

  1. Log in into your iBMC
  2. Go to Configuration > System
  3. Enable SNMPv2c
  4. Put a password-like value in Read/Write Community and in the Confirm Read/Write Community fields.
  5. Save

Warning: Do not share your community value. It can be used to access your iBMC configuration and change it. It is a password.

Systems tested with:

  • Huawei RH2288H v3