[DRBD-user] RE: secondary/secondary

Umair Siddiqi umair at csm.com.pk
Thu Apr 21 12:47:28 CEST 2005

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


Hi Stephan,

Thanks a lot! It WAS a resource name in haresources. 
Just change that and things works like a charm.

Regards,






-----Original Message-----
From: drbd-user-bounces at lists.linbit.com
[mailto:drbd-user-bounces at lists.linbit.com] On Behalf Of Stephan Rattai
Sent: Thursday, April 21, 2005 2:22 PM
To: drbd-user at linbit.com
Subject: Re: [DRBD-user] RE: secondary/secondary

Hi,

ok, on takeover heartbeat starts drbddisk which fails ((see log of your
other 
mail) exit code 20):
heartbeat: 2005/04/20_09:42:26 info: Running
/etc/ha.d/resource.d/drbddisk drbd0 start

heartbeat: 2005/04/20_09:42:31 ERROR: Return code 20 from
/etc/ha.d/resource.d/drbddisk

The question is why. I'm not quite sure if your haresources are right,
you are 
giving the resourcename drbd0 to drbddisk (drbddisk::drbd0) but that is
not 
the resource you have defined in your drbd.conf:
resource acbl

So I guess you would need to run drbddisk::acbl instead of
drbddisk::drbd0. Or 
if you just have one drbd resource (or do not bother making them primary
all 
at once) you might as well run drbddisk without an argument as it will
take 
your one and only resource. 

Just run your drbddisk manually and give the resource as an argument, it
might 
give you some error message (''drbd0' not defined in your config' I
guess).

Am Donnerstag, 21. April 2005 06:15 schrieb Umair Siddiqi:
> I asked this question once, it just I added my log files in my second
> post in same thread.
>
> I am using heartbeat and every thing is configured nicely, except that
> one of the servers does not come primary and I have to do it manually,
> by "drbdadm primary all".
>
>
>
> -----Original Message-----
> From: drbd-user-bounces at lists.linbit.com
> [mailto:drbd-user-bounces at lists.linbit.com] On Behalf Of Lars
Ellenberg
> Sent: Wednesday, April 20, 2005 5:45 PM
> To: drbd-user at lists.linbit.com
> Subject: Re: [DRBD-user] RE: secondary/secondary
>
> / 2005-04-20 09:55:20 +0500
>
> \ Umair Siddiqi:
> > 				HI,
> >
> > 				I have
> >
> > 				2 x HP DL380 with 6 x 72GB HPL with RAID
> > 5
> > 				RHEL AS 3
> > 				DRBD 0.7.10
> > 				Heart Beat 1.2.3-2
> >
> > 				After the installation, when I start the
> > services, both servers gets in secondary mode. Hoe do I make one of
>
> them
>
> > to boot in Primary and other one in secondary.
> > 		I'll really appreciate any help, since I am way behind
> > my schedule. I am trying to fix this issue for past 10 days without
> > success.
>
> I see you asked this question multiple times.
> see, DRBD is _supposed_ to start in secondary mode.
>
> thats why you need some kind of cluster manager.
>
> I think most people on this list use heartbeat.
> which allso manages other services, like failing over IPs,
> mounting the shared file systems, starting the file/web/mail/whatever
> daemons etc.
>
> hth.
> 	Lars
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user

-- 
Stephan  Rattai
University of Hamburg
Centre for Molecular Neurobiology Hamburg (ZMNH)
IT services
Falkenried 94
20251 Hamburg
Germany
Tel.:040 - 428 - 03 - 8592
Fax.:040 - 428 - 03 - 6621
_______________________________________________
drbd-user mailing list
drbd-user at lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user



More information about the drbd-user mailing list