Managing HP Serviceguard for Linux, Sixth Edition, August 2006

Building an HA Cluster Configuration
Setting up the Quorum Server
Chapter 5 135
Running the Quorum Server
The quorum server must be running during the following cluster
operations:
when the cmquerycl command is issued.
when the cmapplyconf command is issued.
when there is a cluster re-formation.
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
Refer to Chapter 3 for a complete discussion of how the quorum server
operates, and see the section “Specifying a Quorum Server” under
“Configuring the Cluster later in this chapter for a description of how to
use the cmquerycl command to specify a quorum server in the cluster
ASCII file.