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

Homelab

371 readers
3 users here now

Rules

founded 1 year ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] HTTP_404_NotFound@alien.top 1 points 11 months ago (2 children)

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.