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.

    [email protected]

For your site:

  • Change 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):

     <package install="no">hp_qla2x00src-8.02.11-6.noarch.rpm.tar.gz</package>
     <package install="no">hp_qla2x00src-mezz-</package>
     <package install="no">hp-lpfc-</package>
     <package install="no">cpq_cciss-3.6.20-18.rhel5.x86_64.rpm.tar.gz</package>
     <package install="no">mptlinux-</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-</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-</package>
     <package install="no">igb-</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>

3.0 You can now install the PSP using the command line by changing to the directory where the PSP files reside and executing:

     ./ -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:

     chkconfig portmap on
     chkconfig nfs on
     mkdir /nwinstall
     cat > /etc/rc5.d/S99PSP_install << EOF
     mount /nwinstall
     cd /nwinstall/compaq/csp/linux
     ./ -v --nui --silent --inputfile rhel_psp_input_file.txt
     /bin/rm -f /etc/rc5.d/S99PSP_install
     /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 "