[Pacemaker] DRBD primary/primary
Nicholas Dronen
ndronen at gmail.com
Fri May 22 14:26:12 UTC 2009
Hi, Florian:
I don't think that suggestion appeals to me. :-)
Any idea how much work it is to change the OCF RA to reliably support
master_max=2?
Regards,
Nick
On Fri, May 22, 2009 at 2:48 AM, Florian Haas <florian at linbit.com> wrote:
> On 05/21/2009 11:12 PM, Nicholas Dronen wrote:
> > Hi:
> >
> > The wiki says that DRBD primary/primary isn't supported yet:
> >
> > http://clusterlabs.org/wiki/DRBD_HowTo_1.0
> >
> > Is there a workaround?
>
> lmb and Dominik are probably going to hit me over the head with a 2x4
> for suggesting this, but until we finally fix the drbd OCF RA to
> reliably support master_max=2, here's a rather crude one:
>
> 1. Take DRBD out of your Pacemaker config altogether;
> 2. Enable "allow-two-primaries;" and "become-primary-on both;" in your
> drbd.conf.
> 3. Make sure the drbd service is started on system boot (chkconfig drbd
> on).
> 4. Make sure you configure and enable STONITH in your pacemaker config.
> 5. Utilize your DRBD resource as you would a shared storage device.
>
> No warranty of any kind. :)
>
> Cheers,
> Florian
>
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20090522/c44e4893/attachment-0002.htm>
More information about the Pacemaker
mailing list