Managing Serviceguard Eighteenth Edition, September 2010
fully-qualified domain name (see “Configuring Name Resolution” (page 218) for
more information about node names and hostnames). <vg>:<pv>, if used, must
be, respectively, a volume group name that does not already exist, and the name
of a physical volume that is unused and is not configured into any volume manager.
HP recommends you use cluster-wide device special files (cDSFs); see “About
Cluster-wide Device Special Files (cDSFs)” (page 135). In any case, the device special
file (DSF) must use the agile addressing convention; see “About Device File Names
(Device Special Files)” (page 106).
For example:
cmdeploycl –c cluster1 –n ftsys9 –n ftsys10 -N
$SGCONF/mynetwork –b –L /dev/vglock:/dev/cdsk/disk13
This command in this example does the following:
• Calls cmapplyconf (1m) to configure the heartbeat subnets specified in
$SGCONF/mynetwork
• Updates $SGCONF/cmclnodelist, /etc/hosts, /etc/nsswitch.conf,
and /etc/inetd.conf on each node.
NOTE: You can also accomplish this by running cmpreparecl;
cmdeploycl calls cmpreparecl.
For more information, see “Configuring Root-Level Access” (page 216) and
“Configuring Name Resolution” (page 218). Those sections describe the
“manual” (HP-UX command-line) method of accomplishing what
cmpreparecl does.
• Configures a two-node cluster (cluster1).
• Configures the LVM volume group and physical volume for the lock disk.
• Creates the sample package sgeasy_pkg.
• Starts the cluster on ftsys9 and ftsys10.
NOTE: The cluster does not yet have shared storage for packages.
Other forms of cmdeploycl allow you to create the cluster with a quorum server
or lock LUN instead of a lock disk; see the manpage for more information.
If you use a quorum server, the quorum server software must already be installed
and configured on the quorum server; see the latest version of the HP Serviceguard
Quorum Server Version A.04.00 Release Notes, at www.hp.com/go/
hpux-serviceguard-docs -> HP Serviceguard Quorum Server
Software.cmdeploycl requires an IPv4 address (or addresses) for the quorum
server; to configure IPv6 addresses, see “Specifying a Quorum Server” (page 248).
If shared storage already exists on both nodes, and you use cmdeploycl without
any -L option, cmdeploycl will create an LVM lock disk using the shared storage.
Preparing Your Systems 213