<p dir="ltr"><br>
Le 13 nov. 2014 12:09, &quot;Arjun Pandey&quot; &lt;<a href="mailto:apandepublic@gmail.com">apandepublic@gmail.com</a>&gt; a écrit :<br>
&gt;<br>
&gt; Hi <br>
&gt;<br>
&gt; I am running a 2 node cluster with this config<br>
&gt;<br>
&gt; Master/Slave Set: foo-master [foo]<br>
&gt; Masters: [ bharat ]<br>
&gt; Slaves: [ ram ]<br>
&gt; AC_FLT (ocf::pw:IPaddr): Started bharat<br>
&gt; CR_CP_FLT (ocf::pw:IPaddr): Started bharat<br>
&gt; CR_UP_FLT (ocf::pw:IPaddr): Started bharat<br>
&gt; Mgmt_FLT (ocf::pw:IPaddr): Started bharat<br>
&gt;<br>
&gt; where IPaddr RA is just modified IPAddr2 RA. Additionally i have a<br>
&gt; collocation constraint for the IP addr to be collocated with the master.<br>
&gt; I have set the migration-threshold as 2 for the VIP. I also have set the failure-timeout to 15s.<br>
&gt;<br>
&gt;<br>
&gt; Initially i bring down the interface on bharat to force switch-over to ram. After this i fail the interfaces on bharat again. Now i bring the interface up again on ram. However the virtual IP&#39;s are now in stopped state.<br>
&gt;<br>
&gt; I don&#39;t get out of this unless i use crm_resource -C to reset state of resources.<br>
&gt; However if i check failcount of resources after this it&#39;s still set as INFINITY.<br>
&gt; Based on the documentation the failcount on a node should have expired after the failure-timeout.That doesn&#39;t happen. </p>
<p dir="ltr">Expiration probably happens, meaning the failure is marked for expiration. However, expired failures are only removed when the timer pops in, which is defined by the cluster-recheck-interval (by default 15 mins).</p>
<p dir="ltr">&gt; However why don&#39;t we reset the count after the the crm_resource -C command too. Any other command to actually reset the failcount.<br>
&gt;<br>
&gt; Thanks in advance<br>
&gt;<br>
&gt; Regards<br>
&gt; Arjun<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">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
&gt;<br>
&gt; Project Home: <a href="http://www.clusterlabs.org">http://www.clusterlabs.org</a><br>
&gt; Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
&gt; Bugs: <a href="http://bugs.clusterlabs.org">http://bugs.clusterlabs.org</a><br>
&gt;<br>
</p>