[Linux-cluster] Fence_xvmd/fence_xvm problem

Lon Hohberger lhh at redhat.com
Mon Feb 11 15:06:37 UTC 2008


On Mon, 2008-02-11 at 09:55 +0100, Agnieszka Kukałowicz wrote:
> 
>                                 <method name="1">
> 
>                                        <device domain="d12"
> name="virtual_fence"/>
> 
>                                 </method>
> 

My error; my previous email was in the case your VMs were restarting
constantly.


For fencing, the virtual machines need to know their virtual machine
names according to domain0.  The 'domain=' should match this, not the
virtual machine's hostname.

vm_service2      2dd8193f-e4d4-f41c-a4af-f5b30d19fe00 00001 00001
^^^^^^^^^^^
Request to fence: d12.
                  ^^^

So, if vm_service2 == d12, you need to change cluster.conf:

    <clusternode name="d12" nodeid="2" votes="1">
      <fence>
        <method name="1">
          <device domain="d12" name="virtual_fence"/>
      <!--                ^^^           -->
      <!--    should be "vm_cluster2"   --> 

        </method>
      </fence>
    </clusternode>

-- Lon




More information about the Linux-cluster mailing list