Installing and configuring a STONITH device

It is worth noting that a STONITH device is a cluster resource that will be used to bring down a malfunctioning or unresponsive node. Installing the following packages on both nodes will make several STONITH devices available in our cluster. If you are setting up your 2-node cluster with two virtual machines, as suggested early in Chapter 1, Cluster Basics and Installation on CentOS 7, install the following packages on both nodes:

yum update && yum install fence-agents-all fence-virt

Once the installation is complete, you can list all the available agents with the pcs stonith list command, as shown in the next screenshot.

Each of the listed devices in the following screenshot are described by several available ...

Get CentOS High Performance 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.