Managing Serviceguard 12th Edition, March 2006
Building an HA Cluster Configuration
Preparing Your Systems
Chapter 5200
NOTE For each cluster node, the public network IP address must be the
first address listed. This enables other applications to talk to other
nodes on public networks.
2. Edit or create the /etc/nsswitch.conf file on all nodes and add the
following text (on one line), if it does not already exist:
hosts: files [NOTFOUND=continue UNAVAIL=contine] dns
[NOTFOUND=return UNAVAIL=return]
If a line beginning with the string “hosts:” already exists, then
make sure that the text immediately to the right of this string is (on
one line):
files [NOTFOUND=continue UNAVAIL=contine] dns
[NOTFOUND=return UNAVAIL=return]
This step is critical so that the nodes in the cluster can still resolve
hostnames to IP addresses while DNS is down or if the primary LAN
is down.
3. If no cluster exists on a node, crate and edit an /etc/cmclnodelist
file on all nodes and add access to all cluster node primary IP
addresses and node names:
15.13.172.231 hasupt01
15.13.172.232 hasupt02
15.13.172.233 hasupt03
Creating Mirrors of Root Logical Volumes
It is highly recommended that you use mirrored root volumes on all
cluster nodes. The following procedure assumes that you are using
separate boot and root volumes; you create a mirror of the boot volume
(/dev/vg00/lvol1), primary swap (/dev/vg00/lvol2), and root volume
(/dev/vg00/lvol3). In this example and in the following commands,
/dev/dsk/c4t5d0 is the primary disk and /dev/dsk/c4t6d0 is the mirror; be
sure to use the correct device file names for the root disks on your
system.
1. Create a bootable LVM disk to be used for the mirror.
# pvcreate -B /dev/rdsk/c4t6d0