Installing HP Proliant Support Pack (PSP) on Ubuntu 12.04

It took me a while to find the PSP for Ubuntu. It turns out that HP have renamed the old Proliant Support Pack to Management Component Pack.

We use HP ProLiant DL380 G6 servers and want to monitor the raid without using HP Insight software. You can either download the .deb files from the HP website:

However, it is much more convenient to add the HP Repository. Add the following to /etc/apt/sources.list:

deb http://downloads.linux.hp.com/SDR/downloads/MCP/ubuntu precise/current non-free

Download and add the repo keys to the system. The URL keeps changing and so there are a few choices before. The top on is the most likely to be the correct one.

wget http://downloads.linux.hpe.com/SDR/downloads/MCP/GPG-KEY-mcp
apt-key add GPG-KEY-mcp

or

wget http://downloads.linux.hp.com/SDR/downloads/MCP/GPG-KEY-mcp
apt-key add GPG-KEY-mcp

or

wget http://downloads.linux.hp.com/SDR/downloads/MCP/GPG-KEY-MCP
apt-key add GPG-KEY-MCP

Update apt-get:

apt-get update

If you want to monitor raid array then install hpacucli

apt-get install hpacucli

A basic report showing the status of your raid arrays is:

hpacucli ctrl all show config

An example output is:

Smart Array P410i in Slot 0 (Embedded)    (sn: 50123456789ABCDE)

   array A (SAS, Unused Space: 0  MB)

      logicaldrive 1 (273.4 GB, RAID 1+0, OK)

      physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 146 GB, OK)
      physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 146 GB, OK)
      physicaldrive 1I:1:3 (port 1I:box 1:bay 3, SAS, 146 GB, OK)
      physicaldrive 1I:1:4 (port 1I:box 1:bay 4, SAS, 146 GB, OK)

   array B (SATA, Unused Space: 0  MB)

      logicaldrive 2 (1.8 TB, RAID 1+0, OK)

      physicaldrive 2I:1:5 (port 2I:box 1:bay 5, SATA, 1 TB, OK)
      physicaldrive 2I:1:6 (port 2I:box 1:bay 6, SATA, 1 TB, OK)
      physicaldrive 2I:1:7 (port 2I:box 1:bay 7, SATA, 1 TB, OK)
      physicaldrive 2I:1:8 (port 2I:box 1:bay 8, SATA, 1 TB, OK)

   SEP (Vendor ID PMCSIERA, Model  SRC 8x6G) 250 (WWID: 50123456789ABCED)

Enjoy.

13 thoughts to “Installing HP Proliant Support Pack (PSP) on Ubuntu 12.04”

  1. A regression between Maverick and Natty (still present on 3.6.2 stock) gives kernel oops if you try to use hpacucli to modify the RAID configuration (as against just monitor it). E.g., hpacucli ‘ctrl slot=0 create type=ld drives=2I:1:6’ will land the kernel into
    INFO: task .hpacucli:14262 blocked for more than 120 seconds.
    “echo 0 > /proc/sys/kernel/hung_task_timeout_secs” disables this message.
    .hpacucli D 0000000000000001 0 14262 14255 0x00000000
    ffff8801f1a519e8 0000000000000082 ffff8801f1a51a08 ffff8801fc26d150
    ffff880212515b40 ffff8801f1a51fd8 ffff8801f1a51fd8 ffff8801f1a51fd8
    ffff880215d38000 ffff880212515b40 ffff880212515b40 ffffffffa0139d40
    Call Trace:
    [] schedule+0x29/0x70
    [] schedule_preempt_disabled+0xe/0x10
    [] __mutex_lock_slowpath+0xd7/0x150
    [] mutex_lock+0x2a/0x50
    [] cciss_unlocked_open+0x2e/0xd0 [cciss]
    [] __blkdev_get+0xe1/0x480
    [] blkdev_get+0x53/0x310
    [] ? unlock_new_inode+0x5c/0x90
    [] ? bdget+0x121/0x140
    [] add_disk+0x3f5/0x490
    [] cciss_add_disk+0x141/0x1b0 [cciss]
    [] rebuild_lun_table+0x7b7/0xa80 [cciss]
    [] do_ioctl+0x44f/0xd00 [cciss]
    [] ? mntput+0x26/0x40
    [] ? path_put+0x22/0x30
    [] ? path_openat+0x158/0x4d0
    [] ? getname_flags+0x37/0x100
    [] blkdev_ioctl+0xe0/0x7a0
    [] ? mntput_no_expire+0x49/0x160
    [] block_ioctl+0x40/0x50
    [] do_vfs_ioctl+0x98/0x550
    [] ? _raw_spin_lock_irq+0x15/0x20
    [] ? task_work_run+0x4c/0x90
    [] sys_ioctl+0x91/0xa0
    [] system_call_fastpath+0x16/0x1b

  2. Linux is case sensitive btw
    This line should be “apt-key add GPG-KEY-mcp” not “apt-key add GPG-KEY-MCP”,
    as it will not install the key otherwise.

    1. Thanks for your comment. I orginally had the key like you say but HP capitalised the key and not appear to have to change it back again.

  3. Pingback: hpacucli on HP ProLiant DL320e Gen8 with Ubuntu 12.04LTS 64bits | Ubuntu InfoUbuntu Info
  4. YOU SAVED MY AS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    THANKS!

    root@xxxx:/home/ppp# hpacucli ctrl all show config

    Smart Array P410i in Slot 0 (Embedded) (sn: 5001438010315060)

    array A (SAS, Unused Space: 0 MB)

    logicaldrive 1 (136.7 GB, RAID 1, OK)

    physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 146 GB, Predictive Failure)
    physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 146 GB, OK)
    physicaldrive 2I:1:5 (port 2I:box 1:bay 5, SAS, 146 GB, OK, spare)

    That way I know a view things about this server that helps me to plan the maintenance.

    1. Spare is configured!!!!!
    2. SAS 146GB

    Regards Ramon
    P.S.1: Possibly you should update the blog
    wget http://downloads.linux.hpe.com/SDR/downloads/MCP/GPG-KEY-mcp

Leave a Reply to Amat Ramon Cancel reply