On 06/24/2015 12:20 PM, Jonathan Vargas wrote: > Hi there, > > We have a 3-node cluster for OCFS2. > > When one of the nodes fail, it should be fenced. I noticed sometimes one of > them is the one who sends the fencing message to the failing node, and > sometimes it's the another. > > How the cluster decides which of the remaining active nodes will be the one > to tell the failed node to fence itself? > > Thanks.
Fencing resources are assigned to a node like any other resource, even though they don't really "run" anywhere. Assuming you've configured a recurring monitor operation on the resource, that node will monitor the device to ensure it's available. Because that node has "verified" (monitored) access to the device, the cluster will prefer that node to execute the fencing if possible. So it's just whatever node happened to be assigned the fencing resource. If for any reason the node with verified access can't do it, the cluster will fall back to any other capable node. > *Jonathan Vargas RodrÃguez* > Founder and Solution Engineer > Alkaid <https://alkaid.cr/> | Open Source Software > > * mail * jonathan.var...@alkaid.cr > telf +506 4001 6259 Ext. 01 > mobi +506 4001 6259 Ext. 51 > > <http://linkedin.com/in/jonathanvargas/> > <https://plus.google.com/+JonathanVargas/> > <https://www.facebook.com/alkaid.cr> <https://twitter.com/alkaidcr> _______________________________________________ Users mailing list: Users@clusterlabs.org http://clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org