2008-03-03

Fan control on HP Proliant ML370 G3

I have a HP Proliant ML370 G3 at school running Ubuntu 7.10 . One of the biggest issues with the server is that it is in classroom and the fans running at high speed making noise.

Found some info about this on the net, but everyone seemed to using alien to convert RPMs for Red Hat to Ubuntu (or Debian). I found Debian packages at HP's website and this is how i lowered my fans in the server.

  1. Go to hp.com and select Debian 4.0 (Etch) - HP ProLiant Value Add Software i386 .
  2. Fill in the form and select hpasm-7.8.0-100.etch26.i386.deb in Software Specification .
  3. Download the file to the server.
  4. hpasm needs snmpd and libstdc++2.10-glibc2.2 installed:
    $ sudo apt-get install snmpd libstdc++2.10-glibc2.2
  5. Install hpasm:
    $ sudo dpkg -i hpasm-7.8.0-100.etch26.i386.deb
  6. Of some reason Ubuntu uses the shell DASH instead of BASH. That created the following error message: /opt/compaq/hpasm/etc/foundation.functions: 502: Syntax error: Bad substitution . Solution for this is to change the symbolic link /bin/sh to /bin/bash:
    $ sudo rm /bin/sh
    $ sudo ln -s /bin/bash /bin/sh
  7. Start hpasm :
    $ sudo /opt/compaq/hpasm/etc/hpasm start
Note that the error descibed in 6 is if you don't relink /bin/sh to /bin/bash.

2 kommentarer:

Anonym sa...

Hi, thank for you help!

But you don't need to remove and create /usr/bin/sh by hand, you can install galternatives and select bash as default shell.

Tails sa...

Thanks! Works great on ubuntu server 11.04 on a HP Proliant 370 ML G3 :)