Book Image

CentOS High Availability

Book Image

CentOS High Availability

Overview of this book

Table of Contents (21 chapters)
CentOS High Availability
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

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 node. The fence method configuration provides information on how to fence a specific cluster node.

The information provided varies, depending on the fencing device configured. If you are configuring the APC...