Install HP SMH with PSP on CentOS 5.5

This is a how-to for installing HP System Management Homepage (SMH) with ProLiant Support Pack (PSP) on CentOS 5.5

The HP System Management Homepage is a web-based interface that consolidates and simplifies the management of individual ProLiant and Integrity servers running Microsoft Windows or Linux operating systems. You can also use SMH with plugins (hpacucli) to monitor disk faults and failures on SmartArray RAID controllers too.

There are numerous documentations available from various source that can help you install SMH with PSP on Windows servers. However, there is practically nothing on the Internet for Linux servers. I will show you how to install these applications on a CentOS 5.5 x86_64 server. It should work for RHEL 5.5 x86_64. You could try the same for Fedora systems too, although no guarantee that it will work.

Please keep a note that I wrote this article on the 2nd April, 2011. I’ve tried to use the latest binaries wherever possible.

Login as root and perform all below actions as a superuser (either su/sudo or root login). To start, we create a directory called HP to store all our downloads:

mkdir hp
cd hp
wget ftp://ftp.hp.com/pub/softlib2/software1/pubsw-linux/p414707558/v63381/hpacucli-8.70-8.0.noarch.rpm
wget ftp://ftp.hp.com/pub/softlib2/software1/supportpack-linux/p323971208/v66272/psp-8.63.rhel5.x86_64.en.tar.gz
wget ftp://ftp.hp.com/pub/softlib2/software1/pubsw-linux/p1507410135/v64330/hpsmh-6.3.0-22.x86_64.rpm

We now extract the PSP archive. Delete the outdated HP-ACU-cli and SMH RPMs.

tar zxvf psp-8.63.rhel5.x86_64.en.tar.gz
rm -rf hpacucli-8.60-8.0.noarch.rpm
rm -rf hpsmh-6.2.2-2.x86_64.rpm

Now we install the RPMs. Please note to keep the same order of installation, otherwise it might fail due to dependencies.

yum install net-snmp
yum localinstall --nogpgcheck hp-health-* hpacucli-* hponcfg-*
yum localinstall --nogpgcheck hpsmh-*
yum localinstall --nogpgcheck hp-snmp-agents-* hp-smh-templates-* cpqacuxe-* hpdiags-*

Configure SNMP to be accessible by HP System Management Homepage. It is necessary that you enter the passphrase for the Read/Write and Read-Only access via localhost, otherwise SMH will not function properly. Also set the snmptrap passphrase.

/sbin/hpsnmpconfig

Enable the ACU to connect and be accessible via the SMH. This is the RAID controller’s information.

cpqacuxe --enable-remote

Start all services:

service hp-asrd restart
service hp-health restart
service snmpd restart
service hp-snmp-agents restart

Secure your System Management Homepage installation to be accessible only by your IP address (replace 127.0.0.1 with yours):

/opt/hp/hpsmh/sbin/smhconfig --autostart=true --iconview=true --ip-restricted-logins=true --ip-restricted-include=127.0.0.1

Start the HP System Management Homepage service.

service hpsmhd restart

Visit http://Your-Server-IP:2301/. This should automatically start the HP SMH server and redirect you https://Your-Server-IP:2381/. Use your root user and password to gain access to SMH.