- Need to temporarily switch to the CentOS Base Repo, and away from the Citrix Repo
- cd /etc/yum.repos.d/
- vi CentOS-Base.repo
- Change “enabled=0” to “enabled=1” this turns on this repo
- Change “gpgcheck=1” to “gpgcheck=0” this turns on signature checking for the repo, the key site that is listed in the repo does not exit anymore.
- vi Citrix.repo
- Change “enabled=1” to “enabled=0”
- yum install compat-libstdc++-296.i386
- Turn the CentOS repo off and the Citrix repo back on by reversing the changes in step 1 to 7.
- Download the following from the HP system management download page to /usr/src
- cpqacuxe-8.35-7.0.noarch.rpm – the array config utility
- hpacucli-8.35-7.0.noarch.rpm – the array config utility CLI
- hpadu-8.26-1.noarch.rpm – the array diagnostics utility
- hpsmh-6.1.0-103.i386.rpm – the systems manager homepage
- Trick the script into thinking that this is RHEL instead of CentOS.
- cp /etc/redhat-release /etc/xen-release – Making a backup copy.
- Vi /etc/redhat-release and change the line: "XenServer release xxxxxxxxx (xenenterprise)" To: "Red Hat Enterprise Linux AS release 4 (Nahant Update 1)"
- Save the changes and close the file
- rpm –ihv hpsmh-6.1.0-103.i386.rpm – install the system manager homepage.
- rpm –ihv hpadu-8.26-1.noarch.rpm – install the array diagnostics web app.
- rpm –ihv cpqacuxe-8.35-7.0.noarch.rpm – install the array configuration web app.
- rpm –ihv hpacucli-8.35-7.0.noarch.rpm – install the array configuration CLI.
- Reverse the changes done in step 15.
- mv /etc/xen-release /etc/redhat-release
- Edit the firewall ruleset and restart the firewall service.
- vi /etc/sysconfig/iptables
- Insert the following line before the deny all statement “-A RH-Firewall-1-INPUT –m state --state NEW –m tcp –p tcp --dport 2381 –j ACCEPT”
- Save and close the file
- service iptables restart
- Patch the diagnostics utility to work on Xen 5.5
- cp /usr/sbin/hpadu /usr/sbin/hpadu.bkp
- chmod 700 /usr/sbin/hpadu
- Now edit hpadu, locate the string "LD_ASSUME". I have to modify the complete section as follows (comment out every line by overwriting the first char)
- # 1. Don't set LD_ASSUME_KERNEL on SLES 10, RHEL5, or Debian 2.6
- #f
- #hen
- #xport LD_ASSUME_KERNEL=2.4.1
- #i
- Start the management services.
- service hpsmhd restart
- hpadu –start
- cpqacuxe –R
- You can view now from https://ipaddress:2381 – use the root credentials.
Monday, November 1, 2010
Install HP Systems Manager on Xen Server 5.5
Installing HP Systems Management Homepage and the Disk Diagnostics / Configuration Plug ins on a Citrix Xen server 5.5 – Bronson Magnan
Subscribe to:
Post Comments (Atom)
I love you so much right now. This just turned a really LONG weekend into a quick in and out trip. THANK YOU!
ReplyDelete