HP XC System Software Administration Guide Version 2.1

The following command m akes a copy of the default
golden image, base_image,inthe
/var/lib/systemimager/images directory. Th
e saved im age name in this exam ple
is base_image.orig. This command must be run o
n the image server node, which is
the head no de.
# cpimage --verbose --directory /var/lib/systemimager/images
base_image base_image.orig
If you are preserving multiple images, save earlier versions as com pressed archives using your
favorite compression utility to preserve disk space on the image server.
7.3.1 The cluster_config Utility
If you have added your own s ervices to be dep loy ed throughout the HP XC system, through the
use of the per-node service configuratio n method described in Section 7.2.3 an d in conjunction
with the information in Sectio n 3.5, you must run the cluster_config utility on th e h ead
node again. This utility must be run as the root user. It performs the following tasks:
Executes the global service configuration scripts.
Updates the golden image automatically.
Executes the node-specific configuration scripts on the head node.
When the cluster_config com m and completes, the golden image is synchronized w ith the
golden client. You are ready to deploy the golden image to all the nodes in your HP XC system.
_________________________ Note _________________________
Nodes that have had their configuration changed are set to network boot. This
causes the nodes to reinstall t hem selves automatically, thus receiving the latest
golden image. To allow nodes to network boot, the nod es must be operational. The
cluster_config comm and displays any nodes that could not be reached, and
thus not set to network boot. Th is may be a problem only on XC6000 systems
because each node’s EFI environment m ust be m odified. You must resolve those
nodes’ EFI environment manually.
7.3.2 The updateimage Command
The updateimage command updates the g olden image from the gold en client; it does not run
any service configuration scripts. As superuser, you must run this command on the golden client
node. Th e updateimage command provides a --dry-run option that allows you to inspect
the files that will be added to (or deleted from) the golden image, without making any changes.
In th e following example the nodename command is executed and resolves to the node name
of the golden client.
#
updateimage --gc ‘nodename‘ --dry-run
If you are satisfied with the list of files that will be u pdat ed in the golden image, issu e the
command to perform the update:
# updateimage --gc ‘nodename‘
When the updateimage command completes, the golden image is synchronized with the
golden client. You are ready to deploy the golden image to all the nodes in your HP XC system.
_________________________ Note _________________________
By default, the updateimage command sets all client nodes to network boot
from t heir Eth ernet adap ter, connected to the administr ative network, the next time
the nod es are reboo ted. This causes the nodes to reinstall themselves automatically,
thus receiving the latest g olden image. To set all the nodes to network boot, the
Distributing Software Throughout the System 7-5