HP ProLiant Management Component Pack on Ubuntu

0.00 avg. rating (0% score) - 0 votes

HP seems to have set up a package repository for Ubuntu 12.04, which is an improvement since I last checked a few years ago. To use the repo, add the following line to /etc/apt/sources.list:

Run “sudo apt-get update”.

You can install a number of software packages from the repository:

  • hpsmh: HP System Management Homepage
  • hp-smh-template: HP System Management Homepage Templates
  • cpqacuxe: HP Array Configuration Utility, web-based
  • hp-snmp-agents: Insight Management SNMP Agents for HP ProLiant Systems
  • hponcfg: RILOE II/iLO online configuration utility
  • hp-health: HP System Health Application and Command line Utility Package
  • hpacucli: HP Command Line Array Configuration Utility
  • ams: Agentless Monitoring Service for HP ProLiant Gen8 Systems

I installed the iLO configuration utility, System Health App and Array Configuration command line utility.

I couldn’t find a working GPG key so you need to press y or force package installation.

Useful Commands

You can blink the UID light with the hpuid command.

The hpasmcli is a tool to show and set various system parameters.

A command called “hplog” can be used to view the log:

And show system health information (fans, power supplies, temperatures):

Array Configuration Utility

The “hpacucli” is a Smart Array configuration tool. Some examples (the prompt is the =>):

The utility also understands commands directly from the command line:

E-mail Alerts

To get e-mail out of the system, I installed Postfix.

Select “Internet Site”. After installation, do a reconfiguration:

Select “Internet Site” again. Give your username as the recipient for root and postmaster.

Use the default destination list. No forcing of synchronous updates.

Next question is about where to accept mail from. The default is localhost only, which is good for my purposes, because this is not a proper mail server.

For the rest of the questions I just use defaults. For additional security, you can edit the /etc/postfix/main.cf and change the line

to:

Restart Postfix. To forward all important mail from the system to yourself, edit /etc/aliases:

Run command

Now you will get all root mail. I also like to change root full name, which will show up as the sender of the e-mail. This way I can see which host’s root is sending me mail.

 Hardware Health Check Script

For Smart Array checking, I wrote this little script and put it in /usr/local/sbin/smart_array_check:

For other hardware health checks I wrote this one and put it in /usr/local/sbin/hw_health_check:

Add both scripts to crontab with “crontab -e”:

That will run the checks four times a day and e-mail every time there is a failure.

Links:

5 thoughts on “HP ProLiant Management Component Pack on Ubuntu”

  1. I really wish that hp-health actually installed on Ubuntu 12.04 on my DL140 G3. Sadly doesn’t just keep getting

    Setting up hp-health (9.4.0.1.7-5.) …
    Trying to identify the Product Name…
    ERROR: This server is NOT supported!
    Error: No supported management controller found
    invoke-rc.d: initscript hp-health, action “start” failed.
    dpkg: error processing hp-health (–configure):
    subprocess installed post-installation script returned error exit status 1

    Any pointers as to why?

  2. Look in initscript hp-health and read comments. You will find the answer … Your server PSP compatible ? I think it is not complete …
    IMHO: HP servers have a lot of models of the ILO (I know ILO100, ILO , iLO2, ILO3, ILO4 in various series servers ) , and they do not have equal features.
    IMHO:Series DL100 usually have a ” lite version ” support functions .
    HP usually stops supporting the old series servers in the new versions of utilities , PSP, etc. (see for example relase notes for psp 8.50)
    You can try to install the HP-OpenIPMI and ipmitools and have something through IPMI (Google has the answers , how to do it ) . BUT it is not the same …
    I have the same problem with DL120G5 ( yes, I bought ILO100c for remote screen), but it does not give all that I wanted to have…
    I am saddened … (

  3. https://downloads.linux.hp.com/SDR/keys.html lists their keys, but *sigh*

    1. the instructions tell you to download the keys over unencrypted HTTP and blindly trust them *headdesk*
    2. the SSL configuration on downloads.linux.hp.com fails the Qualys SSL test because it’s EXPLOITABLE BECAUSE OF A VULNERABILITY TO CVE-2014-0224
    3. also they don’t serve the required intermediate certs so curl/wget barf
    4. the first of the three keys (“hpPublicKey1024.pub”) is expired, but is still listed as one of the keys to be installed
    5. even after you install all those keys, apt-get complains that the packages cannot be authenticated

Leave a Reply to Stefan Helm Cancel reply