[DRBD-user] Splitting Resources Among Multiple Nodes

Mike Sweetser - Adhost mikesw at adhost.com
Fri Aug 22 02:46:38 CEST 2008

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


I'm planning out a new DRBD configuration and I'm wondering if something
suggested is possible.  Can you have one nodes duplicating one resource
to one node, and another resource to another?

Example:
Resource r0: alice and bob
Resource r1: alice and charlie

For instance:

resource r0 {
	protocol C;
	net {
		cram-hmac-alg sha1;
		shared-secret "FooFunFactory";
	}
	on alice {
		device    /dev/drbd1;
		disk      /dev/sda7;
		address   10.1.1.31:7789;
		meta-disk internal;
	}
	on bob {
		device    /dev/drbd1;
		disk      /dev/sda7;
		address   10.1.1.32:7789;
		meta-disk internal;
	}
}
resource r1 {
	protocol C;
	net {
		cram-hmac-alg sha1;
		shared-secret "FooFunFactory";
	}
	on alice {
		device    /dev/drbd2;
		disk      /dev/sda8;
		address   10.1.1.33:7789;
		meta-disk internal;
	}
	on charlie {
		device    /dev/drbd2;
		disk      /dev/sda8;
		address   10.1.1.34:7789;
		meta-disk internal;
	}
}

Will this work?

Thanks,
Mike Sweetser



More information about the drbd-user mailing list