SUSE Conversations

HP Proliant Support Pack on SLES 10


By: variia

January 28, 2009 11:16 am






ProLiant Support Packs (PSP) represent operating system (OS) specific bundles of ProLiant optimized drivers, utilities, and management agents for HP ProLiant hardware and available for SUSE Linux Enterprise Server 10.

It includes utilities to query, modify, etc. your BIOS, perhaps your SmartArray configuration or your HP SAN LUNs. Besides these, it includes SNMP agents to monitor the hardware and email the system administrator in case of a failure.

Keep it simple

Don’t try to fix the non existing problem, install only the packages you really need. I prefer the stock SUSE drivers and only install HP ones if I experience compatibility problems or require a certain feature not provided by the stock driver. I usually install the monitoring components and some command line utilities such as:

HP Proliant Channel Interface
HP System Health Application
HP SNMP agents
HP System Management Homepage

If you have local RAID arrays configured via HP SmartArray then additionally:

HP Array Configuration Utility
HP Array Configuration Utility CLI
HP Array Diagnostics Utility
HP Array Diagnostics Online Edition


Get the right package for your architecture (32/64bit) from the link above then extract the tarball followed by executing the installer shell script as shown. Without parameters it would fire up the GUI but WARNING: if you do this through shell and X11 forwarding is not enabled, the installer script will not be able to open the GUI and as a result will carry out full CLI installation of all packages available for your hardware!

sles10:~ # tar zxf psp-8.11.sles10.i686.en.tar.gz 
sles10:~ # cd compaq/csp/linux
sles10:~/compaq/csp/linux # ./

Otherwise you could do unattended or scripted install (only for experienced users):

sles10:~/compaq/csp/linux # ./ --help

I recommend unselecting everything (GUI) then re-selecting just what you need. It’s smart enough to mark all dependent packages too automatically. Don’t you worry, you will not miss anything out of the installation. The process takes a little while, be patient you will get a nice report about it.

SNMP agents

It depends on the stock snmp service which comes with the standard SLES 10 installation anyway hence I will not cover this in this guide. Luckily the HP agents need no configuration anymore, they work out of the box with the SUSE snmp service, some minor fixes are essential though. The installer sets the necessary services up for boot, puts necessary LSB scripts into the right place but one of them has a typo!

I tried my best to get this fixed by HP people, seem they either ignore this completely or think I’m wrong hence we need to fix this ourself.

SUSE LSB scripts use headers to describe what they provide, what they depend on, etc. It’s essential for the OS to start the services in the right order, in our case the SUSE snmpd service must start before the HP agents, makes sense right?

We must ensure that when we refer to another dependent service in LSB script headers we use the name in the Provides: field not the name of the LSB script! It’s commonly identical but not always!

sles10:~ # grep Provides /etc/init.d/snmpd 
# Provides:            net-snmp snmp

sles10:~ # grep Required-Start /etc/init.d/hp-snmp-agents 
# Required-Start:      hp-health snmpd

Hope you see the problem above. The solution is now obvious, correct LSB script:

sles10:~ # grep Required-Start /etc/init.d/hp-snmp-agents 
# Required-Start:      hp-health snmp

With the wrong script, snmpd service actually starts after the agents which causes improper operation and error messages sent to the root user.

After the fix you have to reconfigure the service to correct the startup orders:

sles10:~ # insserv hp-snmp-agents

These agents will monitor your hardware and warn you by email as soon as the failure occurs. To get these emails in time I usually forward the root email messages to myself or to a group of people:

sles10:~ # vi /etc/aliases
sles10:~ # newaliases

System Management Home Page

It installed a web frontend as well what you can reach on a certain port of your host for example:

You can initially log in with the root account of your local server only then query your hardware, look at system health, etc. It may be handy to gather information about a failed component (if any) if you are not familiar with the CLI utilities.

Kernel updates

These are fairly safe nowadays even if some components compiled to the running kernel only. What happens is that components realize the new kernel and give errors on console after first reboot but in the meantime they actually rebuild themselves. Double reboot should make your console errors disappear for sure.

SNMP agents on XEN host

On XEN host we have issues with the stock snmpd service because it starts before xend in default. It generates similar errors as discussed earlier due to xend modifies the networking and creates software bridges on the physical interfaces. To avoid issues on XEN host we need to make the snmpd service dependent of xend service in similar fashion as before:

sles10:~ #  grep Required-Start /etc/init.d/snmpd
# Required-Start:      $network xend
sles10:~ #  insserv snmpd
0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this post.

Tags: , , ,
Categories: SUSE Linux Enterprise Server, Technical Solutions

Disclaimer: As with everything else at SUSE Conversations, this content is definitely not supported by SUSE (so don't even think of calling Support if you try something and it blows up).  It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.

1 Comment

  1. By:e_schmidlin

    Important documentation about manual /automatic install of HP Agents “man hp_mgmt_install”

    This option enables SNMP support plus the ability to view gathered date via a web browser user interface. To enable
    this option do the following.

    1 Install hp-OpenIPMI or insure the stock IPMI driver is available.
    2 Install hp-health
    3 Install hp-snmp-agents
    4 Configure SNMP by running “hpsnmpconfig”
    5 Install hpsmh and Configure hpsmhd(see the hpsmh documentation for configuration options)
    6 Install hp-smh-templates
    7 reboot the server or run
    /etc/init.d/snmpd restart
    /etc/init.d/hp-snmp-agents start
    /etc/init.d/hpsmhd start

    from the system you prepared like this save the following files needed for the automatic installation “/etc/hp-snmp-agents.conf” and “/usr/local/hp/hpsmh.cfg”

    Automatic install
    1 Install hp-OpenIPMI or insure the stock IPMI driver is available.
    2 Install hp-health
    3 copy Template “/etc/hp-snmp-agents.conf” and “/usr/local/hp/hpsmh.cfg” to the server and export variable “HPSMHSILENT=true”.
    4 Install hp-snmp-agents
    5 Install hpsmh and Configure hpsmhd(see the hpsmh documentation for configuration options)
    6 Install hp-smh-templates
    no warranty that the steps are 100% correct, but my first tests where positiv.