Mailing List Archive

Question on nice_failback
Hello

I downloaded heartbeat-0.4.7b.tar.gz to try the nice_failback feature.
But heartbeat will not start and write the following to the log file:

May 16 07:54:31 florix heartbeat: Illegal directive [nice_failback] in /etc/ha.d/ha.cf
May 16 07:54:31 florix heartbeat: Heartbeat not started: configuration error.
May 16 07:54:31 florix heartbeat: Configuration error, heartbeat not started.

Looking at the code I can see in the comments that Alan is removing all the
nice_failback code. I am very confused, why is this being removed? Or
is it now called something else? The sample ha.cf still contains
nice_failback.

Another thing I noticed is that the web site is not updated so that
one cannot download the versions heartbeat-0.4.7?.tar.gz via a link.

Holger
Question on nice_failback [ In reply to ]
On Tue, May 16, 2000 at 10:16:15AM +0200, Holger Kiehl wrote:
> Hello
>
> I downloaded heartbeat-0.4.7b.tar.gz to try the nice_failback feature.
> But heartbeat will not start and write the following to the log file:
>
> May 16 07:54:31 florix heartbeat: Illegal directive [nice_failback] in /etc/ha.d/ha.cf
> May 16 07:54:31 florix heartbeat: Heartbeat not started: configuration error.
> May 16 07:54:31 florix heartbeat: Configuration error, heartbeat not started.
>
> Looking at the code I can see in the comments that Alan is removing all the
> nice_failback code. I am very confused, why is this being removed? Or
> is it now called something else? The sample ha.cf still contains
> nice_failback.

The nice_failbak feature has been removed, pending the new heartbeat API,
as the implemetation was not complete.

--
Horms
Question on nice_failback [ In reply to ]
Horms wrote:
>
> On Tue, May 16, 2000 at 10:16:15AM +0200, Holger Kiehl wrote:
> > Hello
> >
> > I downloaded heartbeat-0.4.7b.tar.gz to try the nice_failback feature.
> > But heartbeat will not start and write the following to the log file:
> >
> > May 16 07:54:31 florix heartbeat: Illegal directive [nice_failback] in /etc/ha.d/ha.cf
> > May 16 07:54:31 florix heartbeat: Heartbeat not started: configuration error.
> > May 16 07:54:31 florix heartbeat: Configuration error, heartbeat not started.
> >
> > Looking at the code I can see in the comments that Alan is removing all the
> > nice_failback code. I am very confused, why is this being removed? Or
> > is it now called something else? The sample ha.cf still contains
> > nice_failback.
>
> The nice_failbak feature has been removed, pending the new heartbeat API,
> as the implemetation was not complete.

I missed removing it from the ha.cf file. I think it has now been
removed in the CVS version.

It had a few bugs in it that sometimes affected normal usage of the
heartbeat code, so we removed it.

As Horms pointed out, we WILL reimplement it, but it has been postponed
to a new cluster manager, which can implement it correctly more easily,
since it will be continuously running and not implemented as shell
scripts.

Sorry!

-- Alan Robertson
alanr@suse.com