Managing Serviceguard Eighteenth Edition, September 2010

1. Identify the nodes for which you want to create cluster-wide device files; this is
known as the cDSF group.
This should be all the nodes in the cluster (or prospective cluster).
IMPORTANT: Remember that:
You cannot create a cDSF group that crosses cluster boundaries; that is, the
group must consist of the nodes of a single cluster.
cDSFs use agile addressing; see About Device File Names (Device Special
Files)” (page 106) for information about agile addressing.
2. If the cluster does not yet exist, set up root access among the prospective nodes:
a. If you have not already done so, set up ssh public/private key pairs on each
node. This will allow the necessary commands to operate on all the prospective
nodes before a cluster is formed.
The simplest way to do this is via the DSAU csshsetup command; for
example, if you are setting up a two-node cluster with nodes node1 and
node2, and you are logged in on node1:
csshsetup -r node2
For a large number of nodes, you might want to enter the node names into a
file and use the -f option to get csshsetup to read the names from the file;
for example, if you have stored the names in the file /etc/cmcluster/
sshhosts:
csshsetup -r -f /etc/cmcluster/sshhosts
For more information about setting up ssh keys, see the HP-UX Secure Shell
Getting Started Guide at www.hp.com/go/hpux-core-docs.
b. Configure root access to each prospective node, using the hostname portion
(only) of the fully-qualified domain name:
cmpreparecl -n <node_name> -n <node_name> ...
For example, for a cluster that will consist four nodes, node1, node2, node3,
and node4:
cmpreparecl -n node1 -n node2 -n node3 -n node4
NOTE: Serviceguard must be installed on all of the nodes listed, and you
must be logged in as superuser on one of these nodes to run the command.
208 Building an HA Cluster Configuration