[DRBD-user] allow-two-primaries (hot migration) and three nodes...

Stéphane Rivière stef at genesix.org
Sat Dec 12 22:56:11 CET 2020


Hi Thomas,

> Yes, to be totally save, one should use drbdsetup to change this value temporarily only. So workflow would look something like that:
> 
> 1.) drbdsetup net-options <resource> --allow-two-primaries yes
> 2.) xl migrate --live <domu> <host>
> 3.) drbdsetup net-options <resource> --allow-two-primaries no

I  will script following this wise advice :)

Many thanks for the suggestion...

-- 
Stéphane Rivière
Ile d'Oléron - France


More information about the drbd-user mailing list