Configuring fence devices

The first step to configuring fence devices is to check and turn on the STONITH cluster feature. You can see the status of the STONITH feature by running the pcs property list command. In the following screenshot, you can see the output of this command:

Configuring fence devices

You can see in the stonith-enabled line that the STONITH feature is currently disabled.

You can enable the STONITH feature by running the pcs property set stonith-enabled=true command. In the following screenshot, you can see the command used to enable STONITH and the output afterwards:

You can see in the stonith-enabled line that the STONITH feature is now enabled.

To continue ...

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.