[DRBD-user] drbd 8.06 with heartbeat 2.1.2

Florian Haas florian.haas at linbit.com
Fri Jan 4 09:13:26 CET 2008

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


On Thursday 03 January 2008 19:48:27 Lars Ellenberg wrote:
> On Thu, Jan 03, 2008 at 06:46:08PM +0100, Malcom wrote:

> Argh.
> drbddisk, class heartbeat
> is FOR SURE no master_slave resource.
> either get the OCF drbd resource agent running,
> which is supposed to be a master_slave thing,
> then have a place constraint for the Filesystem depending on that drbd
> resource being "master". good luck.

What you need is a colocation constraint combined with an an order constraint, 
not a place constraint. And the way to do this is documented in the Linux-HA 
wiki (http://wiki.linux-ha.org/DRBD/HowTov2, see the section "Referencing the 
master or slave resource in constraints"). Be advised that the wiki page does 
also talk about a place constraint (in the section "Specifying the nodes 
where drbd can be run"), but that one is not necessary in 2-node clusters. 
YMMV.

Still, as Lars pointed out, you DON'T use the drbddisk resource agent as a 
Master/Slave resource, only the drbd OCF RA.

Cheers,

Florian

-- 
: Florian G. Haas 
: LINBIT Information Technologies GmbH
: Vivenotgasse 48, A-1120 Vienna, Austria

Please note: when replying, there is no need to CC my 
personal address. Replying to the list is fine. Thank you.



More information about the drbd-user mailing list