LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: ldirectord and squid check

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: ldirectord and squid check
From: Horms <horms@xxxxxxxxxxxx>
Date: Tue, 20 Apr 2004 10:43:46 +0900
On Mon, Apr 19, 2004 at 12:32:45PM +0200, Morgan Marodin wrote:
> Hi.
> 
> It works only if I don't use the fallback server, because it use this 
> feature every time a realserver goes down.
> 
> I've modified also the ldirector script in the "_remove_service" subroutine 
> to delete the realserver instead of the "quiescent" method (it changes the 
> weight of the realserver, but it doesn't remove it).

This should not be neccessary. Just set the following at the
top of your ldirectord.cf file.

quiescent=no

> In this way if I fallback feature ... it doesn't work well, so I don't use 
> it.
> 
> A yeard ago I have used ldirectord v.1.26 and there weren't these problems.
> Anybody can help me?
> 
> I want to:
> - use fallback only when all realserver go down

That is the way that fallback works.

> - remove the realserver from the list when it goes down (not change the 
> weight)

As mentioned above, set quiescent=no

-- 
Horms
<Prev in Thread] Current Thread [Next in Thread>