On 2007-07-04T12:48:03, Dominik Klein <[EMAIL PROTECTED]> wrote:
> I read http://wiki.linux-ha.org/DRBD/HowTov2 today and wanted to set up
> those examples for a testing scenario.
Cool!
> My drbd setup is working. I can manually set each note to be primary for
> each resource (while the other is secondary of course). When starting
> heartbeat, I make sure every drbd device is either Unconfigured/down or
> secondary.
Just don't start drbd at boot. If it's running anyway, heartbeat should
probe and find out that the resources are running.
> I get one drbd+fs pair to run (the one using r1 in my config). But when
> I try to add another one (the one using r0 in my config), it does not
> promote the master and therefore does not mount the fs. The OCF script
> hangs and times out at "crm_master -v 75" and as you can see in the
> nodes section of the CIB, only the master value for r1 made it to the CIB.
The process "hangs"? How so? Have you tried stracing the crm_master
process?
I recall that I had some issues with drbd complaining about resources
which mentioned nodes which weren't local; I worked around that by
splitting drbd.conf into several parts and giving each drbd resource its
own separate configfile using the drbdconf attribute.
> Is there something special needed to run multiple DRBD devices in
> master/slave mode?
Shouldn't be, no.
> If you need any further info, just ask, I'll be happy to supply it.
Well, here's hoping that this change of yours truly is the only one
needed to fully support drbd8 ;-)
Regards,
Lars
--
Teamlead Kernel, SuSE Labs, Research and Development
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems