Get and install the software first:
If you have XenServer 6.0, you can get it with the commands below.
cd /tmp
wget ftp://ftp.hpe.com/pub/softlib2/software1/pubsw-linux/p1980463820/v89068/hpsmh-7.3.0-9.i386.rpm
wget ftp://ftp.hpe.com/pub/softlib2/software1/pubsw-linux/p640342176/v80069/cpqacuxe-9.40-12.0.i386.rpm
rpm -ihv hpsmh-7.3.0-9.i386.rpm
rpm -ihv cpqacuxe-9.40-12.0.i386.rpm
For XenServer 6.5 you need 64-bit versions of these archives:
cd /tmp
wget http://downloads.linux.hpe.com/downloads/ManagementComponentPack/CentOS/5.0Server/x86_64/9.40/hpsmh-7.2.2-8.x86_64.rpm
wget http://downloads.linux.hpe.com/downloads/ManagementComponentPack/CentOS/5.0Server/x86_64/9.40/cpqacuxe-9.40-12.0.x86_64.rpm
rpm -ihv hpsmh-7.2.2-8.x86_64.rpm
rpm -ihv cpqacuxe-9.40-12.0.x86_64.rpm
And for XenServer 7+:
cd /tmp
wget http://downloads.linux.hpe.com/downloads/ManagementComponentPack/CentOS/7.2Server/x86_64/10.50/hpsmh-7.6.0-11.x86_64.rpm
wget http://downloads.linux.hpe.com/downloads/ManagementComponentPack/CentOS/5.0Server/x86_64/9.40/cpqacuxe-9.40-12.0.x86_64.rpm
rpm -ihv hpsmh-7.6.0-11.x86_64.rpm
rpm -ihv cpqacuxe-9.40-12.0.x86_64.rpm
After installing the software for your version of XenServer, make sure ACU traffic is allowed:
vi /etc/sysconfig/iptables
Search for:
-A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited
Insert the line below right before the line found:
-A RH-Firewall-1-INPUT -p tcp -m state --state NEW -m tcp --dport 2381 -j ACCEPT
Restart iptables:
service iptables restart
Start the GUI tools
/etc/init.d/hpsmhd start
cpqacuxe -R
Access HP Array Config Utility through:
https://xenserver:2381/ACU-XE/ACU.htm
You should be able to login using your root-account and the password you set for it.
Update 26-09-2015: Added instructions for XenServer 6.5. Thanks Juergen!
Hello,
I followed your instructions.
Installed fine.
BUT I am unable to load the web interface.
Any suggestions
Thank you
Hi again.
The problem was that you need to Restart the firewall service:
# service iptables restart
and then type at your browser
https://xenserverip:2381/
abd you can see the hp array configuration interface.
I tried and it works!!! Thanks for the info!!!
Hi,
I followed all instructions but get an error “AH00558: hpsmhd: Could not reliably determine the server’s fully qualified domain name, using 192.168.8.231”
All the hints pointing to apache configuration failed.
Maybe there is an easy solution?
Thank you very much.
Hi Stephan,
The apache module, that’s part of the package always comes up with that message and it is a warning that can be ignored. It should still work though.
Btw, I noticed the the tricks I described in the blog also don’t play nice with XenServer 6.5. I guess it’s time to consider this information outdated. I’m sorry about that.
Cheers,
Jan
How can it work with Xen server 6.5? It is 64 bit. I cant find the HP cpqacuxe 64bit.
i found a solution for Xenserver 6.5 64bit.
Use these files:
http://downloads.linux.hp.com/downloads/ManagementComponentPack/CentOS/5.0Server/x86_64/9.40/cpqacuxe-9.40-12.0.x86_64.rpm
http://downloads.linux.hp.com/downloads/ManagementComponentPack/CentOS/5.0Server/x86_64/9.40/hpsmh-7.2.2-8.x86_64.rpm
Same installation.
Works fine in my Xenserver 6.5
Thanks for leaving your comment ,Juergen. I have updated the blog post accordingly.
Thanks for this item, I’m almost there, but when I give the start hpsmhd command I get this error:
[[email protected]]# /etc/init.d/hpsmhd start
bash: /etc/init.d/hpsmhd: No such file or directory
In the init.d directory there’s no hpsmhd item.
What went wrong?
It’s Xen 6.5 on a HP Proliant DL380G6 by the way.
Ah wait, there’s an error above:
Detected Xen Server 6.5.0-90233c
The zlib package or binaries are missing!
Please install the zlib-1.1.4 or later RPM package.
Required Packages are missing!
error: %pre(hpsmh-7.3.0-9.i386) scriptlet failed, exit status 1
error: install: %pre scriptlet failed (2), skipping hpsmh-7.3.0-9
[[email protected] tmp]# rpm -ihv cpqacuxe-9.40-12.0.i386.rpm
error: Failed dependencies:
libc.so.6 is needed by cpqacuxe-9.40-12.0.i386
libc.so.6(GLIBC_2.0) is needed by cpqacuxe-9.40-12.0.i386
libc.so.6(GLIBC_2.1) is needed by cpqacuxe-9.40-12.0.i386
Installed HP SNMP Agents and HP Systems Management Homepage on XenServer, now it works!
Good to hear that you got it to work Jarno! 🙂
Great article. Does exactly what is says on the tin!
in your steps for 6.5 I notice you use a different version of the hpsmh in the wget command compared to the rpm command when installing the file. I suspect you mean to reference the file juergen mentions and in the wget .
6.5 should show to run
rpm -ihv hpsmh-7.2.2-8.x86_64.rpm
Thanks for letting me know Steve. I’m afraid I did some bad copying and pasting some time ago. I’ve corrected the post using your input. Excellent! 🙂
Cheers,
Jan
Time to update the URLs from hp.com to http://downloads.linux.hpe.com
I wonder why you use the CentOS packages for Xenserver 6.5? I thougt 6.5 was Redhat based. I did not get it to work on a Proliant DL180 G9. It installed and I could access the website, but the tool could not find the controller and disks.
Thanks very much! Works perfectly!
Change links to downloads.linux.hpe.com
Installed in xpc-ng 8.2 on hp dl380 gen 6. and in Xenserver 7.1 on hp dl380 gen 6.
It works fine. But after a reboot cpqacuxe not start and I must lunch again it from a console.
There is an option for make it persistent?
I have tried to put it in /etc/rc.d/rc.local but with no success.
here te content of rc.local
# THIS FILE IS ADDED FOR COMPATIBILITY PURPOSES
#
# It is highly advisable to create own systemd services or udev rules
# to run scripts during boot instead of using this file.
#
# In contrast to previous versions due to parallel execution during boot
# this script will NOT be run after all other services.
#
# Please note that you must run ‘chmod +x /etc/rc.d/rc.local’ to ensure
# that this script will be executed during boot.
touch /var/lock/subsys/local
cpqacuxe -R