Managing Serviceguard A.11.20, March 2013

For a discussion of cluster networking topology, see “Redundant Ethernet Configuration ”
(page 29).
NOTE: You cannot use the Easy Deployment commands to create a cross-subnet configuration,
as described under “Cross-Subnet Configurations” (page 29).
If you have not already done so, set up ssh public/private key pairs on each node.
This will allow the Easy Deployment commands to operate on all the prospective nodes before
cluster is formed. If you need to set up the keys, you can use DSAU to simplify the task. For
more information about setting up ssh keys, see the HP-UX Secure Shell Getting Started Guide
at http://www.hp.com/go/hpux-core-docs.
If you will be using a lock LUN (as opposed to an LVM lock disk or a quorum server) set up
the LUN partition before running cmdeploycl; see “Setting Up a Lock LUN” (page 178).
If you will be using a quorum server, it must be running and reachable from all the configured
nodes through all the quorum server IP addresses before running cmdeploycl; see “Specifying
a Quorum Server” (page 194).
If you will be using individual disks (as opposed to RAID) for package data, and you will be
mirroring them with MirrorDisk/UX as HP recommends, make sure the hardware is configured
so as to allow PVG-strict mirroring.
For more information, see “Using Mirrored Individual Data Disks (page 183) and it is good
idea to read the entire section on “Creating a Storage Infrastructure with LVM” (page 181) so
that you understand what cmpreparestg is doing.
Make sure you have read and understood the additional limitations spelled out under About
Easy Deployment (page 110); and it is a good idea to read the Easy Deployment manpages
(cmpreparecl (1m), cmdeploycl (1m), and cmpreparestg (1m)) as well.
Using Easy Deployment Commands to Configure the Cluster
The examples that follow configure a two-node cluster with an LVM lock disk and a logical volume
(with PVG-strict mirroring) for use by packages. For more information, and other options, see the
manpages for cmpreparecl (1m), cmdeploycl (1m), and cmpreparestg (1m). You can
also use easy deployment commands to deploy a VxVM/CVM disk group. The following example
illustrates its use with LVM storage.
NOTE: The actions taken by the commands you will be using are logged to /var/adm/
cmcluster/sgeasy/easy_deployment.log, providing a useful record of the changes to
system files.
1. Obtain networking information for the nodes on which you want the cluster heartbeat:
cmquerycl N <network_template_file> n <node1> n <node2>
For example:
cmquerycl N $SGCONF/mynetwork
2. Edit the output file ($SGCONF/mynetwork in this example) to add entries for additional
heartbeats, if necessary.
Preparing Your Systems 167