Is it possible to ping the router with this :<div><br></div><div><span class="Apple-style-span" style="font-family: &#39;liberation sans&#39;, &#39;Myriad &#39;, &#39;Bitstream Vera Sans&#39;, &#39;Lucida Grande&#39;, &#39;Luxi Sans&#39;, &#39;Trebuchet MS&#39;, helvetica, verdana, arial, sans-serif; font-size: 12px; line-height: 15px; "><pre class="programlisting" style="line-height: 1.29em; font-family: &#39;liberation mono&#39;, &#39;bitstream vera mono&#39;, &#39;dejavu mono&#39;, monospace; display: block; background-color: rgb(238, 238, 238); margin-bottom: 0.3em; padding-top: 0.5em; padding-right: 1em; padding-bottom: 0.5em; padding-left: 1em; white-space: pre-wrap; word-wrap: break-word; font-size: 0.9em; border-top-left-radius: 11px 11px; border-top-right-radius: 11px 11px; border-bottom-right-radius: 11px 11px; border-bottom-left-radius: 11px 11px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(115, 47, 47); border-right-color: rgb(115, 47, 47); border-bottom-color: rgb(115, 47, 47); border-left-color: rgb(115, 47, 47); ">
&lt;clone id=&quot;Connected&quot;&gt;
   &lt;primitive id=&quot;ping&quot; provider=&quot;pacemaker&quot; class=&quot;ocf&quot; type=&quot;ping&quot;&gt;
    &lt;instance_attributes id=&quot;ping-attrs&quot;&gt;
      &lt;nvpair id=&quot;pingd-dampen&quot; name=&quot;dampen&quot; value=&quot;5s&quot;/&gt;
      &lt;nvpair id=&quot;pingd-multiplier&quot; name=&quot;multiplier&quot; value=&quot;1000&quot;/&gt;
      &lt;nvpair id=&quot;pingd-hosts&quot; name=&quot;host_list&quot; value=&quot;_routerip_&quot;/&gt;
    &lt;/instance_attributes&gt;
    &lt;operations&gt;
      &lt;op id=&quot;ping-monitor-60s&quot; interval=&quot;60s&quot; name=&quot;monitor&quot;/&gt;
    &lt;/operations&gt;
   &lt;/primitive&gt;
  &lt;/clone&gt;</pre></span><div><br></div><div>Then make a rule when the connectivity is lost.</div><div><br></div><div><span class="Apple-style-span" style="font-family: &#39;liberation sans&#39;, &#39;Myriad &#39;, &#39;Bitstream Vera Sans&#39;, &#39;Lucida Grande&#39;, &#39;Luxi Sans&#39;, &#39;Trebuchet MS&#39;, helvetica, verdana, arial, sans-serif; font-size: 12px; line-height: 15px; "><pre class="programlisting" style="line-height: 1.29em; font-family: &#39;liberation mono&#39;, &#39;bitstream vera mono&#39;, &#39;dejavu mono&#39;, monospace; display: block; background-color: rgb(238, 238, 238); margin-bottom: 0.3em; padding-top: 0.5em; padding-right: 1em; padding-bottom: 0.5em; padding-left: 1em; white-space: pre-wrap; word-wrap: break-word; font-size: 0.9em; border-top-left-radius: 11px 11px; border-top-right-radius: 11px 11px; border-bottom-right-radius: 11px 11px; border-bottom-left-radius: 11px 11px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(115, 47, 47); border-right-color: rgb(115, 47, 47); border-bottom-color: rgb(115, 47, 47); border-left-color: rgb(115, 47, 47); ">
&lt;rsc_location id=&quot;WebServer-no-connectivity&quot; rsc=&quot;Webserver&quot;&gt;
   &lt;rule id=&quot;ping-exclude-rule&quot; score=&quot;-INFINITY&quot; &gt;
    &lt;expression id=&quot;ping-exclude&quot; attribute=&quot;pingd&quot; operation=&quot;not_defined&quot;/&gt;
   &lt;/rule&gt;
  &lt;/rsc_location&gt;</pre></span></div><div><br></div><div>Simon</div><br><div class="gmail_quote">On Tue, May 18, 2010 at 5:52 AM, Dejan Muhamedagic <span dir="ltr">&lt;<a href="mailto:dejanmm@fastmail.fm">dejanmm@fastmail.fm</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<div class="im"><br>
On Mon, May 17, 2010 at 03:56:54PM -0400, Vadym Chepkov wrote:<br>
&gt;<br>
&gt; On May 17, 2010, at 11:56 AM, Simon Lavigne-Giroux wrote:<br>
&gt;<br>
&gt; &gt; Hi,<br>
&gt; &gt;<br>
&gt; &gt; I have 2 servers running Pacemaker. When the router fails,<br>
&gt; &gt; both nodes become primary. Is it possible for Pacemaker on<br>
&gt; &gt; the secondary server to detect that the network connection is<br>
&gt; &gt; not available and not become primary.<br>
&gt; &gt;<br>
&gt;<br>
&gt; <a href="http://www.clusterlabs.org/doc/en-US/Pacemaker/1.0/html/Pacemaker_Explained/ch09s03s03s02.html" target="_blank">http://www.clusterlabs.org/doc/en-US/Pacemaker/1.0/html/Pacemaker_Explained/ch09s03s03s02.html</a><br>

<br>
</div>That won&#39;t help since it looks like the router is in the<br>
heartbeat path. You need redundant communications in the cluster.<br>
<br>
Thanks,<br>
<font color="#888888"><br>
Dejan<br>
</font><div><div></div><div class="h5"><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
&gt; <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
&gt;<br>
&gt; Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
&gt; 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>
<br>
_______________________________________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">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>
</div></div></blockquote></div><br></div>