[Linux-cluster] Virtual machine fence fail question

Lon Hohberger lhh at redhat.com
Mon Mar 1 18:19:30 UTC 2010


On Wed, 2010-02-24 at 10:03 +0800, Bernard Chew wrote:
> > On Wed, Feb 24, 2010 at 4:05 AM, Lon Hohberger <lhh at redhat.com> wrote:
> > On Tue, 2010-02-23 at 11:05 +0800, Bernard Chew wrote:
> >> Hi,
> >>
> >> Given I have 2 Red Hat Clusters; 1 cluster consisting of physical
> >> hosts and another consisting of virtual guests which are hosted in the
> >> physical hosts. The physical host cluster uses DRAC fencing while the
> >> virtual guest cluster uses virtual machine fencing.
> >>
> >> If a physical host goes down, I saw that DRAC fencing takes place
> >> successfully but fencing fail for the virtual guests on the physical
> >> host which go down (together). Does the virtual machine fencing fails
> >> because the virtual guests are no longer available? How can I
> >> configure fencing so that both physical hosts and virtual guests are
> >> fenced correctly?
> >
> > Are you using fence_xvm/fence_xvmd or fence_virsh ?
> >
> > -- Lon
> >
> > --
> > Linux-cluster mailing list
> > Linux-cluster at redhat.com
> > https://www.redhat.com/mailman/listinfo/linux-cluster
> >
> 
> Hi Lon,
> 
> Thank you for looking into this. I am currently using fence_xvm/fence_xvmd.

So, fence_xvmd should be making decisions in this case.

If a host is not available (dead), fence_xvmd checks the location of the
VM we're trying to fence.  If the VM was on a host the
physical/bare-metal cluster has previously fenced, then fence_xvmd tells
the requesting VM that the VM is indeed fenced.

This of course requires fence_xvmd to be running in cluster mode and so
forth.

Fencing the VM works if just the VM dies, right?

-- Lon




More information about the Linux-cluster mailing list