[Linux-cluster] takeover, fencing & failback

Gerhard Spiegl gspiegl at gmx.at
Wed Jul 2 13:51:05 UTC 2008


John Ruemker wrote:
> Gerhard Spiegl wrote:
>> Hi all,
>>
>> I'm working on a two node cluster (RHEL 5.2 + RHCS) with one
>> XEN virtual machine per node:
>>
>> node1 => VM1
>> node2 => VM2
>>
>> When node1 takes over VM2 via the command:
>>
>> clusvcadm -M vm:VM2 -m node1
>>
>> node2 gets fenced after takeover is done, which is probably expected
>> behaviour.
>>   
> 
> This is not expected.  The vm should migrate and both nodes should
> continue running.
> 
>> As node2 comes up again it fetches his VM2 back (nofailback="0", but also
>> fences node1 (ipmilan) where VM1 is still running an therefore
>> interrupted and restartet on node2.
>> When node1 comes up the same game in the other direction begins.
>> Is there a way to avoid this fence loop?
>>
>> In other words: can a service be migrated from node1 to node2 without
>> other
>> services that run on node1 being interrupted?
>>   
> 
> Are both nodes successfully joined in the cluster?  What does 'cman_tool
> nodes' say?  Can you attach logs showing all of this happening?
> 

Hi,

cman_tool node before an during the migration:

[root at ols011p ~]# cman_tool nodes
Node  Sts   Inc   Joined               Name
   0   M      0   2008-07-02 12:50:31  /dev/mapper/HDS-00F9p2
   1   M   1228   2008-07-02 12:50:19  ols011p.ops.ctbto.org
   2   M   1232   2008-07-02 12:50:19  ols012p.ops.ctbto.org

[root at ols012p ~]# cman_tool nodes
Node  Sts   Inc   Joined               Name
   0   M      0   2008-07-02 12:50:32  /dev/mapper/HDS-00F9p2
   1   M   1232   2008-07-02 12:50:19  ols011p.ops.ctbto.org
   2   M   1224   2008-07-02 12:49:51  ols012p.ops.ctbto.org

everything seems fine.

The logs are attached in seperate files.

thanks
Gerhard

> 
> John
> 
> -- 
> Linux-cluster mailing list
> Linux-cluster at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-cluster
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: OLS011_log
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20080702/e1727312/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: OLS012_log
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20080702/e1727312/attachment-0001.ksh>


More information about the Linux-cluster mailing list