HP XC System Software Installation Guide Version 4.0

status=offline
[mcs3]
name=mcs3
ipaddr=172.23.0.3
location=Cab CBB3
nodes=n[73-108]
status=offline
[mcs4]
name=mcs4
ipaddr=172.23.0.4
location=Cab CBB4
nodes=n[109-144]
status=offline
[mcs5]
name=mcs5
ipaddr=172.23.0.5
location=Cab CBB5
nodes=n[145-180]
status=offline
5.16 Mounting Network File Systems (Optional)
This task is optional. If you plan to mount NFS file systems, add the mount points to the
/hptc_cluster/etc/fstab.proto file now so that the mount points are propagated to the
golden image.
NOTE: See the HP XC System Software Administration Guide if you need more information about
how to modify the /hptc_cluster/etc/fstab.proto file.
5.17 Updating initrd Files with Required Hardware (Optional)
This task is optional. When client nodes contain additional hardware that is required for booting
(such as SCSI controllers) and the hardware is not present on the head node, you must modify
the initrd file on the head node to include the drivers.
NOTE: Perform this task now before running the cluster_config utility. Performing this
task after running the cluster_config utility requires you to remove the golden image.
Example 5-3 provides a sample script that updates all initrd files if a client node contains the
Adaptec SCSI controller:
Example 5-3 Script to Update initrd Files with Hardware Required for Booting
#!/bin/bash
FILES=`find /boot -name initrd\* -print`
for i in $FILES
do
VERSION=`echo $i | sed -e 's/^.*initrd-\(.*\).img/\1/'`
if [ ! -z "$VERSION" ]
then
NEWF=/tmp/initrd-$VERSION.img
echo "/sbin/mkinitrd --with=aacraid -f $NEWF $VERSION"
/sbin/mkinitrd --with=aacraid -f $NEWF $VERSION
if [ -f $NEWF ]
then
echo "replacing $i with $NEWF"
92 Setting Up the Environment