[Pacemaker] Fencing libvirt/KVM nodes running on different hosts?

Vladislav Bogdanov bubble at hoster-ok.com
Tue Nov 29 04:06:58 UTC 2011


28.11.2011 22:55, Andreas Ntaflos wrote:
> Hi,
> 
> Scenario: two physical virtualisation hosts run various KVM-based
> virtual machines, managed by Libvirt. Two VMs, one on each host, form a
> Pacemaker cluster, say for a simple database server, using DRBD and a
> virtual/cluster IP address. Using Ubuntu 10.04 and Pacemaker 1.1.6, with
> Corosync 1.4.2 on the hosts and guests.
> 
> How do I implement node-level fencing in this scenario?

I use set of:
* qpid server
* libvirt-qpid on each host which runs VMs
* fence-virtd with multicast listener
* fence-virtd-libvirt-qpid (patched, patches were posted to pacemaker
list 03.10.2011 for those who need it)
* fence_xvm as a fencing agent

Major problem I recently discovered is that you can have only one
instance of fence_xvm process running (executing) on a node
simultaneously, because it binds to predefined port.

Best,
Vladislav




More information about the Pacemaker mailing list