Managing HP Serviceguard for Linux, Sixth Edition, August 2006

Building an HA Cluster Configuration
Configuring the Cluster
Chapter 5 165
# this file.
###########################################################
The format for entries in the cmclnodelist file is as follows:
[hostname or ip address] [user] [#Comment]
For example:
gryf root # Cluster 1, Node 1
gryf user1 # Cluster 1, Node 1
sly root # Cluster 1, Node 2
sly user1 # Cluster 1, Node 2
bit root # Administration /COM Server
In this example, root on the nodes gryf, sly, and bit all have root access
to the node with this file. The non-root user “user1” has the Monitor role
from nodes gryf and sly.
Serviceguard also accepts the use of a “+” in the cmclnodelist file which
indicates that any root user on any node may configure this node and any
non-root user has the Monitor role.
The following is an example of an ASCII configuration file generated
with the cmquerycl command using the -w full option:
# **********************************************************************
# ********* HIGH AVAILABILITY CLUSTER CONFIGURATION FILE ***************
# ***** For complete details about cluster parameters and how to ****
# ***** set them, consult the Serviceguard manual. ****
# **********************************************************************
# Enter a name for this cluster. This name will be used to identify the cluster
when viewing or manipulating it.
CLUSTER_NAME lxcluster
# Cluster Lock Parameters
# The cluster lock is used as a tie-breaker for situations
# in which a running cluster fails, and then two equal-sized
# sub-clusters are both trying to form a new cluster. The
# cluster lock may be configured using only one of the
# following alternatives on a cluster:
# the LUN lock disk
# the quorum server
#
#
# Consider the following when configuring a cluster.
# For a two-node cluster, you must use a cluster lock. For
# a cluster of three or four nodes, a cluster lock is strongly
# recommended. For a cluster of more than four nodes, a
# cluster lock is recommended. If you decide to configure
# a lock for a cluster of more than four nodes, it must be
# a quorum server.