Managing Serviceguard 13th Edition, February 2007

Building an HA Cluster Configuration
Configuring the Cluster
Chapter 5 229
Distributing the Binary Configuration File
After specifying all cluster parameters, you apply the configuration. This
action distributes the binary configuration file to all the nodes in the
cluster. We recommend doing this separately before you configure
packages (described in the next chapter). In this way, you can verify the
cluster lock, heartbeat networks, and other cluster-level operations by
using the cmviewcl command on the running cluster. Before distributing
the configuration, ensure that your security files permit copying among
the cluster nodes. See “Preparing Your Systems” at the beginning of this
chapter.
Distributing the Binary File with Serviceguard Manager
When you have finished entering the information, click Apply.
Distributing the Binary File on the Command Line
Use the following steps to generate the binary configuration file and
distribute the configuration to all nodes in the cluster:
Activate the cluster lock volume group so that the lock disk can be
initialized:
# vgchange -a y /dev/vglock
Generate the binary configuration file and distribute it:
# cmapplyconf -k -v -C /etc/cmcluster/clust1.config
or
# cmapplyconf -k -v -C /etc/cmcluster/clust1.ascii
NOTE Using the -k option means that cmapplyconf only checks disk
connectivity to the LVM disks that are identified in the ASCII file.
Omitting the -k option (the default behavior) means that
cmapplyconf tests the connectivity of all LVM disks on all nodes.
Using -k can result in significantly faster operation of the command.
Deactivate the cluster lock volume group.
# vgchange -a n /dev/vglock