<div class="gmail_quote">On Thu, May 20, 2010 at 2:40 PM, Koch, Sebastian <span dir="ltr">&lt;<a href="mailto:Sebastian.Koch@netzwerk.de">Sebastian.Koch@netzwerk.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">









<div lang="DE" link="blue" vlink="purple">

<div>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Thanks for your hints. I had the same issue and your tips nearly
resolved it for me. But i got a question. I setted the default timeout and
afterwards the pingd resource started to work as expected. I had a IPTABLES
Rule dropping icmp on one node and recieved: </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span><span class="Apple-style-span" style="font-size: 15px; color: rgb(31, 73, 125); ">[snip]</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">When i remove the dropping iptables rule with IPTABLES –F the
ping works again BUT the Migration summary doesn’t change. I understood
it like this: does the pingd fail the node gets a value like the multiplier
(100 in my case). I thought: okay the pingd resource works on both nodes again
so therefore both should have a value of = 100. Am i right or did i understand
it wrong?</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span><span class="Apple-style-span" style="font-size: 15px; color: rgb(31, 73, 125); ">[snip]</span></p><div class="im">

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">primitive pinggw ocf:pacemaker:pingd \</span></p>

</div><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">        params
host_list=&quot;10.1.1.162&quot; multiplier=&quot;100&quot; \</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">        op monitor
interval=&quot;10&quot;</span></p>

<p class="MsoNormal"><font class="Apple-style-span" color="#1F497D" size="4"><span class="Apple-style-span" style="font-size: 15px;">[snip]</span></font></p><div class="im">

<p class="MsoNormal"><span class="Apple-style-span" style="font-size: 15px; color: rgb(31, 73, 125); ">rsc_defaults $id=&quot;rsc-options&quot; \</span></p></div><div class="im">

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">       
resource-stickiness=&quot;100&quot;</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span> </p></div></div></div></blockquote></div><div>For me it works as expected (ping scores come back), with these differences, as Vadym suggested:</div>
<div>- using ping instead of pingd as primitive and giving a 200 for multiplier:</div><div>primitive pinggw ocf:pacemaker:ping \</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>params host_list=&quot;192.168.101.1&quot; multiplier=&quot;200&quot; timeout=&quot;3&quot; \</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>op monitor interval=&quot;10&quot; timeout=&quot;60&quot; \</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>op start interval=&quot;0&quot; timeout=&quot;60&quot;</div>
<div><br></div><div>- setting default stickiness to 1000</div><div>rsc_defaults $id=&quot;rsc-options&quot; \</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>resource-stickiness=&quot;1000&quot;</div>
<div><br></div><div>HIH,</div><div>Gianluca</div>