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

Lars Ellenberg lars.ellenberg at linbit.com
Fri Jan 20 10:14:38 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 Fri, Jan 20, 2012 at 10:12:30AM +0100, Lars Ellenberg wrote:
> 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".

Oh. And this has *NOTHING* to do with "multiple primaries".
That is for allowing the same resource to be primary on both nodes,
requiring synchronous replication (protocol C), proper fencing,
and cluster file systems.

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