HP Array Configuration and Diagnostic Utilities on Linux

5.00 avg. rating (97% score) - 2 votes

Getting the HP Array Configuration Utility (ACU) and the Array Diagnostic Utility (ADU) for Linux to work was non-trivial. It does not seem to be supported anymore, but I managed to get it working on CentOS 5 running on an HP ProLiant DL185 G5.

First, install compatibility packages:

Then, download and install the packages HP provides:

The Array Configuration command line utility can be started with the command:

The utility itself is quite user-friendly, and the help seems to be good. Just type “help” and you will find commands to show and modify your arrays. Some examples:

The utility also understands commands directly from the command line:

To create a diagnostic report with the Array Diagnostic Utility, type:

That will create a detailed diagnostic report into the file “hpadu.report”. You can use that report to check what has failed in case you controller or array status is not OK.

I created a little script called “array_check” that can be added as a cron job to check that the array is healthy:

Just add the script as a cron job and configure your machine to e-mail you the output of cron jobs, and you will get an e-mail if the status of the array changes.

8 thoughts on “HP Array Configuration and Diagnostic Utilities on Linux”

  1. Hello,

    I hope I can find help here. First, sorry for my English.
    I am new to Linux and I have a Proliant DL180 G5 with Centos 5.2 on it.
    I have 2 Sata HDD on it, raid 1, hardware.
    When I make a rebuild (from Bios) I have to wait 180-240 minutes. Tell me please how can I make the rebuilding from Linux, because the downtime from bios rebuilding si very high. I don’t know what raid controller I have (Smart Array E200 or Embbeded Sata). How can I find?
    I try to install hpacucli with some steps from forums and I got this:

    hpacucli
    HP Array Configuration Utility CLI 7.70-12.0
    Detecting Controllers…Done.
    Type “help” for a list of supported commands.
    Type “exit” to close the console.
    => ctrl all show config detail
    Error: No controllers detected.

    Please help me.
    Thank you.
    Radu

  2. Hi Radu,

    Could it be that the embedded SATA controller is not supported by those tools? At least that’s what the error message might suggest…

  3. hi,

    it works for my dl180 + debian linux 4.0r5.
    but i use the latest hpacucli (8.10-2)

    if only tells me:
    Smart Array E200 in Slot ATTR_VALUE_SLOT_UNKNOWN

    but i can see the status of the array etc.

    mfg JAF

  4. Thanks Mikko.. I spent ages trying to get this to work on a DL385 with CentOS 5 (32-bit).
    The install install threw a bunch of errors – but it all works!

    Just had to swap the package hpsmh-2.1.7-168.linux.x86_64.rpm with hpsmh-2.1.7-168.linux.i386.rpm (for the 32-bit OS).

    Thanks,
    Cal

  5. I’ve tried using hpacucli 7.10 and now 8.10. I cannot get any controllers to show up, my system is an old machine with a Smart Array 431 in it.
    I’m doing this in debian following this forum http://debian.catsanddogs.com/component/option,com_smf/Itemid,41/topic,10.0/ for installing RPM packages into debian which works fine. I can actually get hpshm up and going, but again no controllers appear in either cpqacuxe or hpacucli.

    cpqarrayd is 2.3-1 (latest afaik)…..any ideas anyone ?

  6. Thank you so much! Followed your directions on a Compaq DL380 G2 running CentOS 4.7 and everything worked perfectly.

  7. Works on CentOS 5.4 and with HP ADU 8.35 🙂 battery needs to be changed but it works.. THANKS!

    => ctrl all show status

    Smart Array 5i in Slot 0 (Embedded)
    Controller Status: OK
    Cache Status: Not Configured

    Smart Array 6400 in Slot 1
    Controller Status: OK
    Cache Status: Temporarily Disabled
    Battery/Capacitor Status: Failed (Replace Batteries/Capacitors)

    Cheers,

    Jakub

  8. The hpsmh rpm package in the post is for 64-bit. If you are like me with the DL380 G3 (32-bit), you’ll want

    ftp://ftp.hp.com/pub/products/servers/supportsoftware/linux/hpsmh-2.1.7-168.linux.i386.rpm

    Also, if you use yum, you don’t need to install the compat packages, yum automatically chooses the best one.

    [root@alpha ~]# yum install hpacucli-7.70-12.linux.rpm hpadu-7.70-12.linux.rpm hpsmh-2.1.7-168.linux.i386.rpm

    mikko, thanks for the post. Excellent and worked the first time!

Leave a Reply