1

Currently, I use the following command to set the fan speed of the server after it starts up:

```

ipmitool -I lanplus -H 192.168.31.217 -U root -P calvin raw 0x30 0x30 0x01 0x00

ipmitool -I lanplus -H 192.168.31.217 -U root -P calvin raw 0x30 0x30 0x02 0xff 0x0a

```

The problem is whenever the server restarts, the fan speed will change back to its old state.

That's really a problem, for example, if I go out and the power goes out and then comes back on. There will be a huge noise made by the server before I get home.

top 4 comments
sorted by: hot top controversial new old
[-] diamondsw@alien.top 1 points 11 months ago

As others have implied, you need to have something run on startup that will execute that IPMI tweak again.

In my case ESXi auto-starts my VMs, one of which is a docker VM and it auto starts a container that does the IPMI tweak (and monitors temps and adjusts and all that).

You don’t need to layer it this deep, but fundamentally you need things to auto-start on boot, including this.

[-] HTTP_404_NotFound@alien.top 0 points 11 months ago

I personally, use a bash script, which runs as a daemon, that dynamically sets the fan speed based on temps.

So, under idle, the servers run nearly silent. Under load, the fans can spin up.

When the script/daemon stops, it restores the default fan curve.

[-] yukiiiiii2008@alien.top 1 points 11 months ago

Where do you put the script? I just want to fix the fan speed to 10% when the server power on.

[-] Vyerni11@alien.top 1 points 11 months ago

How I do it.

A bash script that runs on my Truenas Server that manages the fan speeds of my MD1200 and my server. Watches for temperatures and ramps accordingly.

this post was submitted on 21 Nov 2023
1 points (100.0% liked)

Homelab

371 readers
2 users here now

Rules

founded 1 year ago
MODERATORS