Hi,

i now switched to 2.99 and removed the become-primary-on thing.

Now it seems to work. Thanks!

Mit freundlichen Grüßen

Sebastian Kösters
systems architect

Trade Haven GmbH
In der Steele 23, 40599 Düsseldorf
T +49 211 749659 14     mailto:skoest...@tradehaven.de
F +49 211 749659 04     http://www.tradehaven.de
---------------------------------------------------------------------
Geschäftsführer: Michael Heck | Oliver Wagner  
Handelsregister Düsseldorf:  HRB 53379


-----Ursprüngliche Nachricht-----
Von: linux-ha-boun...@lists.linux-ha.org 
[mailto:linux-ha-boun...@lists.linux-ha.org] Im Auftrag von Lars Ellenberg
Gesendet: Donnerstag, 28. Mai 2009 13:39
An: linux-ha@lists.linux-ha.org
Betreff: Re: [Linux-HA] Heartbeat does not start drbd after System Start

On Thu, May 28, 2009 at 01:25:41PM +0200, Sebastian Kösters wrote:
> Hi,
> 
> i installed to Servers with Heartbeat (2.1.3-3.el5) and drbd (8.3.1).
> 
> my HA config:
> 
> node weisswasser.v121.dus1.th bayreuth.v121.dus1.th
> 
> ucast bond0.121 10.10.121.135
> ucast bond0.121 10.10.121.136 
> 
> auto_failback off 
> 
> debugfile /var/log/ha-debug 
> logfile /var/log/ha-log 
> 
> keepalive 2
> warntime 10
> deadtime 30
> initdead 120
> 
> 
> my haresources:
> 
> weisswasser.v121.dus1.th drbddisk::drbd0 
> Filesystem::/dev/drbd0::/weisswasser::ext3 
> bayreuth.v121.dus1.th drbddisk::drbd1 Filesystem::/dev/drbd1::/bayreuth::ext3
> 
> my drbd config:
> 
> resource drbd0 {
>   protocol C;
> 
>   startup { 
>     become-primary-on weisswasser.v121.dus1.th;

outch.

do not do that.
either you want _heartbeat_ to decide what resource is started where,
or you want the drbd init script to do that for you.

not both.

just delete that "become-primary-on" line from your drbd config.

then learn about hb_takeover resp. hb_standby
(it even takes an argument: "local", "foreign" and "all").

or forget about haresources style heartbeat and go for CRM.

but do not have init activate something,
and then tell the cluster manager it was responsible.
that simply won't work.

-- 
: 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.
_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to