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 parameters, which can be shown with pcs stonith describe agent
, where you must replace agent
with the corresponding name of the resource. Note that we will use these parameters when we actually configure the STONITH device in a later...