HP XC System Software Installation Guide Version 4.0

# setnode --resync --all
# stopsys
# startsys --image_and_boot
Wait until the stopsys command completes before invoking the startsys command.
E.3.2.2 Example 2: Creating a New .conf File and Associated Master Autoinstallation Script
If necessary, you can create your own master autoinstallation script with static disk configuration
included from a customized .conf file by following the procedure shown here. You can then
link a specific group of client nodes to this master autoinstallation script to customize this group
of nodes within the overall HP XC system.
1. Begin this procedure as the root user on the head node.
2. 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
3. Use the text editor of your choice to modify the login_node.conf file with the necessary
disk configuration changes. See autoinstallscript.conf(5) for formatting guidelines.
4. Save the changes to the file and exit the text editor.
5. Create a new autoinstallation script:
# mkautoinstallscript --quiet --no-listing --image base_image \
--script login_node --force YES \
--config-file /opt/hptc/systemimager/etc/login_node.conf \
--ip-assignment static --post-install reboot
See mkautoinstallscript(8) for more information.
When command processing is complete, a new master autoinstallation script named
login_node.master is located in the /var/lib/systemimager/scripts directory.
6. Create a symbolic link from the node names of the appropriate nodes (login nodes in this
example) to the newly created master autoinstallation script. Note that the node name is
appended with a .sh extension:
for i in n135 n136
do
ln -sf login.master.0 $i.sh
done
7. After the cluster_config utility completes its processing, the client nodes are ready to
be installed from the golden image. Do one of the following:
If the client nodes were not previously installed with the HP XC System Software, see
“Running the startsys Utility to Start the System and Propagate the Golden Image”
(page 117) to continue the initial installation procedure.
If the client nodes were previously installed, issue the following sequence of commands
to set the nodes to network boot and reboot the client nodes:
# setnode --resync n[135-136]
# stopsys n[135-136]
# startsys --image_and_boot n[135-136]
Wait until the stopsys command completes before invoking the startsys command.
E.3 Statically Configuring Client Node Disks 213