Skip to content

About

This interactive prompt script is to set idrac fan speed to manual control and give a fixed value .

Topics

Resources

Contributing

Stars

11 stars

Watchers

1 watching

Forks

Repository files navigation

iDRAC Fan Speed Control

English · 繁體中文 · Public container images

Control Dell PowerEdge fans using iDRAC temperature sensors, ESXi NVMe SMART, Linux disks, or NVIDIA GPUs. Set up, diagnose, monitor, and run the controller from the same image.

Quick Start

Try the dashboard with simulated data before connecting a server. Press q to quit. latest tracks the default branch. To try a pull request preview, use its pr-<number> tag in the demo and setup.

docker run --rm -it ghcr.io/df-wu/idrac-fan-control:latest monitor --demo

Use a Linux Docker host that can reach iDRAC over UDP 623. Enable IPMI over LAN and use an account with permission to control the fans. The maintainer tested a PowerEdge R730xd with iDRAC 8. OEM fan commands vary with model and firmware, and community tests report that iDRAC 9 firmware 3.34.34.34 and later reject these commands. Dell iDRAC8 IPMI settings · Community compatibility notes

  1. Pull the image and open setup. Run steps 1–4 in the same terminal and installation directory so each command uses the same image and configuration.

    mkdir -p idrac-fan-control
    cd idrac-fan-control
    image=ghcr.io/df-wu/idrac-fan-control:latest
    docker pull "$image"
    mkdir -p -m 700 config logs
    docker run --rm -it --network host \
      -v "$PWD/config:/config" "$image" setup

    Choose Quick setup wizard and enter the iDRAC address and credentials. Under temperature sources, choose iDRAC sensors only, confirm the configuration, then choose Save and exit. The wizard writes config/.env with mode 600. Keep that file private. Add disk or GPU monitoring after the iDRAC-only setup works. Device discovery and mappings

  2. Check the connection and temperature readings. Continue once the read-only diagnosis reports PASS for the iDRAC connection, each enabled source, and the decision preview. If any check fails, use the diagnostic output to fix it before proceeding. Troubleshooting

    docker run --rm --network host -v "$PWD/config:/config:ro" "$image" diagnose
  3. Verify manual control and restore. Keep the iDRAC UI open during a supervised maintenance window. Briefly command full fan speed and observe RPM.

    docker run --rm --network host -v "$PWD/config:/config:ro" "$image" manual 100

    Run this separate command even if the preceding write fails. Confirm Dell automatic control and the fan response in iDRAC before proceeding.

    docker run --rm --network host -e DRY_RUN=false \
      -v "$PWD/config:/config:ro" "$image" restore
  4. Start the controller. Check the first fan decision and observe temperatures under normal load before leaving it unattended.

    docker run -d --name idrac-fan-control --restart unless-stopped \
      --stop-timeout 120 --network host \
      -v "$PWD/config:/config:ro" -v "$PWD/logs:/var/log/fan-control" \
      "$image" auto
    docker logs -f idrac-fan-control

    Press Ctrl+C to exit the log viewer. docker ps --filter name=idrac-fan-control shows the container's health. It becomes healthy after a successful automatic cycle, which can include a fail-safe cycle. Check the logs for sensor failures and iDRAC for actual fan RPM. Service health

Watch or stop the controller

Open the live dashboard from the installation directory after the first control cycle. Use the local image ID of the running controller so the command also works in a new terminal.

image="$(docker inspect --format '{{.Image}}' idrac-fan-control)"
docker run --rm -it -v "$PWD/config:/config:ro" \
  -v "$PWD/logs:/var/log/fan-control:ro" "$image" monitor

Stop the service from the installation directory before restoring Dell automatic control. Use the address and credentials for the server the controller was running against. If you changed the configuration after startup, use the saved original configuration or restore in that server’s iDRAC UI. Confirm the fan mode and temperatures in iDRAC. Recovery details

image="$(docker inspect --format '{{.Image}}' idrac-fan-control)"
docker stop idrac-fan-control
docker run --rm --network host -e DRY_RUN=false \
  -v "$PWD/config:/config:ro" "$image" restore

Deployment guides

MIT license

About

This interactive prompt script is to set idrac fan speed to manual control and give a fixed value .

Topics

Resources

Contributing

Stars

11 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages