[DRBD-user] Dual-primary split-brain recovery after reboot

Pete Ashdown pashdown at xmission.com
Wed Jun 22 00:03:31 CEST 2011

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


On 06/21/2011 03:55 PM, Lars Ellenberg wrote:
> On Tue, Jun 21, 2011 at 10:13:06AM -0600, Pete Ashdown wrote:
>> If a system properly shuts down drbd upon shutdown, then starts it up upon
>> reboot, I don't understand how there could be pending changes on it. 
>> Shouldn't it just sync up to its peer and go?  Instead I get split-brain
>> every time I reboot a node.  What settings are required to just go
>> secondary, connect, sync, and then go primary upon reboot?
> First make "unused" (umount, typically).
> Then make secondary.
>
> Only then disconnect.
>
> If you disconnect (by for example shutting down the network)
> while both are still in Primary role,
> you get what you observe.
>
> Double check the kill script order,
> or equivalent.
Thank you Lars.

If I make secondary with the kill script, will it come back as primary upon
reboot, or do I need to specifically insert that into the startup script?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20110621/f4f4fc9a/attachment.pgp>


More information about the drbd-user mailing list