Could you pleas<span></span>e give a hint: how to use fencing in case the nodes are all in different geo-distributed datacenters? How people do that? Because there could be a network disconnection between datacenters, and we have no chance to send a stonith signal somewhere. <br><br>On Wednesday, February 4, 2015, Andrea &lt;<a href="mailto:a.bacchi@codices.com">a.bacchi@codices.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Digimer &lt;lists@...&gt; writes:<br>
<br>
&gt;<br>
&gt; That fence failed until the network came back makes your fence method<br>
&gt; less than ideal. Will it eventually fence with the network still failed?<br>
&gt;<br>
&gt; Most importantly though; Cluster resources blocked while the fence was<br>
&gt; pending? If so, then your cluster is safe, and that is the most<br>
&gt; important part.<br>
&gt;<br>
Hi Digimer<br>
<br>
I&#39;m using for fencing a remote NAS, attached via iscsi target.<br>
During network failure, for example on node2, each node try to fence other node.<br>
Fencing action on node1 get success, but on node2 fail, because it can&#39;t see<br>
iscsi target(network is down!) .<br>
I thinks it&#39;s the reason why node2 doesn&#39;t reboot now, because it can&#39;t make<br>
operation on key reservation and watchdog can&#39;t check for this.<br>
When network come back, watchdog can check for key registration and reboot<br>
node2.<br>
<br>
For clustered filesystem I planned to use ping resource with location<br>
constraint as described here<br>
<a href="http://clusterlabs.org/doc/en-US/Pacemaker/1.0/html/Pacemaker_Explained/ch09s03s03s02.html" target="_blank">http://clusterlabs.org/doc/en-US/Pacemaker/1.0/html/Pacemaker_Explained/ch09s03s03s02.html</a><br>
If the node can&#39;t see iscsi target..then..stop AppServer, Filesystem ecc<br>
<br>
But it doesn&#39;t works. In the node with network failure i see in the log that<br>
pingd is set to 0 but Filesystem resource doesn&#39;t stop.<br>
<br>
I will continue testing...<br>
<br>
Thanks<br>
Andrea<br>
<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Pacemaker mailing list: <a href="javascript:;" onclick="_e(event, &#39;cvml&#39;, &#39;Pacemaker@oss.clusterlabs.org&#39;)">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
</blockquote>