Install/Remove HP agents XenServer

Download de HP agent for Xenserver from the HP site: HP Agent

Look at the revision section to see if you have the latest version.

Go to the ILO site of the host which you would like to update/install, open an Integrated remote console session. Mount the HP agent ISO to the server.

 Enclosure Site

Once you mounted the ISO go to the console of the XenServer and use the following commands:

mount /dev/cdrom /mnt
mount: block device /dev/cdrom is write-protected, mounting read-only
cd /mnt
./install.sh

 Mount CDRom

After the install you need to reboot the XenServer in order to get the Agent started and ready for use.

When the Agent is started you can view the System Homepage using the following URL: https://%servername%:2381 or https://%serverIPaddress%:2381/ and login using the root account and password.

When you have problems viewing the site, look if the service is started

service hpsmhd status
hpsmhd is stopped or started

If the service is stopped edit the password file located at /etc/passwd on the host and add: hpsmh:!!:500:500::/opt/hp/hpsmh:/sbin/nologin

When you look at the Master and there the user is also missing then add the line on the master and reboot the slaves. All the slaves will get the new password file after a reboot.

To remove the SNMP Agent follow the previous steps but don’t use ./install.sh but ./remove.sh. 

Leave a Reply

Your email address will not be published. Required fields are marked *