<div dir="ltr"><span style="color:rgb(0,0,0);font-size:13px"><font face="arial, helvetica, sans-serif">Hi!</font></span><div style="color:rgb(0,0,0);font-size:13px"><font face="arial, helvetica, sans-serif"><br></font></div>
<div style="color:rgb(0,0,0);font-size:13px"><font face="arial, helvetica, sans-serif">In the environment we use corosync/pacemaker, recently we are having some problems with the network used to maintain the cluster. This short interruptions cause the passive node (we have a two node active-passive configuration with apache tomcat) to think he is alone, and start another instance of tomcat. </font></div>
<div style="color:rgb(0,0,0);font-size:13px"><font face="arial, helvetica, sans-serif">Few seconds later, the cluster reconnects, and the resource is found active in both nodes. The default behaviour (as seen in <a href="http://clusterlabs.org/doc/en-US/Pacemaker/1.0/html/Pacemaker_Explained/s-resource-options.html" title="http://clusterlabs.org/doc/en-US/Pacemaker/1.0/html/Pacemaker_Explained/s-resource-options.html
Ctrl+clic para seguir el vínculo" style="font-size:10pt">http://clusterlabs.org/doc/en-US/Pacemaker/1.0/html/Pacemaker_Explained/s-resource-options.html</a>) is to stop both, and start one of them.</font></div><div style="color:rgb(0,0,0);font-size:13px">
<font face="arial, helvetica, sans-serif"><br></font></div><div style="color:rgb(0,0,0);font-size:13px"><font face="arial, helvetica, sans-serif">For us, this implies that service is down everytime a short interruption in the network occurs.</font></div>
<div style="color:rgb(0,0,0)"><font face="arial, helvetica, sans-serif"><br></font></div><div style="color:rgb(0,0,0)"><font face="arial, helvetica, sans-serif">Maybe a new option for "<span style="line-height:15.46875px">multiple-active" like "stop_old" and/or "stop_new" could be useful, stopping only the newest instance of the resource.</span></font></div>
<div style="color:rgb(0,0,0)"><font face="arial, helvetica, sans-serif"><span style="line-height:15.46875px"><br></span></font></div><div style="color:rgb(0,0,0)"><font face="arial, helvetica, sans-serif"><span style="line-height:15.46875px">Thanks!</span></font></div>
<div style="color:rgb(0,0,0)"><font face="arial, helvetica, sans-serif"><span style="line-height:15.46875px">Adrián</span></font></div></div>