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.

  • HTTP_404_NotFoundB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year 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.

    • yukiiiiii2008OPB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

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