<div dir="ltr">How much time delay difference is enough ? I'm currently setting the delays at 5s and 15s, dual fencing does disappear, but I'm sure whether the difference is large enough for all situations.<br></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Mar 24, 2014 at 8:00 PM, Kristoffer Grönlund <span dir="ltr"><<a href="mailto:kgronlund@suse.com" target="_blank">kgronlund@suse.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Mon, 24 Mar 2014 19:41:16 +0800<br>
邓尧 <<a href="mailto:torshie@gmail.com">torshie@gmail.com</a>> wrote:<br>
<br>
> I'm configuring a 2-node cluster on CentOS 6 with corosync +<br>
> pacemaker + cman. Everything works well except fencing.<br>
><br>
> I'm using IPMI as the fencing device, I know it's not the best fencing<br>
> device, but this is the only option I have.<br>
> Manual fencing a node (pcs stonith fence <node>) works well: peer<br>
> node goes offline, resources migrate as expected. However, if network<br>
> traffic between the two nodes is blocked by iptables, both nodes will<br>
> try to fence each other, and both would success, which result in both<br>
> nodes offline.<br>
><br>
> How to avoid such problem ?<br>
<br>
</div></div>You'll need to have one node take priority, by setting different<br>
delays on the two nodes so that one of them will fence before the<br>
other (see the "delay" parameter).<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
// Kristoffer Grönlund<br>
// <a href="mailto:kgronlund@suse.com">kgronlund@suse.com</a><br>
</font></span></blockquote></div><br></div>