[DRBD-user] initscript should be non-interactive

Lars Marowsky-Bree lmb at suse.de
Wed May 26 11:17:02 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 2004-05-25T22:26:55,
   Nuno Tavares <nunotavares at hotmail.com> said:

> > So, what do you suggest ? -- Unfortunately heartbeat does not take hints
> > from DRBD. The only way to make sure that heartbeat does not activate a
> > resource is to not start it at all. 
> Philipp, this might not be true. Heartbeat uses, in some situations, the 
> output of "/etc/init.d/<script> status" to get info about the service.
> I'm not sure about how is the "service ping" done, but it was something 
> I was told @linux-ha.

This mechanism is far from powerful enough of even standing a chance to
support drbd's needs. The only sane choice with reasonable complexity so
far is indeed to block in the drbd init script in these scenarios.

    Lars Marowsky-Brée <lmb at suse.de>

High Availability & Clustering	      \ ever tried. ever failed. no matter.
SUSE Labs			      | try again. fail again. fail better.
Research & Development, SUSE LINUX AG \ 	-- Samuel Beckett

More information about the drbd-user mailing list