O'Reilly logo

CentOS High Availability by Mitja Resman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required