<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
I have a simple resource defined:</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<br>
</div>
<div style="color: rgb(0, 0, 0);">
<div><font face="Consolas" style="font-size: 12px;">[root@ha-d1 ~]# pcs resource show dmz1</font></div>
<div><font face="Consolas" style="font-size: 12px;"> Resource: dmz1 (class=ocf provider=internal type=ip-address)</font></div>
<div><font face="Consolas" style="font-size: 12px;">  Attributes: address=172.16.10.192 monitor_link=true</font></div>
<div><font face="Consolas" style="font-size: 12px;">  Meta Attrs: migration-threshold=3 failure-timeout=30s</font></div>
<div><font face="Consolas" style="font-size: 12px;">  Operations: monitor interval=7s (dmz1-monitor-interval-7s)</font></div>
</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
This is a custom resource which provides an ethernet alias to one of the interfaces on our system.</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
I can unplug the cable on either node and failover occurs as expected, and 30s after re-plugging it I can repeat the exercise on the opposite node and failover will happen as expected.</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
However, if I unplug the cable from both nodes, the failcount goes up, and the 30s failure-timeout does not reset the failcounts, meaning that pacemaker never tries to start the failed resource again.</div>
<div>
<div>
<div style="color: rgb(0, 0, 0);"><font face="Consolas" style="font-size: 12px;"><br>
</font></div>
<div style="color: rgb(0, 0, 0);"><font face="Consolas" style="font-size: 12px;">Full list of resources:</font></div>
<div style="color: rgb(0, 0, 0);"><font face="Consolas" style="font-size: 12px;"><br>
</font></div>
<div style="color: rgb(0, 0, 0);"><font face="Consolas" style="font-size: 12px;"> Resource Group: network</font></div>
<div><font face="Consolas"><span style="font-size: 12px;">     inif       (off::internal:ip.sh):       Started ha-d1.dev.com</span></font></div>
<div><font face="Consolas"><span style="font-size: 12px;">     outif      (off::internal:ip.sh):       Started ha-d2.dev.com</span></font></div>
<div><font face="Consolas"><span style="font-size: 12px;">     dmz1       (off::internal:ip.sh):       Stopped</span></font></div>
<div style="color: rgb(0, 0, 0);"><font face="Consolas" style="font-size: 12px;"> Master/Slave Set: DRBDMaster [DRBDSlave]</font></div>
<div style="color: rgb(0, 0, 0);"><font face="Consolas" style="font-size: 12px;">     Masters: [ ha-d1.dev.com ]</font></div>
<div style="color: rgb(0, 0, 0);"><font face="Consolas" style="font-size: 12px;">     Slaves: [ ha-d2.dev.com ]</font></div>
<div style="color: rgb(0, 0, 0);"><font face="Consolas" style="font-size: 12px;"> Resource Group: filesystem</font></div>
<div style="color: rgb(0, 0, 0);"><font face="Consolas" style="font-size: 12px;">     DRBDFS     (ocf::heartbeat:Filesystem):    Stopped</font></div>
<div style="color: rgb(0, 0, 0);"><font face="Consolas" style="font-size: 12px;"> Resource Group: application</font></div>
<div><font face="Consolas"><span style="font-size: 12px;">     service_failover   (off::internal:service_failover):    Stopped</span></font></div>
</div>
<div style="color: rgb(0, 0, 0);"><font face="Consolas" style="font-size: 12px;"><br>
</font></div>
<div style="color: rgb(0, 0, 0);"><font face="Consolas" style="font-size: 12px;">Failcounts for dmz1</font></div>
<div style="color: rgb(0, 0, 0);"><font face="Consolas" style="font-size: 12px;"> ha-d1.dev.com: 4</font></div>
<div style="color: rgb(0, 0, 0);"><font face="Consolas" style="font-size: 12px;"> ha-d2.dev.com: 4</font></div>
</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
Is there any way to automatically recover from this scenario, other than setting an obnoxiously high migration-threshold? </div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<div>-- </div>
<div>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt;"><b><span style="font-family: Arial, sans-serif; color: rgb(0, 143, 197);">Sam Gardner   </span><span style="color: rgb(0, 143, 197);"><o:p></o:p></span></b></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt;"><span style="font-size: 10.5pt; font-family: Arial, sans-serif; color: rgb(88, 89, 91);">Software Engineer</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt;"><b style="font-size: 11pt;"><span style="font-family: Arial, sans-serif; color: rgb(0, 143, 197);">Trustwave</span></b><b style="font-size: 11pt;"><span style="font-family: Arial, sans-serif; color: rgb(88, 89, 91);"> </span></b><span style="font-size: 10.5pt; font-family: Arial, sans-serif; color: rgb(88, 89, 91);">| SMART
 SECURITY ON DEMAND</span></p>
</div>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1"><br>
This transmission may contain information that is privileged, confidential, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information
 contained herein (including any reliance thereon) is strictly prohibited. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format.<br>
</font>
</body>
</html>