<div dir="ltr">Hello,<div><br></div><div>After adding the ping resource I have the following messages:</div><div><br></div><div><div>[root@BACKEND2 user]# crm configure primitive ping ocf:pacemaker:ping op monitor timeout="20" interval="10" params host_list="10.76.44.1" multiplier=1000</div>
<div>expr: division by zero</div><div>expr: syntax error</div><div>/usr/lib/ocf/resource.d/pacemaker/ping: line 262: [: -lt: unary operator expected</div><div>/usr/lib/ocf/resource.d/pacemaker/ping: line 264: [: -gt: unary operator expected</div>
<div>WARNING: ping: default timeout 20s for start is smaller than the advised 60</div><div>WARNING: ping: specified timeout 20 for monitor_0 is smaller than the advised 60</div><div><br></div><div><br></div><div>Is this the reason why it doesn't work?? And how is it possible to avoid it.</div>
<div><br></div><div>Thanks so much</div><br><div class="gmail_quote">2011/3/22 tariq fillah <span dir="ltr"><<a href="mailto:tariqfcb@gmail.com">tariqfcb@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div dir="ltr">I didn't disconnect the node from the cluster, I just disconnected the node from the network (which is ensured by a bond), but the cluster layer is still there.<div>Which log file exactly with you like me to show you</div>
<div><br></div><div>Thank you very much for your replys<div><div></div><div class="h5"><br><br><div class="gmail_quote">2011/3/22 Pavel Levshin <span dir="ltr"><<a href="mailto:pavel@levshin.spb.ru" target="_blank">pavel@levshin.spb.ru</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
22.03.2011 21:53, tariq fillah:<div><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello Pavel,<br>
<br>
Thank you for your help.<br>
<br>
I tried what you told me, but it doesn't seem to work, when I take off both networks layers (for the bond), the resource doesn't migrate.<br>
<br>
</blockquote>
<br></div>
Did you disconnect the node from the cluster, taking all network down? If so, it is completely different matter. Ping check is not suitable for this case.<br>
<br>
Diagnosis would be possible, if you showed complete config and logs.<br>
<br>
<br>
--<br><font color="#888888">
Pavel Levshin</font><div><div></div><div><br>
<br>
<br>
_______________________________________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker" target="_blank">http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker</a><br>
</div></div></blockquote></div><br></div></div></div></div>
</blockquote></div><br></div></div>