[DRBD-user] primary/secondary problem

Lars Ellenberg Lars.Ellenberg at linbit.com
Tue Jun 13 13:55:56 CEST 2006


/ 2006-06-13 13:32:58 +0200
\ Gernot W. Schmied:
> >>>> setup (0.7.17 on both machines) on my primary machine suddenly insists
> >>>> to remain in "secondary" mode. Any idea why?
> >>> well.
> >>> what do you mean by "insist"?
> >>> if you tell it to become primary, what exactly does happen?
> >>> how do you try to do the "drbdadm primary all"?
> >>>
> >> Hmm, the primary node so far always remained primary after setting it
> >> once regardless of the secondary being reachable and it maintained that
> >> state regardless of restarting drbd via /etc/init.d/drbd.
> >> Now it always returns to secondary state when I stop/restart drbd after
> >> declaring it primary with "drbdadm primary all" before mounting my file
> >> systems. Maybe it is supposed to be that way but I'd like to understand
> >> why. Why does it return to secondary state when I stop drbd?
> > 
> > I'd rather ask "what does switch drbd to primary".
> > the init script (at least my init script) does not.
> > 
> 
> Mine does now. Should I conclude from your question that both
> constituents of a drbd cluster start in secondary mode unless altered
> via init script or heartbeat?

if you insist on shooting yourself, just go ahead.

-- 
: Lars Ellenberg                                  Tel +43-1-8178292-0  :
: LINBIT Information Technologies GmbH            Fax +43-1-8178292-82 :
: Schoenbrunner Str. 244, A-1120 Vienna/Europe   http://www.linbit.com :
__
please use the "List-Reply" function of your email client.



More information about the drbd-user mailing list