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

Fencing configuration

Fencing is configured in the CMAN configuration file, /etc/cluster/cluster.conf. It is defined by the <fencedevides> tag and must be placed after the <clusternodes> tag and before the <rm> tag in the CMAN configuration file. Within the <fencedevices> tag, different fence devices can be configured. There are different fence device options to be used with different fence devices.

The syntax for configuring a fence device is as follows:

<fencedevices>
  <fencedevice fencedevice_options/>
</fencedevices>

Tip

More than one fence device can be configured simultaneously in the /etc/cluster/cluster.conf CMAN configuration file.

Once you have configured a fencing device, you need to configure the fencing method for each existing cluster ...

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