<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0);">
<div style="font-size: 14px; font-family: Calibri, sans-serif;">I have configured some network resources to automatically standby their node if the system detects a failure on them. However, the DRBD slave that I have configured does not automatically restart
after the node is "unstandby-ed" after the failure-timeout expires.</div>
<div style="font-size: 14px; font-family: Calibri, sans-serif;">Is there any way to make the "stopped" DRBDSlave resource automatically start again once the node is recovered?</div>
<div style="font-size: 14px; font-family: Calibri, sans-serif;"><br>
</div>
<div style="font-size: 14px; font-family: Calibri, sans-serif;">See the progression of events below:</div>
<div style="font-size: 14px; font-family: Calibri, sans-serif;"><br>
</div>
<div style="font-size: 14px; font-family: Calibri, sans-serif;">Running cluster:</div>
<div>
<div><font face="Consolas" style="font-size: 10px;">Wed Mar 30 16:04:20 UTC 2016</font></div>
<div><font face="Consolas" style="font-size: 10px;">Cluster name:</font></div>
<div><font face="Consolas" style="font-size: 10px;">Last updated: Wed Mar 30 16:04:20 2016</font></div>
<div><font face="Consolas" style="font-size: 10px;">Last change: Wed Mar 30 16:03:24 2016</font></div>
<div><font face="Consolas" style="font-size: 10px;">Stack: classic openais (with plugin)</font></div>
<div><font face="Consolas" style="font-size: 10px;">Current DC: ha-d1.tw.com - partition with quorum</font></div>
<div><font face="Consolas" style="font-size: 10px;">Version: 1.1.12-561c4cf</font></div>
<div><font face="Consolas" style="font-size: 10px;">2 Nodes configured, 2 expected votes</font></div>
<div><font face="Consolas" style="font-size: 10px;">7 Resources configured</font></div>
<div><font face="Consolas" style="font-size: 10px;"><br>
</font></div>
<div><font face="Consolas" style="font-size: 10px;"><br>
</font></div>
<div><font face="Consolas" style="font-size: 10px;">Online: [ ha-d1.tw.com ha-d2.tw.com ]</font></div>
<div><font face="Consolas" style="font-size: 10px;"><br>
</font></div>
<div><font face="Consolas" style="font-size: 10px;">Full list of resources:</font></div>
<div><font face="Consolas" style="font-size: 10px;"><br>
</font></div>
<div><font face="Consolas" style="font-size: 10px;"> Resource Group: network</font></div>
<div><font face="Consolas" style="font-size: 10px;"> inif (ocf::custom:ip.sh): Started ha-d1.tw.com</font></div>
<div><font face="Consolas" style="font-size: 10px;"> outif (ocf::custom:ip.sh): Started ha-d1.tw.com</font></div>
<div><font face="Consolas" style="font-size: 10px;"> dmz1 (ocf::custom:ip.sh): Started ha-d1.tw.com</font></div>
<div><font face="Consolas" style="font-size: 10px;"> Master/Slave Set: DRBDMaster [DRBDSlave]</font></div>
<div><font face="Consolas" style="font-size: 10px;"> Masters: [ ha-d1.tw.com ]</font></div>
<div><font face="Consolas" style="font-size: 10px;"> Slaves: [ ha-d2.tw.com ]</font></div>
<div><font face="Consolas" style="font-size: 10px;"> Resource Group: filesystem</font></div>
<div><font face="Consolas" style="font-size: 10px;"> DRBDFS (ocf::heartbeat:Filesystem): Started ha-d1.tw.com</font></div>
<div><font face="Consolas" style="font-size: 10px;"> Resource Group: application</font></div>
<div><font face="Consolas" style="font-size: 10px;"> service_failover (ocf::custom:service_failover): Started ha-d1.tw.com</font></div>
<div><font face="Consolas" style="font-size: 10px;"><br>
</font></div>
<div><font face="Consolas" style="font-size: 10px;"><br>
</font></div>
<div><font face="Consolas" style="font-size: 10px;">version: 8.4.5 (api:1/proto:86-101)</font></div>
<div><font face="Consolas" style="font-size: 10px;">srcversion: 315FB2BBD4B521D13C20BF4</font></div>
<div><font face="Consolas" style="font-size: 10px;"><br>
</font></div>
<div><font face="Consolas" style="font-size: 10px;"> 1: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate C r-----</font></div>
<div><font face="Consolas" style="font-size: 10px;"> ns:4 nr:0 dw:4 dr:757 al:1 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:f oos:0</font></div>
<div><font face="Consolas" style="font-size: 10px;">[153766.565352] block drbd1: send bitmap stats [Bytes(packets)]: plain 0(0), RLE 21(1), total 21; compression: 100.0%</font></div>
<div><font face="Consolas" style="font-size: 10px;">[153766.568303] block drbd1: receive bitmap stats [Bytes(packets)]: plain 0(0), RLE 21(1), total 21; compression: 100.0%</font></div>
<div><font face="Consolas" style="font-size: 10px;">[153766.568316] block drbd1: helper command: /sbin/drbdadm before-resync-source minor-1</font></div>
<div><font face="Consolas" style="font-size: 10px;">[153766.568356] block drbd1: helper command: /sbin/drbdadm before-resync-source minor-1 exit code 255 (0xfffffffe)</font></div>
<div><font face="Consolas" style="font-size: 10px;">[153766.568363] block drbd1: conn( WFBitMapS -> SyncSource ) pdsk( Consistent -> Inconsistent )</font></div>
<div><font face="Consolas" style="font-size: 10px;">[153766.568374] block drbd1: Began resync as SyncSource (will sync 4 KB [1 bits set]).</font></div>
<div><font face="Consolas" style="font-size: 10px;">[153766.568444] block drbd1: updated sync UUID B0DA745C79C56591:36E0631B6F022952:36DF631B6F022952:133127197CF097C6</font></div>
<div><font face="Consolas" style="font-size: 10px;">[153766.577695] block drbd1: Resync done (total 1 sec; paused 0 sec; 4 K/sec)</font></div>
<div><font face="Consolas" style="font-size: 10px;">[153766.577700] block drbd1: updated UUIDs B0DA745C79C56591:0000000000000000:36E0631B6F022952:36DF631B6F022952</font></div>
<div><font face="Consolas" style="font-size: 10px;">[153766.577705] block drbd1: conn( SyncSource -> Connected ) pdsk( Inconsistent -> UpToDate )¯</font></div>
</div>
<div style="font-size: 14px; font-family: Calibri, sans-serif;"><br>
</div>
<div style="font-size: 14px; font-family: Calibri, sans-serif;">Failure detected:</div>
<div>
<div><font face="Consolas" style="font-size: 10px;">Wed Mar 30 16:08:22 UTC 2016</font></div>
<div><font face="Consolas" style="font-size: 10px;">Cluster name:</font></div>
<div><font face="Consolas" style="font-size: 10px;">Last updated: Wed Mar 30 16:08:22 2016</font></div>
<div><font face="Consolas" style="font-size: 10px;">Last change: Wed Mar 30 16:03:24 2016</font></div>
<div><font face="Consolas" style="font-size: 10px;">Stack: classic openais (with plugin)</font></div>
<div><font face="Consolas" style="font-size: 10px;">Current DC: ha-d1.tw.com - partition with quorum</font></div>
<div><font face="Consolas" style="font-size: 10px;">Version: 1.1.12-561c4cf</font></div>
<div><font face="Consolas" style="font-size: 10px;">2 Nodes configured, 2 expected votes</font></div>
<div><font face="Consolas" style="font-size: 10px;">7 Resources configured</font></div>
<div><font face="Consolas" style="font-size: 10px;"><br>
</font></div>
<div><font face="Consolas" style="font-size: 10px;"><br>
</font></div>
<div><font face="Consolas" style="font-size: 10px;">Node ha-d1.tw.com: standby (on-fail)</font></div>
<div><font face="Consolas" style="font-size: 10px;">Online: [ ha-d2.tw.com ]</font></div>
<div><font face="Consolas" style="font-size: 10px;"><br>
</font></div>
<div><font face="Consolas" style="font-size: 10px;">Full list of resources:</font></div>
<div><font face="Consolas" style="font-size: 10px;"><br>
</font></div>
<div><font face="Consolas" style="font-size: 10px;"> Resource Group: network</font></div>
<div><font face="Consolas" style="font-size: 10px;"> inif (ocf::custom:ip.sh): Started ha-d1.tw.com</font></div>
<div><font face="Consolas" style="font-size: 10px;"> outif (ocf::custom:ip.sh): Started ha-d1.tw.com</font></div>
<div><font face="Consolas" style="font-size: 10px;"> dmz1 (ocf::custom:ip.sh): FAILED ha-d1.tw.com</font></div>
<div><font face="Consolas" style="font-size: 10px;"> Master/Slave Set: DRBDMaster [DRBDSlave]</font></div>
<div><font face="Consolas" style="font-size: 10px;"> Masters: [ ha-d1.tw.com ]</font></div>
<div><font face="Consolas" style="font-size: 10px;"> Slaves: [ ha-d2.tw.com ]</font></div>
<div><font face="Consolas" style="font-size: 10px;"> Resource Group: filesystem</font></div>
<div><font face="Consolas" style="font-size: 10px;"> DRBDFS (ocf::heartbeat:Filesystem): Started ha-d1.tw.com</font></div>
<div><font face="Consolas" style="font-size: 10px;"> Resource Group: application</font></div>
<div><font face="Consolas" style="font-size: 10px;"> service_failover (ocf::custom:service_failover): Started ha-d1.tw.com</font></div>
<div><font face="Consolas" style="font-size: 10px;"><br>
</font></div>
<div><font face="Consolas" style="font-size: 10px;">Failed actions:</font></div>
<div><font face="Consolas" style="font-size: 10px;"> dmz1_monitor_7000 on ha-d1.tw.com 'not running' (7): call=156, status=complete, last-rc-change='Wed Mar 30 16:08:19 2016', queued=0ms, exec=0ms</font></div>
<div><font face="Consolas" style="font-size: 10px;"><br>
</font></div>
<div><font face="Consolas" style="font-size: 10px;"><br>
</font></div>
<div><font face="Consolas" style="font-size: 10px;"><br>
</font></div>
<div><font face="Consolas" style="font-size: 10px;">version: 8.4.5 (api:1/proto:86-101)</font></div>
<div><font face="Consolas" style="font-size: 10px;">srcversion: 315FB2BBD4B521D13C20BF4</font></div>
<div><font face="Consolas" style="font-size: 10px;"><br>
</font></div>
<div><font face="Consolas" style="font-size: 10px;"> 1: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate C r-----</font></div>
<div><font face="Consolas" style="font-size: 10px;"> ns:4 nr:0 dw:4 dr:765 al:1 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:f oos:0</font></div>
<div><font face="Consolas" style="font-size: 10px;">[153766.568356] block drbd1: helper command: /sbin/drbdadm before-resync-source minor-1 exit code 255 (0xfffffffe)</font></div>
<div><font face="Consolas" style="font-size: 10px;">[153766.568363] block drbd1: conn( WFBitMapS -> SyncSource ) pdsk( Consistent -> Inconsistent )</font></div>
<div><font face="Consolas" style="font-size: 10px;">[153766.568374] block drbd1: Began resync as SyncSource (will sync 4 KB [1 bits set]).</font></div>
<div><font face="Consolas" style="font-size: 10px;">[153766.568444] block drbd1: updated sync UUID B0DA745C79C56591:36E0631B6F022952:36DF631B6F022952:133127197CF097C6</font></div>
<div><font face="Consolas" style="font-size: 10px;">[153766.577695] block drbd1: Resync done (total 1 sec; paused 0 sec; 4 K/sec)</font></div>
<div><font face="Consolas" style="font-size: 10px;">[153766.577700] block drbd1: updated UUIDs B0DA745C79C56591:0000000000000000:36E0631B6F022952:36DF631B6F022952</font></div>
<div><font face="Consolas" style="font-size: 10px;">[153766.577705] block drbd1: conn( SyncSource -> Connected ) pdsk( Inconsistent -> UpToDate )</font></div>
<div><font face="Consolas" style="font-size: 10px;">[154057.455270] e1000: eth2 NIC Link is Down</font></div>
<div><font face="Consolas" style="font-size: 10px;">[154057.455451] e1000 0000:02:02.0 eth2: Reset adapter</font></div>
</div>
<div><font face="Consolas" style="font-size: 10px;"><br>
</font></div>
<div><font face="Calibri">Failover complete:</font></div>
<div>
<div><font face="Consolas" style="font-size: 10px;">Wed Mar 30 16:09:02 UTC 2016</font></div>
<div><font face="Consolas" style="font-size: 10px;">Cluster name:</font></div>
<div><font face="Consolas" style="font-size: 10px;">Last updated: Wed Mar 30 16:09:02 2016</font></div>
<div><font face="Consolas" style="font-size: 10px;">Last change: Wed Mar 30 16:03:24 2016</font></div>
<div><font face="Consolas" style="font-size: 10px;">Stack: classic openais (with plugin)</font></div>
<div><font face="Consolas" style="font-size: 10px;">Current DC: ha-d1.tw.com - partition with quorum</font></div>
<div><font face="Consolas" style="font-size: 10px;">Version: 1.1.12-561c4cf</font></div>
<div><font face="Consolas" style="font-size: 10px;">2 Nodes configured, 2 expected votes</font></div>
<div><font face="Consolas" style="font-size: 10px;">7 Resources configured</font></div>
<div><font face="Consolas" style="font-size: 10px;"><br>
</font></div>
<div><font face="Consolas" style="font-size: 10px;"><br>
</font></div>
<div><font face="Consolas" style="font-size: 10px;">Node ha-d1.tw.com: standby (on-fail)</font></div>
<div><font face="Consolas" style="font-size: 10px;">Online: [ ha-d2.tw.com ]</font></div>
<div><font face="Consolas" style="font-size: 10px;"><br>
</font></div>
<div><font face="Consolas" style="font-size: 10px;">Full list of resources:</font></div>
<div><font face="Consolas" style="font-size: 10px;"><br>
</font></div>
<div><font face="Consolas" style="font-size: 10px;"> Resource Group: network</font></div>
<div><font face="Consolas" style="font-size: 10px;"> inif (ocf::custom:ip.sh): Started ha-d2.tw.com</font></div>
<div><font face="Consolas" style="font-size: 10px;"> outif (ocf::custom:ip.sh): Started ha-d2.tw.com</font></div>
<div><font face="Consolas" style="font-size: 10px;"> dmz1 (ocf::custom:ip.sh): Started ha-d2.tw.com</font></div>
<div><font face="Consolas" style="font-size: 10px;"> Master/Slave Set: DRBDMaster [DRBDSlave]</font></div>
<div><font face="Consolas" style="font-size: 10px;"> Masters: [ ha-d2.tw.com ]</font></div>
<div><font face="Consolas" style="font-size: 10px;"> Stopped: [ ha-d1.tw.com ]</font></div>
<div><font face="Consolas" style="font-size: 10px;"> Resource Group: filesystem</font></div>
<div><font face="Consolas" style="font-size: 10px;"> DRBDFS (ocf::heartbeat:Filesystem): Started ha-d2.tw.com</font></div>
<div><font face="Consolas" style="font-size: 10px;"> Resource Group: application</font></div>
<div><font face="Consolas" style="font-size: 10px;"> service_failover (ocf::custom:service_failover): Started ha-d2.tw.com</font></div>
<div><font face="Consolas" style="font-size: 10px;"><br>
</font></div>
<div><font face="Consolas" style="font-size: 10px;">Failed actions:</font></div>
<div><font face="Consolas" style="font-size: 10px;"> dmz1_monitor_7000 on ha-d1.tw.com 'not running' (7): call=156, status=complete, last-rc-change='Wed Mar 30 16:08:19 2016', queued=0ms, exec=0ms</font></div>
<div><font face="Consolas" style="font-size: 10px;"><br>
</font></div>
<div><font face="Consolas" style="font-size: 10px;"><br>
</font></div>
<div><font face="Consolas" style="font-size: 10px;"><br>
</font></div>
<div><font face="Consolas" style="font-size: 10px;">version: 8.4.5 (api:1/proto:86-101)</font></div>
<div><font face="Consolas" style="font-size: 10px;">srcversion: 315FB2BBD4B521D13C20BF4</font></div>
<div><font face="Consolas" style="font-size: 10px;">[154094.894524] drbd wwwdata: conn( Disconnecting -> StandAlone )</font></div>
<div><font face="Consolas" style="font-size: 10px;">[154094.894525] drbd wwwdata: receiver terminated</font></div>
<div><font face="Consolas" style="font-size: 10px;">[154094.894527] drbd wwwdata: Terminating drbd_r_wwwdata</font></div>
<div><font face="Consolas" style="font-size: 10px;">[154094.894559] block drbd1: disk( UpToDate -> Failed )</font></div>
<div><font face="Consolas" style="font-size: 10px;">[154094.894569] block drbd1: bitmap WRITE of 0 pages took 0 jiffies</font></div>
<div><font face="Consolas" style="font-size: 10px;">[154094.894571] block drbd1: 4 KB (1 bits) marked out-of-sync by on disk bit-map.</font></div>
<div><font face="Consolas" style="font-size: 10px;">[154094.894574] block drbd1: disk( Failed -> Diskless )</font></div>
<div><font face="Consolas" style="font-size: 10px;">[154094.894647] block drbd1: drbd_bm_resize called with capacity == 0</font></div>
<div><font face="Consolas" style="font-size: 10px;">[154094.894652] drbd wwwdata: Terminating drbd_w_wwwdata</font></div>
</div>
<div style="font-size: 14px; font-family: Calibri, sans-serif;"><br>
</div>
<div style="font-size: 14px; font-family: Calibri, sans-serif;">Standby node recovered, with DRBDSlave stopped (<b>I want DRBDSlave started here</b>):</div>
<div>
<div><font face="Consolas" style="font-size: 10px;">Wed Mar 30 16:13:01 UTC 2016</font></div>
<div><font face="Consolas" style="font-size: 10px;">Cluster name:</font></div>
<div><font face="Consolas" style="font-size: 10px;">Last updated: Wed Mar 30 16:13:01 2016</font></div>
<div><font face="Consolas" style="font-size: 10px;">Last change: Wed Mar 30 16:03:24 2016</font></div>
<div><font face="Consolas" style="font-size: 10px;">Stack: classic openais (with plugin)</font></div>
<div><font face="Consolas" style="font-size: 10px;">Current DC: ha-d1.tw.com - partition with quorum</font></div>
<div><font face="Consolas" style="font-size: 10px;">Version: 1.1.12-561c4cf</font></div>
<div><font face="Consolas" style="font-size: 10px;">2 Nodes configured, 2 expected votes</font></div>
<div><font face="Consolas" style="font-size: 10px;">7 Resources configured</font></div>
<div><font face="Consolas" style="font-size: 10px;"><br>
</font></div>
<div><font face="Consolas" style="font-size: 10px;"><br>
</font></div>
<div><font face="Consolas" style="font-size: 10px;">Online: [ ha-d1.tw.com ha-d2.tw.com ]</font></div>
<div><font face="Consolas" style="font-size: 10px;"><br>
</font></div>
<div><font face="Consolas" style="font-size: 10px;">Full list of resources:</font></div>
<div><font face="Consolas" style="font-size: 10px;"><br>
</font></div>
<div><font face="Consolas" style="font-size: 10px;"> Resource Group: network</font></div>
<div><font face="Consolas" style="font-size: 10px;"> inif (ocf::custom:ip.sh): Started ha-d2.tw.com</font></div>
<div><font face="Consolas" style="font-size: 10px;"> outif (ocf::custom:ip.sh): Started ha-d2.tw.com</font></div>
<div><font face="Consolas" style="font-size: 10px;"> dmz1 (ocf::custom:ip.sh): Started ha-d2.tw.com</font></div>
<div><font face="Consolas" style="font-size: 10px;"> Master/Slave Set: DRBDMaster [DRBDSlave]</font></div>
<div><font face="Consolas" style="font-size: 10px;"> Masters: [ ha-d2.tw.com ]</font></div>
<div><font face="Consolas" style="font-size: 10px;"> Stopped: [ ha-d1.tw.com ]</font></div>
<div><font face="Consolas" style="font-size: 10px;"> Resource Group: filesystem</font></div>
<div><font face="Consolas" style="font-size: 10px;"> DRBDFS (ocf::heartbeat:Filesystem): Started ha-d2.tw.com</font></div>
<div><font face="Consolas" style="font-size: 10px;"> Resource Group: application</font></div>
<div><font face="Consolas" style="font-size: 10px;"> service_failover (ocf::custom:service_failover): Started ha-d2.tw.com</font></div>
<div><font face="Consolas" style="font-size: 10px;"><br>
</font></div>
<div><font face="Consolas" style="font-size: 10px;"><br>
</font></div>
<div><font face="Consolas" style="font-size: 10px;">version: 8.4.5 (api:1/proto:86-101)</font></div>
<div><font face="Consolas" style="font-size: 10px;">srcversion: 315FB2BBD4B521D13C20BF4</font></div>
<div><font face="Consolas" style="font-size: 10px;">[154094.894574] block drbd1: disk( Failed -> Diskless )</font></div>
<div><font face="Consolas" style="font-size: 10px;">[154094.894647] block drbd1: drbd_bm_resize called with capacity == 0</font></div>
<div><font face="Consolas" style="font-size: 10px;">[154094.894652] drbd wwwdata: Terminating drbd_w_wwwdata</font></div>
</div>
<div style="font-size: 14px; font-family: Calibri, sans-serif;"><br>
</div>
<div style="font-size: 14px; font-family: Calibri, sans-serif;">
<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;"><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>