Managing HP Serviceguard for Linux, Seventh Edition, July 2007

Building an HA Cluster Configuration
Setting up the Quorum Server
Chapter 5 153
Running the Quorum Server
The quorum server must be running when you use cmquerycl or
cmapplyconf.
By default, quorum server run-time messages go to stdout and stderr.
It is suggested that you capture these messages by redirecting stdout
and stderr to the file /var/log/qs/qs.log.
You must have root permission to execute the quorum server.
Configure the quorum server to start up any time the system on which it
is installed restarts or reboots. Do this by creating an entry like the
following in the /etc/inittab file:
For Red Hat distributions:
qs:345:respawn:/usr/local/qs/bin/qs >> /var/log/qs/qs.log 2>&1
For SUSE distributions:
qs:345:respawn:/opt/qs/bin/qs >> /var/log/qs/qs.log 2>&1
Use the following command to start the quorum server:
telinit q
When the command is complete, the prompt appears.
Verify the quorum server is running by checking the qs.log file. For
example on a SUSE system:
cat /var/log/qs/qs.log
The log should contain entries like the following indicating the quorum
server has started:
Oct 04 12:25:06:0:Starting Quorum Server
Oct 04 12:25:09:0:Server is up and waiting for connections at
port 1238
For a complete discussion of how the quorum server operates, see
“Cluster Quorum to Prevent Split-Brain Syndrome” on page 42. See
“Specifying a Quorum Server” on page 180 for a description of how to use
the cmquerycl command to specify a quorum server in the cluster
configuration file.
For more information, see the Release Notes for your version of Quorum
Server at http://docs.hp.com -> High Availability -> Quorum
Server.