[Linux-HA] [SOLVED] problems with get_resources() api call

Frank Gevaerts frank.gevaerts at fks.be
Tue Apr 20 08:17:34 MDT 2004


On Tue, Apr 20, 2004 at 08:10:34AM -0600, Alan Robertson wrote:
> Frank Gevaerts wrote:
> >On Mon, Apr 19, 2004 at 04:58:02PM +0200, Frank Gevaerts wrote:
> >
> >>Hello,
> >>
> >>I am trying to find the node in my cluster actulally running my
> >>application. I thought I could use the get_resources() call for this.
> >>However, it always returns either "none" or "transition".
> >
> >
> >I apparently still used nice_failback in the config. After switching to
> >auto_failback everything works as expected.
> 
> I would assume you had nice_failback off, then?

Actually, it was on (using heartbeat 1.20).

> In that case, heartbeat doesn't actually know where the resources are.

It did give me a warning when trying hb_standby (Standby mode only
implemented when nice_failback on), so I guess something was misparsed.

Frank

-- 
Frank Gevaerts                                 frank.gevaerts at fks.be
fks bvba - Formal and Knowledge Systems        http://www.fks.be/
Luikersteenweg 65                              Tel:  ++32-(0)11-21 49 11
B-3500 HASSELT                                 Fax:  ++32-(0)11-22 04 19


More information about the Linux-HA mailing list