HP XC System Software Administration Guide Version 4.0

Table Of Contents
known locations. The golden client file system and the cluster common storage are available
to support such applications.
Global service configuration scripts are located in the /opt/hptc/etc/gconfig.d
directory.
Node-Specific Configuration
The node-specific service configuration step uses the results of the global service configuration
step described previously to apply to a specific node its “personality” with respect to the
service. User interaction is not permitted because this step runs on a per-node basis.
The configuration of the service is accomplished in a script called by the node-specific service
configuration controller (nconfig) script. The nconfig controller script runs at system
startup, and it reports if is executing as part of the initial boot of a client node after an
installation operation. If so, the nconfig controller script queries the CMDB to determine
which node-specific service configuration scripts to execute, thus providing the per-node
personality to each node.
Per-node configuration scripts are located in /opt/hptc/etc/nconfig.d directory.
Run the per-node configuration scripts on each node with the following commands after
successfully synchronizing each client node with the golden image. This returns the per-node
personality following the golden image update:
# cexec -a -x `nodename` -f128 "/sbin/service nconfig nconfigure"
# cexec -a -x `nodename` -f128 "/sbin/service nconfig nrestart"
The number of simultaneous remote commands are increased by using the cexec command's
-f option.
You can monitor the execution of the per-node configuration scripts from a central location by
monitoring the /hptc_cluster/adm/logs/imaging.log file. Run the following command
from the imaging server node (currently, the head node):
# tail -f /hptc_cluster/adm/logs/imaging.log
The per-node configuration scripts log their execution locally to the /var/log/nconfig.log
file.
11.4 Determining Which Nodes Will Be Imaged
The startsys command features a --test option that returns a list of nodes that have been
set to be imaged on the next boot, as shown here:
# startsys --test
Enabled nodes: n[1-512]
Removing the execution node: n512
Boot hierarchy of specified nodes is: n[498-512],[1-497]
Available nodes that require imaging -> n[1-511]
11.5 Updating the Golden Image
Before you can deploy your software and configuration updates throughout the HP XC system,
you must update the golden image to synchronize with these changes. The golden image that
is created during the initial HP XC system configuration process is named base_image, and it
exists in the file system hierarchy under the directory /var/lib/systemimager/images.
You can update the golden image by using either of the following:
The cluster_config utility
The updateimage command
This section describes both methods.
11.4 Determining Which Nodes Will Be Imaged 147