3 Configuring a Test Cluster and Service
This chapter provides step-by-step instructions on configuring a test cluster across two
nodes that are hosted on systems with the resolvable host names node1
and
node2
. Each system is installed and configured by using the instructions
that are provided in Installing and Configuring Pacemaker and Corosync.
The test cluster is configured to run a service, Dummy
, that is included in
the resource-agents
package for testing purposes. The Dummy resource agent
keeps track of whether the service is or is not running.
To demonstrate a successful failover, the cluster service is stopped on the node the Dummy
service is initially running on, and the pcs status
command is used to
confirm the service has successfully started on the other node that is still on line.