HP XC System Software Installation Guide Version 2.1

H.3.2 Custom i zing Client Disk Configuration
Customizing a cl ient ’s di sk configuration involves either editing an existing .conf
file or creatin g a new one. The format of the .conf file is explained in detail in the
autoinstallscript.conf
(5) m anpag e .
If you must create a new .conf file, HP recommends that you copy an existing .conf file
with the proper disk architecture (/dev/sd, /dev/hd, /dev/cciss) as a starting point,
and make the necessary modifications to the copied file.
H.3.2.1 Example 1: Changing An Existing .conf File
As described in the previous section, predefined .conf files exist for each supported server
model . If a particular server model is part of an XC system, the associated .conf file is used as
input to a server-specific master autoin stallation script that is cr eated duri ng initiali zation of the
image repli cation environment, which is initiated as part o f the cluster _co nfi g utility processing.
The following procedure describes h ow to modify an existing server type .conf file. Begin
this pro cedure as the ro ot user on the head node:
1. Save a copy of the existin g .conf file before openin g it for editing. The .conf files are
located in the /opt/hptc/systemimager/etc directory.
2. Use the text edito r of your choice to make the disk c o nfiguration modifications to the
.conf file. Refer to the autoinstallscript.conf
(5) manpage for formatting
guidelines.
3. Save y our changes to the file.
4. Run the cluster_config utility to create new master autoinst allat ion scripts
(/var/lib/systemimager/scripts/<name>.master.0) and generate an
updated version of the golden imag e :
# /opt/hptc/config/sbin/cluster_config
5. After the cluster_config utility com pletes its processin g, the clien t nodes are ready
to be installed from the golden image. Do one of the followin g:
If the client nodes have not been previously installed wi th th e XC System Software,
see Section 4.10 t o continue the initial installation procedure.
If the client nodes were prev iou sly installed, issue the following sequence of
commands to set the nodes to network boot and reboot the client nodes:
# setnode --resync --all
# stopsys
# startsys
Wait until the stopsys comman d com pletes be fore inv oking th e startsys
command.
H.3.2.2 Example 2: Creating a New .conf File and A ssociated Master Autoinstallation
Script
If necessary, you can create your own master autoinstallation script with static disk configuration
included from a customized .conf file. You can then link a specific group of client nodes to
this master autoinstallation script to customize this group of nodes within the overall XC system.
Begin t his procedure as the root user on the head node:
1. Use an existing .conf file with the appropriate disk type and make a copy of the file:
# cd /opt/hptc/systemimager/etc
# cp rx2620.conf login_node.conf
H-6 Customizing Client Node Disks