LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: ldirectord feature request

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: ldirectord feature request
Cc: "Rief, Jacob" <Jacob.Rief@xxxxxxxxxxxx>
From: Horms <horms@xxxxxxxxxxxx>
Date: Sat, 14 Jul 2001 19:32:29 -0700
On Tue, Jun 26, 2001 at 11:00:21AM +1000, Horms wrote:
> On Mon, Jun 25, 2001 at 04:45:24PM -0500, Paul Baker wrote:
> > I'm putting in a feature request for ldirectord, not sure if this is 
> > necessarily the best place to submit this, but I thought it couldn't hurt.
> > 
> > Right now, when a ldirectord takes a real-server out of the LVS either 
> > because it couldn't connect to the port or because the the request page 
> > did not match the required pattern, ldirectord completely removes them 
> > out of the lvs by I would assume `ipvsadm -d`
> > 
> > My request is that instead it would set the weight to 0 instead of 
> > completely removing them. This way live connections will not be cut when 
> > a server is taken out.
> 
> This sounds like a good idea to me. I'll work on adding in a
> quiecent option.

Hi,

The attached patch to ldirectord sets the weight of real and fallback
servers to 0 instead of deleting them and restores the weight as required.

I'll commit this to CVS if there are no objections.

-- 
Horms

Attachment: ldirectord.33.quiecent.patch
Description: Text document

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