<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>the DRBD status is (regardless of 'nice' shutdown (eg reboot) or 'abrupt' kill (eg pull power plug))</div>
<div> </div>
<div>cs:WFConnection ro:Primary/Unknown ds:UpToDate/Outdated</div>
<div> </div>
<div>but only with a 'nice' shutdown the shared directoy is still accessible...</div>
<div>
<div name="quote" style="margin: 10px 5px 5px 10px; padding: 10px 0px 10px 10px; border-left-color: rgb(195, 217, 229); border-left-width: 2px; border-left-style: solid; -ms-word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin: 0px 0px 10px;"><b>Gesendet:</b> Dienstag, 12. Mai 2015 um 09:44 Uhr<br/>
<b>Von:</b> Digimer <lists@alteeve.ca><br/>
<b>An:</b> "DRBD User" <DRBDUser@gmx.at>, drbd-user@lists.linbit.com<br/>
<b>Betreff:</b> Re: [DRBD-user] Dual Primary Mode: Shared Directory blocked after node crash until reboot</div>
<div name="quoted-content">On 12/05/15 03:42 AM, DRBD User wrote:<br/>
>>>> pacemakers pcs property stonith-enabled is currently set to false<br/>
><br/>
>> Well there's your problem. :)<br/>
><br/>
> Since i don't have any (hardware) STONITH device, i have set stonith-enabled to false.<br/>
> DRBD's fencing rule is set to : 'fencing: resource-only'<br/>
><br/>
> My goal is: if one node crashes, the other node should take over the work immediately. But actually i have to wait the reboot time of the crashed node. I thought, that in such a situation the active node (rather the shared directory) is immediately usable ?<br/>
><br/>
> May be i should use another fence script ?<br/>
><br/>
> I tried to create the resource with operation 'on-fail=restart' - but no success ...<br/>
><br/>
> Any other suggestions ?<br/>
<br/>
You *CAN NOT* safely proceed when a node stops responding _until_ you<br/>
have put the lost node into a known state. To do otherwise would be to<br/>
risk a split-brain.<br/>
<br/>
A good fence device are switched PDUs, like the APC-brand AP7900 (not<br/>
all makes/models are supported, so check first before buying other<br/>
brands). The AP7900 can usually be found used for ~$200 and makes an<br/>
excellent external fence device.<br/>
<br/>
Trying to use DRBD without proper fencing will result in pain and<br/>
heartache. The delay needed to fence a lost node is FAR preferable to<br/>
risking a split-brain.<br/>
<br/>
--<br/>
Digimer<br/>
Papers and Projects: <a href="https://alteeve.ca/w/" target="_blank">https://alteeve.ca/w/</a><br/>
What if the cure for cancer is trapped in the mind of a person without<br/>
access to education?<br/>
_______________________________________________<br/>
drbd-user mailing list<br/>
drbd-user@lists.linbit.com<br/>
<a href="http://lists.linbit.com/mailman/listinfo/drbd-user" target="_blank">http://lists.linbit.com/mailman/listinfo/drbd-user</a></div>
</div>
</div>
</div></div></body></html>