[DRBD-user] DRBD notification - Error in 8.0.6

Lars Ellenberg lars.ellenberg at linbit.com
Tue Nov 6 17:51:28 CET 2007

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


On Tue, Nov 06, 2007 at 04:28:49PM +0100, Robert Verspuy wrote:
> Peter P GMX schreef:
> > I get an error while doing this:
> >
> > sip2:/etc# /etc/init.d/drbd start
> > /etc/drbd.conf:28: Parse error: 'an option keyword' expected,
> >        but got 'split-brain'
> > Starting DRBD resources:    /etc/drbd.conf:28: Parse error: 'an option
> > keyword' expected,
> >        but got 'split-brain'
> >
> > Here is the parrt of drbd.conf
> >
> > resource r0 {
> >  handlers {
> >    split-brain "echo split-brain. drbdadm -- --discard-my-data connect
> > $DRBD_RESOURCE ? | mail -s 'DRBD Alert' root";
> >  }
> >
> Isn't the handler section a new feature of version 8.0.7 ?
> And therefore not implemented in 8.0.6 ?

the handler section is present since 8.0.0 (and before).
the handler trigger for split-brain got added only in 8.0.7.

-- 
: Lars Ellenberg                           http://www.linbit.com :
: DRBD/HA support and consulting             sales at linbit.com :
: LINBIT Information Technologies GmbH      Tel +43-1-8178292-0  :
: Vivenotgasse 48, A-1120 Vienna/Europe     Fax +43-1-8178292-82 :
__
please use the "List-Reply" function of your email client.



More information about the drbd-user mailing list