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

Note

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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.