HowTo: Install Proliant Support Pack on CentOS 4.4 (the easy way)
I want to keep our development environment as close to our production environment as possible. In production we are running RedHat ES 4 so that we have official support for our virtualization software. I don't want to pay the RedHat tax in the development environment so I have been running CentOS 4.4 for the host operating systems. The key for us to be able to do this is to have full hardware monitoring and notification by running the Proliant Support Pack (we run all HP hardware). All of the documents I've come across on the net seem to be overly complicated for this. So, here is an excerpt from my our build document and the "easy way" to install the PSP on CentOS 4.4:
- Install using the CentOS 4.4-Server CD and get the base OS/networking up and running.
- Update the OS to get the latest and greatest:
yum update
- Reboot the server and then install the packages we need to build and install PSP:
yum install rpm-build rpm-devel kernel-smp-devel kernel-devel gcc compat-db-4.1.25-9 compat-gcc-32-3.2.3-47.3 compat-libstdc++-296-2.96-132.7.2 compat-libstdc++-33-3.2.3-47.3 compat-gcc-32-c++-3.2.3-47.3
- Might as well download the latest PSP while we are using bandwidth:
wget ftp://ftp.compaq.com/pub/products/servers/supportsoftware/linux/psp-7.70.rhel4.linux.en.tar.gz
- Extract the psp:
tar xzvf psp-7.70.rhel4.linux.en.tar.gz
- We need to create some symbolic links to help the installer along:
cd /usr/src
ln -s kernels/2.6.9-42.0.8.EL-smp-i686/ linux-2.6.9-42.0.8.EL-smp
ln -s kernels/2.6.9-42.0.8.EL-i686/ linux-2.6.9-42.0.8.EL
- Next we want to trick the installer into thinking this is a RedHat install so edit the /etc/redhat-release file to be "Red Hat Enterprise Linux ES release 4 (Nahant Update 4)"
- Now just run the installer where you unpacked the PSP and you should be all set! If you want to change back your /etc/redhat-release file now you can.
Labels: centos redhat install
