[DRBD-user] Renewing a drbd cluster (2 nodes)

Felix Frank ff at mpexnet.de
Mon Dec 20 18:12:32 CET 2010

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


Hi,

On 12/20/2010 05:30 PM, Marc Richter wrote:
> Hi there,

<snip>

> 1)
> Do you think that plan is ok?

Yes.

> 2)
> Why does a split brain happen here?

When your old secondary becomes primary, it generated a new UUID. The
old primary will deny any knowledge of its data (well, not all, but you
saw the logs ;-)

> 3)
> How to do it right then? (Without having to get EVERYTHING from the live
> node)?

Don't DRBD sync to your new node. Do a bitwise copy using dd and its
ilk, directly from the backing device to the new backing device. Then,
the new node should become secondary to the original primary without any
bickering.

HTH,
Felix



More information about the drbd-user mailing list