[DRBD-user] initscript should be non-interactive

Philipp Reisner philipp.reisner at linbit.com
Mon May 24 13:54:37 CEST 2004

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


On Monday 24 May 2004 12:28, Bernd Schubert wrote:
> > you have the choice. if you configure it, it will do things differently.
> > give it inittimeout=-90 and blame heartbeat if it decides to make the
> > outdated node primary.
>
> I really would prefer if there would be an option not to connect at all, so
> that after the timeout the drbd devices would become disconnected and the
> drbd module would be unloaded. In this case heartbeat could be started from
> a script which checks for the existence of drbd and only starts heartbeat
> if drbd is available.
> Currently one has the choice between possible data loss or being unable to
> do remote administration, IMHO one is as bad as the other.
>

Currently you also have the choice to do it right :) 

 E.g. like this:

lrwxrwxrwx    1 root     root           13 Mar 14  2002 rc0.d/K20ssh -> ../init.d/ssh
lrwxrwxrwx    1 root     root           13 Mar 14  2002 rc1.d/K20ssh -> ../init.d/ssh
lrwxrwxrwx    1 root     root           13 Mar 14  2002 rc2.d/S20ssh -> ../init.d/ssh
lrwxrwxrwx    1 root     root           13 Mar 14  2002 rc3.d/S20ssh -> ../init.d/ssh
lrwxrwxrwx    1 root     root           13 Mar 14  2002 rc4.d/S20ssh -> ../init.d/ssh
lrwxrwxrwx    1 root     root           13 Mar 14  2002 rc5.d/S20ssh -> ../init.d/ssh
lrwxrwxrwx    1 root     root           13 Mar 14  2002 rc6.d/K20ssh -> ../init.d/ssh

lrwxrwxrwx    1 root     root           14 Mar 16  2002 rc0.d/K08drbd -> ../init.d/drbd
lrwxrwxrwx    1 root     root           14 Mar 16  2002 rc1.d/K08drbd -> ../init.d/drbd
lrwxrwxrwx    1 root     root           14 Mar 16  2002 rc2.d/S70drbd -> ../init.d/drbd
lrwxrwxrwx    1 root     root           14 Mar 16  2002 rc3.d/S70drbd -> ../init.d/drbd
lrwxrwxrwx    1 root     root           14 Mar 16  2002 rc4.d/S70drbd -> ../init.d/drbd
lrwxrwxrwx    1 root     root           14 Mar 16  2002 rc5.d/S70drbd -> ../init.d/drbd
lrwxrwxrwx    1 root     root           14 Mar 16  2002 rc6.d/K08drbd -> ../init.d/drbd

rc0.d/K05heartbeat  rc2.d/S75heartbeat  rc4.d/S75heartbeat  rc6.d/K05heartbeat
rc1.d/K05heartbeat  rc3.d/S75heartbeat  rc5.d/S75heartbeat

On my systems drbd is started _after_ ssh and heartebat is started
_after_ drbd. 

So where is the problem ?

-Philipp
-- 
: Dipl-Ing Philipp Reisner                      Tel +43-1-8178292-50 :
: LINBIT Information Technologies GmbH          Fax +43-1-8178292-82 :
: Schönbrunnerstr 244, 1120 Vienna, Austria    http://www.linbit.com :



More information about the drbd-user mailing list