If you don't use the -hoption, Serviceguard will choose the best available configuration to meet minimum requirements, preferring an IPv4 LAN over IPv6 where both are available. The resulting configuration could be IPv4 only, IPv6 only, or a mix of both. You can override Serviceguard's default choices by means of the HEARTBEAT_IP parameter, discussed under “Cluster Configuration Parameters ” (page 109); that discussion also spells out the heartbeat requirements.

The -hand -coptions are mutually exclusive.

Specifying the Cluster Lock

You can use the cmquerycl command line to specify a cluster lock LUN (-L lock_lun_device), lock disk (-L lock_vg: lock_pv), or quorum server (-q quorum_server [qs_ip2]). See the cmquerycl (1m) manpage for details.

NOTE: You can specify only one lock disk on the command line; if you need to specify a second cluster lock disk, you must do so in the cluster configuration file.

For more information, see “Specifying a Lock Disk” (page 188), “Specifying a Lock LUN” (page 189), and “Specifying a Quorum Server” (page 190).

Generating a Network Template File

As of Serviceguard A.11.20, a separate form of cmquerycl discovers connected LAN interfaces on each node you specify, and writes it to a file you specify; for example:

cmquerycl -n node1 -n node2 -N mynetwork

You can now edit mynetwork to add IP address and subnet information for new interfaces which are not yet configured, and then use cmapplyconf (1m) to configure the new interfaces into the cluster; for example:

cmapplyconf -N mynetwork

IMPORTANT:

You cannot use cmapplyconf -Nif the cluster already exists; in that case, follow instructions under “Changing the Cluster Networking Configuration while the Cluster Is Running” (page 297).

You can only add information to the output file (mynetwork in this example); do not change the information already in the file.

For more information, see the cmquerycl (1m) and cmapplyconf (1m) manpages.

Full Network Probing

-w full lets you specify full network probing, in which actual connectivity is verified among all LAN interfaces on all nodes in the cluster, whether or not they are all on the same subnet.

NOTE: This option must be used to discover actual or potential nodes and subnets in a cross-subnet configuration. See “Obtaining Cross-Subnet Information” (page 190). It will also validate IP Monitor polling targets; see “Monitoring LAN Interfaces and Detecting Failure: IP Level” (page 73), and POLLING_TARGET under “Cluster Configuration Parameters ” (page 109).

Specifying a Lock Disk

A cluster lock disk, lock LUN, or Quorum Server, is required for two-node clusters. The lock must be accessible to all nodes and must be powered separately from the nodes. See “Cluster Lock ” (page 46)for more information.

To specify a lock disk, enter the lock disk information either on the command line, or in the configuration file. The lock disk must be in an LVM volume group that is accessible to all the nodes in the cluster.

188 Building an HA Cluster Configuration

Page 188
Image 188
HP Serviceguard manual Specifying a Lock Disk, Specifying the Cluster Lock, Generating a Network Template File