[DRBD-user] Automatic recover dopd after split brain recover

Lars Ellenberg lars.ellenberg at linbit.com
Thu May 28 17:51:02 CEST 2009

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


On Thu, May 28, 2009 at 01:46:43PM +0100, Pedro Sousa wrote:
> Hi,
> 
> I'm testing split-brain in a master/slave scenario with dopd and have some
> doubts about the automatic recovery procedure. The steps I took were:
> 
> 1º Unplug the crossover cable
> 
> Master:
> 
> Primary/Unknown ds:UpToDate/Outdated
> 
> Slave:
> 
> StandAlone ro:Secondary/Unknown ds:Consistent/DUnknown
> 
> 2º Plug the cable back on:
> 
> Both nodes remain with the same state: Update/Outdated and
> Consistent/Unknown
> 
> My question is: shouldn't the slave rejoin/resync to the master
> automatically after I plug the cable?
> 
> I have to manually  run: "drbdadm adjust all" to recover it.

once a node reaches "StandAlone",
you have to tell it to try and reconnect, yes.

so this is how it is supposed to be.

why it goes to "StandAlone" should be in the logs.

> My conf (centos 5.3; drbd 8.3.1; heartbeat 2.99)
> 
> /etc/drbd.conf

</snip>


-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
__
please don't Cc me, but send to list   --   I'm subscribed



More information about the drbd-user mailing list