Install HP ProLiant Management Utilities

The HP ProLiant Support Pack (PSP) for Linux allows reading out hardware details from a HP ProLiant server. this set of tools can be used to read out hardware information, state and logs.

Install HP ProLiant Management Components

HP provides their utilities via Software Delivery Repositories, or SDR for short. These allow for easy installation and updates of the utilities. More details about the available repositories and supported distributions and versions can be found at the Software Delivery Repository page.

The SDR is supported on a number of Linux distributions. On Debian, create a new file in /etc/apt/sources.list.d/ with the following content. For this example, the name “hp-mcp.list” was chosen. The abbreviation MPC stands for the repository name “Management Component Pack”.

$ vim /etc/apt/sources.list.d/hp-mpc.list

For Debian and Ubuntu based systems, add the repository information as follows, replacing the highlighted section with the version name used. The Software Delivery Repository page describes the supported versions.

# HP Management Component Pack
deb http://downloads.linux.hpe.com/SDR/repo/mcp stretch/current non-free 

This will add the repository to the system. Before installing packages from this repository, the GPG-Key for this repository needs to be added. This can be done by downloading the keys as described on the Package Signature Verification page. HP suggests to enroll all their keys on the system to avoid any problems with packages built before a certain date. This is not necessary any more from my experience. Installing the most recent key, for builds after 2015, has proven sufficient so far.

$ curl http://downloads.linux.hpe.com/SDR/hpePublicKey2048_key1.pub | apt-key add -
OK

This command will download the GPG-Key from the HP website and install it on the system in order for apt to verify the package signatures. To retrieve the package list containing the packages from the newly added repository, run the the following command as usual.

$ apt-get update

With the package list loaded, the packages provided in the SDR repository can be installed. In the example below, the following package are installed:

  • hp-health – HPE System Health Application and Command line Utilities (Gen9 and earlier)
  • hponcfg – HPE RILOE II/iLO online configuration utility
$ apt-get install hp-health hponcfg

To verify the hp utilities are working, run them on the HP server and check their output. The “hpasmcli” utility from the hp-health package can be tested by requesting some of the sensor readings of the server. For more details please refer to the hpasmcli(4) man page.

The following command will list the available temperature sensors of the server and their current readings, as well as thresholds for each of them. Depending on the server generation and model, the number of sensors and their meaning can be different.

$ hpasmcli -s "SHOW TEMP"

Sensor   Location              Temp       Threshold
------   --------              ----       ---------
#1        I/O_ZONE             48C/118F   65C/149F 
#2        AMBIENT              23C/73F    40C/104F 
#3        CPU#1                30C/86F    95C/203F 
#4        CPU#1                30C/86F    95C/203F 
#5        POWER_SUPPLY_BAY     34C/93F    60C/140F 
#6        CPU#2                30C/86F    95C/203F 
#7        CPU#2                30C/86F    95C/203F 

Read more of my posts on my blog at https://blog.tinned-software.net/.

This entry was posted in Linux Administration and tagged , , , , , . Bookmark the permalink.