Skip to content
Quick Start

Quick Start

By default the iDRAC runs a PowerEdge server’s fans. This guide sets up gpsu and hands it a server’s fans.

Before you start:

Set up gpsu

Make the seal key

The seal key encrypts the iDRAC passwords gpsu keeps:

openssl rand -base64 48 > /run/secrets/gpsu-seal-key

Warning

Back up the seal key. Without it, gpsu can’t decrypt the stored iDRAC passwords. See Seal Key.

To also sign in through an identity provider, see Sign-In and the API.

Start gpsu

Set the URL you open gpsu at and the seal key’s file. The startup settings list the others.

GPSU_PUBLIC_URL=http://127.0.0.1:8080 GPSU_SEAL_KEY_FILE=/run/secrets/gpsu-seal-key gpsu serve

On its first start, gpsu writes a setup code to its log. Each restart replaces the code until setup is done.

Set up the owner account

  1. Open http://127.0.0.1:8080 and choose Set up gpsu.
  2. Enter the setup code. Then choose your username and password.
  3. On My account, create an API token. The next step uses it.

Your account now owns gpsu and has the admin role.

Add a server

Add it

export GPSU_SERVER=http://127.0.0.1:8080 GPSU_TOKEN=gpsu_...
gpsu server add r730xd --host idrac.example --username gpsu --template balanced

gpsu server add prompts for the iDRAC password. --template sets the starting curve. Templates lists the others.

gpsu takes over the fans at its first reading. You don’t need to restart gpsu.

Check it

gpsu server test r730xd

The test shows the iDRAC’s firmware and every sensor. It marks the CPU, inlet, and exhaust sensors gpsu uses.

Open the server’s page. Its label reads Curve, and the charts show the temperatures and fan speeds at each reading.

Tune the curve

If the fans run louder or hotter than you want, edit the curve or pick another template.

Note

gpsu hands off the fans to the iDRAC whenever it can’t read the sensors and whenever it stops. How It Works explains each case.

To give the fans back to the iDRAC for a while, set a Hand off to iDRAC override.