HP-UX HB v13.00 Ch-15 - Serviceguard
HP-UX Handbook – Rev 13.00 Page 29 (of 108)
Chapter 15 Serviceguard
October 29, 2013
entry to /etc/nsswitch.conf on node rxh17u07.
Finalizing /etc/nsswitch.conf file on node rxh17u07
cmdeploycl
After cmpreparecl succeeds, use cmdeploycl to quickly build a cluster.
Example (building a one-node cluster):
# cmdeploycl -n rxh17u07
Running cmdeploycl on nodes rxh17u07
Saving subcommand output to /var/adm/cmcluster/sgeasy/easy_deployment.log
Running cmdeploycl on nodes rxh17u07
Calling cmpreparecl (/usr/sbin/cmpreparecl -n rxh17u07 )
cmpreparecl may take a while to complete ...
Command cmpreparecl succeeded
Calling cmquerycl (/usr/sbin/cmquerycl -v -w full -n rxh17u07 -C
/etc/cmcluster/sgeasy/cluster.ascii.generated)
cmquerycl may take a while to complete ...
Command cmquerycl succeeded
Calling cmapplyconf (/usr/sbin/cmapplyconf -v -C
/etc/cmcluster/sgeasy/cluster.ascii )
cmapplyconf may take a while to complete ...
Command cmapplyconf succeeded
Calling cmruncl (/usr/sbin/cmruncl -v -w none )
cmruncl may take a while to complete ...
Command cmruncl succeeded
CLUSTER STATUS
rxh17u07_cluster up
NODE STATUS STATE
rxh17u07 up running
Network_Parameters:
INTERFACE STATUS PATH NAME
PRIMARY up 0/4/1/0/6/0 lan3
STANDBY up 0/1/2/1 lan1
Cluster configuration saved to /etc/cmcluster/sgeasy/cluster.ascii
Manual method to create a cluster - cmquerycl
The manual method to create a cluster begins with cmquerycl. This command should be run as
the first step in preparing for cluster configuration. It may also be used as a trouble-shooting tool
to identify the current configuration of a cluster, since it prints out an overview of its discovery
results Example:
# cmquerycl -v -C /etc/cmcluster/cluster.ascii -n Node1 -n Node2
Looking for other clusters ... Done
Gathering storage information
Found 21 devices on node Node1
Found 25 devices on node Node2
Analysis of 46 devices should take approximately 6 seconds
0%----10%----20%----30%----40%----50%----60%----70%----80%----90%----100%
Found 3 volume groups on node Node1