HP XC System Software Installation Guide Version 3.2

status=offline
[mcs5]
name=mcs5
ipaddr=172.23.0.5
location=Cab CBB5
nodes=n[145-180]
status=offline
3.7.15 Mount Network File Systems
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.
3.7.16 Update initrd Files With Required Hardware
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 3-4 provides a sample script that updates all initrd files if a client node contains the
Adaptec SCSI controller:
Example 3-4 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"
rm $i
mv $NEWF $i
fi
fi
done
3.8 Task 7: Run the cluster_config Utility to Configure the System
The next step in the process is to configure the system. In this task, use the cluster_config
utility to review default role assignments and modify the role assignments on all nodes in the
system based on the size of the system (and other considerations, such as improved availability).
3.8 Task 7: Run the cluster_config Utility to Configure the System 85