How to configure the PSP to load only the necessary PSP packages, configure SNMP, and install from the command line with no human interaction.
This page is for PSP versions that use hppldu to install the packages (PSP's prior to, but not including, 8.40) . For PSP's 8.40, and higher, see the page Proliant Linux Manual PSP Installation Using HPSUM.
Here's how to configure the PSP to load only the necessary PSP packages, configure SNMP, and install from the command line with no human interaction. It is written for RHEL 4 and 5).
This example uses PSP 8.15 but it's valid for any of the PSP versions prior to 8.40. ).
1.0 Create a configuration file (let's call it rhel_psp_input_file.cfg), like the one below, with snmpd.conf parameters (and a few others). These are documented in the PSP Users Guide. You can add any other parameters that you require.
CMALOCALHOSTRWCOMMSTR=private
CMALOCALHOSTROCOMMSTR=public
CMAMGMTSTATIONRWIPORDNS=16.118.11.110
CMAMGMTSTATIONRWCOMMSTR=private
CMAMGMTSTATIONROIPORDNS=16.118.11.110
CMAMGMTSTATIONROCOMMSTR=public
CMADEFTRAPCOMMSTR=public
CMATRAPDESTINATIONCOMMSTR=public
CMATRAPDESTINATIONIPORDNS=16.118.11.110
[email protected]
CMASYSLOCATION=Palo Alto Lab
CMASTARTWEBAGENT=yes
CMASTARTSTORAGEAGENT=yes
CMANOTAINTEDKERNEL=yes
For your site:
- Change 16.118.11.110 to the IP address of where you want the SNMP traps to be sent (e.g. your SIM server, NNM server. etc)
- Change "public" to your Read-Only community name
- Change "private" to your Read-Write community name (or delete the entries if you don't want to enter a Read-Write community name)
- Change the contact and location information to whatever you like.
2.0 Modify the contents section at the end of the PSP description file, bp000518.xml, to allow the installation of only the packages that are necessary. The PSP description file name will change with each PSP revision.
- Put the modified file in the directory where all of the PSP files reside.
- Before modifiying the file, make a copy of it but do not put the copy in the same directory as the modified file.
- All of the entries are originally marked as yes for installation. If you don't need/want to install a package, change the yes to no.
- In this example, we're not going to install any drivers or the fibreutils package. These are the packages I select when I want only the packages required for Insight Remote Support (IRS):
<contents>
<package install="no">hp_qla2x00src-8.02.11-6.noarch.rpm.tar.gz</package>
<package install="no">hp_qla2x00src-mezz-8.01.07.25-4.noarch.rpm.tar.gz</package>
<package install="no">hp-lpfc-8.2.0.22-7.noarch.rpm.tar.gz</package>
<package install="no">cpq_cciss-3.6.20-18.rhel5.x86_64.rpm.tar.gz</package>
<package install="no">mptlinux-4.00.13.04-6.rhel5.x86_64.rpm.tar.gz</package>
<package install="no">hpahcisr-1.2.0-14.rhel5.x86_64.rpm.tar.gz</package>
<package install="no">e1000-8.0.6-1.src.rpm.tar.gz</package>
<package install="no">e1000e-0.4.1.12-1.src.rpm.tar.gz</package>
<package install="no">tg3-3.92n-2.src.rpm.tar.gz</package>
<package install="no">netxtreme2-4.8.2-2.src.rpm.tar.gz</package>
<package install="no">nx_nic-4.0.230-1.src.rpm.tar.gz</package>
<package install="no">nx_lsa-4.0.225-1.src.rpm.tar.gz</package>
<package install="no">qla4xxx-5.01.01.04-1.src.rpm.tar.gz</package>
<package install="no">igb-1.3.8.6-1.src.rpm.targz</package>
<package install="yes">hp-OpenIPMI-8.2.0-285.rhel5.x86_64.rpm.tar.gz</package>
<package install="yes">hp-ilo-8.2.0-236.rhel5.x86_64.rpm.targz</package>
<package install="yes">hp-health-8.2.0-283.rhel5.x86_64.rpm.tar.gz</package>
<package install="yes">hp-snmp-agents-8.2.0-284.rhel5.x86_64.rpm.tar.gz</package>
<package install="yes">hpmouse-1.1.1-41.noarch.rpm.tar.gz</package>
<package install="yes">hpsmh-3.0.0-68.x86_64.rpm.tar.gz</package>
<package install="yes">hp-smh-templates-8.2.0-282.noarch.rpm.tar.gz</package>
<package install="yes">cpqacuxe-8.25-5.noarch.rpm.tar.gz</package>
<package install="yes">hpacucli-8.25-5.noarch.rpm.tar.gz</package>
<package install="yes">hpadu-8.25-5.noarch.rpm.tar.gz</package>
<package install="yes">hpvca-2.2.0-9.linux.rpm.tar.gz</package>
<package install="yes">hpdiags-8.2.0-479.linux.i586.rpm.tar.gz</package>
<package install="yes">hponcfg-1.9.0-3.noarch.rpm.tar.gz</package>
<package install="no">fibreutils-2.5-4.x86_64.rpm.tar.gz</package>
</contents>
3.0 You can now install the PSP using the command line by changing to the directory where the PSP files reside and executing:
./install820.sh -v --nui --silent --inputfile rhel_psp_input_file.cfg
Installing the PSP with Kickstart
You can't install many of the PSP packages, in particular the packages built from source, directly from a kickstart file. This is because the build needs to know which kernel you're running and the kickstart kernel won't work. If you're not building any of the packages from source, you can run the install command above.
If you are building from source, one way to do it is to install the PSP after the kickstart installation completes and the system has booted onto the runtime kernel. The %post section of the kickstart file would look something like this:
%post
chkconfig portmap on
chkconfig nfs on
mkdir /nwinstall
cat > /etc/rc5.d/S99PSP_install << EOF
#!/bin/bash
mount 16.118.10.159:/PSP_815 /nwinstall
cd /nwinstall/compaq/csp/linux
./install815.sh -v --nui --silent --inputfile rhel_psp_input_file.txt
/bin/rm -f /etc/rc5.d/S99PSP_install
#/sbin/reboot
EOF
/bin/chmod 755 /etc/rc5.d/S99PSP_install
/bin/cp -f /etc/rc5.d/S99PSP_install /var/tmp # A copy to see whats going on
exit 0
The assumption is that you're doing the PSP install using an NFS mount. If not, you'll need to modify the script section for http, ftp, etc.
- You'll also need to modify the script for your own IP's and paths
- The chkconfig lines make sure that the network services are running when the system is booted.
- The mkdir line creates the NFS mount point
- The next eight lines creates a script in the run level 5 boot directory. The script:
- NFS mounts the PSP directory
- Changes into the PSP directory
- Executes the PSP installation script
- Deletes itself so it doesn't execute again
- You can have the system reboot after the PSP installation script completes by un-commenting the#/sbin/reboot line.
- The chmod line makes sure the script is executable
- The cp line makes a copy of the script in /var/tmp for debug purposes. You can remove this line once you're satisfied that the script is OK
- The scenario is that:
- The system is installed using kickstart
- The %post section will create the PSP installation script
- The system will reboot
- The PSP installation script will install the PSP. Note that I put the S99PSP_install script in the run level directory, rc5.d. If your system comes up in run level 3, you'll need to modify the script to put it in the rc3.d directory.
- The script runs as the last boot script, 99. If you change that, make sure it runs after the network and network services come up.
- Retrieved from "http://hpedia.hp.com/wiki/Proliant_Linux_Manual_PSP_Installation
Recent blog posts
- Ubuntu Management Component Pack for ProLiant Released (v9.25)
- Ubuntu MCP 9.10 released (was ProLiant Support Pack)
- Ubuntu 12.04 (Precise Pangolin) LTS Server to be Certified, Supported on HP ProLiant Systems
- Call for Participation - Ubuntu Friendly
- Real-Time Linux support survey
- CentOS 6.0 released on July 10, 2011
- Fedora 15 released on May 24, 2011
- Testing new hardware support for Debian 6.0.2
- Ubuntu User-Experience survey
- HP Linux Driver, Firmware, and Deployment Survey
Recent comments
1 year 10 weeks ago
1 year 18 weeks ago
1 year 40 weeks ago
2 years 24 weeks ago
3 years 7 weeks ago
3 years 7 weeks ago
3 years 15 weeks ago
3 years 18 weeks ago
3 years 19 weeks ago
3 years 26 weeks ago