fence_virt (5) - Linux Manuals
fence_virt: configuration file for fence_virtd
NAME
fence_virtd.conf - configuration file for fence_virtd
DESCRIPTION
The fence_virtd.conf file contains configuration information for fence_virtd, a fencing request routing daemon for clusters of virtual machines.
The file is tree-structured. There are parent/child relationships and sibling relationships between the nodes.
There are three primary sections of fence_virtd.conf.
This section contains global information about how fence_virtd is to operate.
The most important pieces of information are as follows:
This section contains listener-specific configuration information; see the
section about listeners below.
This section contains listener-specific configuration information; see the
section about listeners below.
This section contains static maps of which virtual machines
may fence which other virtual machines; see the section
about groups below.
There are various listeners available for fence_virtd, each one handles
decoding and authentication of a given fencing request. The following
configuration blocks belong in the listeners section of fence_virtd.conf
The serial listener plugin utilizes libvirt's serial (or VMChannel)
mapping to listen for requests. When using the serial listener, it is
necessary to add a serial port (preferably pointing to /dev/ttyS1) or
a channel (preferrably pointing to 10.0.2.179:1229) to the
libvirt domain description. Note that only type
unix
, mode
bind
serial ports and channels are supported. Example libvirt XML:
There are various backends available for fence_virtd, each one handles
routing a fencing request to a hypervisor or management tool. The following
configuration blocks belong in the backends section of fence_virtd.conf
The libvirt plugin is the simplest plugin. It is used in environments where
routing fencing requests between multiple hosts is not required, for example
by a user running a cluster of virtual machines on a single desktop computer.
The libvirt-qpid plugin acts as a QMF Console to the libvirt-qpid daemon in
order to route fencing requests over AMQP to the appropriate computer. There
are currently no configuration options for libvirt-qpid.
The checkpoint plugin uses CMAN, CPG, and OpenAIS checkpoints to track virtual
machines and route fencing requests to the appropriate computer.
Fence_virtd supports static maps which allow grouping of VMs. The
groups are arbitrary and are checked at fence time. Any member of
a group may fence any other member. Hosts may be assigned to multiple
groups if desired.
This defines a group.
baz
SECTIONS
fence_virtd
listeners
backends
groups
LISTENERS
multicast
serial
BACKENDS
libvirt
libvirt-qpid
checkpoint
GROUPS
group
EXAMPLE
key_file
uri
ip
uuid
uuid