HP XC System Software Administration Guide Version 4.0

Table Of Contents
11.5.4 Ensuring That the Golden Image Is Current
Use the updateimage command or thecluster_config command to ensure that the golden
image contains all the latest software for all the nodes. If you copy software directly to client
nodes without updating the golden image first, that software will be deleted from the client
nodes the next time the clients are re-imaged.
Choose the --no-netboot option to update the image if you do not want the client nodes to
network boot the next time they are rebooted or power cycled. Otherwise, the reboot or power
cycle causes a full reinstallation of the node software.
The --dry-run option enables you to verify which files would be added and deleted without
performing the operation.
11.6 Propagating the Golden Image to All Nodes
After you update the golden image successfully, and all nodes are optionally set to network boot,
you are ready to deploy the updated image to all client nodes. This section describes the methods
for distributing files to all the client nodes.
11.6.1 Using the Full Imaging Installation
A recommended procedure to propagate the golden image is to install all client nodes
automatically. This ensures that they receive the updated image and any updated configuration
information automatically. When all nodes are set to network boot, a reboot of each client node
starts the automatic installation. After each node completes its installation, it automatically
reboots and is available for service.
Use the stopsys and startsys commands to reboot all the client nodes:
# stopsys
# startsys --image_and_boot
If your system has been configured for improved availability, you also need to use the
transfer_from_avail and transfer_to_avail commands:
# transfer_from_avail
# stopsys
# startsys --image_and_boot
# transfer_to_avail
11.6.2 Using the cexec Command
You can use the cexec command to copy designated files to client nodes.
Its advantage is that it is performed immediately, and potentially with little effect on the HP XC
system configuration files, presuming the file list does not contain any configuration files that
require the restarting of services.
Its disadvantages are that you must copy the files or directories and that you must update the
golden image to sustain the change when the node is reimaged.
Note:
The cexec command performs a maximum of 32 simultaneous commands by default. Use the
-f option to specify a different maximum.
11.7 Maintaining a Global Service Configuration
When the golden image is updated from the golden client, the list of system services that are
started automatically on each client is set based on a template file, /opt/hptc/systemimager/
etc/chkconfig.map. This template attempts to turn on only those services that should be run
on all nodes. This provides a common denominator for a golden image that must serve all client
nodes.
11.6 Propagating the Golden Image to All Nodes 151