HP XC System Software Administration Guide Version 3.0
1. Create an “overrides” subdirectory, named compiler, to contain the compiler package:
# cd /var/lib/systemimager/overrides
# mkdir ./compiler
There should be two subdirectories, base_image and compiler, under the ./overrides directory.
# # ls -F
base_image/ compiler/ README
2. Install the compiler package into the alternate root location,
/var/lib/systemimager/overrides/compiler.
# rpm -ivh --root \
/var/lib/systemimager/overrides/compiler compilername.rpm
3. Use the find command to verify the file hierarchy:
# find ./compiler
./compiler
./compiler/usr
./compiler/usr/lib/
.
.
.
4. Make a copy of the default HP XC autoinstallation script as a new script to image the login nodes
specifically with the compiler overrides. Name the new autoinstallation script compiler.master.0:
# cp base_image.master.0 compiler.master.0
5. Change directory to the SystemImager “scripts” directory:
# cd /var/lib/systemimager/scripts
6. Use the text editor of your choice to modify the OVERRIDES variable definition in the
compiler.master.0 file as follows:
[ -z $OVERRIDES ] && OVERRIDES="base_image compiler"
It is necessary to append compiler after the string base_image because the default HP XC installation
relies on the base_image override
Save the file and exit the text editor.
7. Link all the login nodes (that is, those nodes with the lvs service) to the compiler.master.0
autoinstallation script
# for i in $(expandnodes $(shownode servers lvs))
do
ln -sf compiler.master.0 $i.sh
done
8. Verify that the links are correct
# ls -l
.
.
.
lrwxrwxrwx 1 root root ... n7.sh -> compiler.master.0
lrwxrwxrwx 1 root root ... n8.sh -> compiler.master.0
lrwxrwxrwx 1 root root ... n9.sh -> compiler.master.0
Now the system can be imaged. In this example, when nodes n[7-9] are installed with the full imaging
installation, the compiler overrides are automatically delivered after the golden image has been delivered.
Use the --override option of the si_updateclient command to ensure that both overrides are properly
delivered:
# si_updateclient --server nh --image base_image \
--no-bootloader --override base_image \
--override compiler
Adding Software or Modifying Files on the Golden Client 81