Adding cluster resources, constraints, and resource groups

In the previous chapter, we successfully installed and configured Corosync and Pacemaker on CentOS 7 and got our cluster running. Before you start adding resources, you must disable the STONITH option by issuing the following command:

pcs property set stonith-enabled=false


STONITH is a cluster node fencing feature and is enabled by default. There is a whole chapter that is dedicated to the STONITH fencing configuration, so we will currently disable the STONITH option and get back to it later on.

Note that the STONITH option should always be enabled in production systems.

Validate your cluster configuration. The output of the crm_verify command should be without any errors. In the following ...

Get CentOS High Availability now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.