HP Insight Control server provisioning Adding Drivers to OS Build Plans
10
Modifying the LinuxPE PXE Boot Image
The need to modify the LinuxPE boot image is very rare, and would only be required when there is a driver problem with
either the network or storage interface cards. Modification of the LinuxPE PXE boot image requires HP support access by
an HP service technician. Please contact HP support to obtain support access.
Installing Linux Driver RPMs Post OS Installation
Certain driver rpms which are not installed as part of the default Linux OSBPs can be installed on a target server running
a production operating system by following the instructions in this section. The script provided here is generic to any
Linux version and can be used to install or upgrade any rpm package.
The Emulex lpfc driver for RHEL 6.4 x64 will be used as an example with these instructions. This driver is required on a
RHEL 6.4 x64 target server configured with multipath in order to see the shared LUNs.
NOTE: If any driver rpm is embedded inside a driver update disk image used during installation, then the rpm package
can be installed by adding the package name in %package section of a RHEL 6.x kickstart file.
To install a driver post OS installation
1. On the Media Server, create a folder in the Media Server share, for example: \Deployment\Media\lpfc
where \Deployment is the Media Server share.
2. Copy all required rpm files to this folder created in Step 1.
NOTE: Tar packages should be extracted manually and only the required rpms should be placed inside the
newly created folder.
For example, download the RHEL 6.4 x64 lpfc-rhel6-8.3.7.21-ds-1.tar.gz from
http://ftp.hp.com/pub/softlib/software12/COL34166/co-119364-2/lpfc-rhel6-8.3.7.21-ds-1.tar.gz
and extract the archive. Copy the following files from the extracted directory lpfc-rhel6-8.3.7.21-
ds to the Media Server lpfc folder created in Step 1:
elx-lpfc-debuginfo-8.3.7.21_2.6.32_358.el6_ds-1.rhel6u4.x86_64.rpm
kmod-elx-lpfc-8.3.7.21_2.6.32_358.el6_ds-1.rhel6u4.x86_64.rpm
3. On the IC server provisioning appliance, create a new script and name it for the appropriate function, for
example Post OS Driver Installation - Linux.
4. Edit the script to include the following information in the Content section:
#!/bin/sh
# Script to install Linux driver after server is in production.
# This script takes as its only parameter, the full URL to the driver.
if [ ! -d /tmp/drivers ] ; then
mkdir /tmp/drivers
echo "Creating temporary folder"
else
rm -rf /tmp/drivers/*
echo "Cleaning temporary folder"
fi
cd /tmp/drivers
# Parameter 1 – the full URL to the driver to install
downloadurl=$1
includepath=`echo $downloadurl | sed -e 's/http:\/\///g' | cut -d "/" -f2-`
noofcutdir=`echo $includepath | awk --field-separator="/" "{ print NF }"`
# Verify that the driver is there.
wget --spider $downloadurl
if [ $? != 0 ] ; then
echo "Download URL not found : $downloadurl"
exit 99
fi
echo "Download URL= $downloadurl"