[DRBD-user] initscript should be non-interactive

Nicolas Jungers nj at hemeris.com
Mon May 24 14:04:14 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 Mon, 2004-05-24 at 13:54, Philipp Reisner wrote:
> 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:
> 
[snip]
> 
> On my systems drbd is started _after_ ssh and heartebat is started
> _after_ drbd. 
> 
> So where is the problem ?

the problem is whatever should be started after drbd will be stuck. The
problem is drbd is assuming being the only thing worthy on the box.
Bernd's solution has all my favour.

regards,
-- 
Nicolas Jungers

Tél +32 2 289 00 04
Fax: +32 2 289 00 00

Many sa - Hemeris Computing
Ch. d'Ixelles 29-31, box 17
1050 Brussels
Belgium





More information about the drbd-user mailing list