[DRBD-user] multiple primaries using mutilple volumes as protocol A

Lars Ellenberg lars.ellenberg at linbit.com
Fri Jan 20 10:12:30 CET 2012

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, Jan 19, 2012 at 03:59:00PM -0800, Carsonguy wrote:
> 
> Hi ;
> I am using protcol A, I am looking at using the allow-mutilple primaries
> flag. 
> I am setting up multiple volumes 0 and 1, I tried having volume 0 primary on
> Node A and volume 1 primary on node B, and it through an error. Is it
> advisable to do this? I realize I can not have any volume primary on both
> nodes at the same time. 

You can not do on different volumes in the same resource.

Use one resource each.

resource testing {
	...
	on X { ... }
	on Y { ... }
}

resource production {
	...
	on X { ... }
	on Y { ... }
}

and, during normal operation,
have production be primary on "X"
and testing be primary on "Y".

-- 
: 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.



More information about the drbd-user mailing list