[lvs-users] ldirectord fails to add a healthy server

Kobi Biton kobi at comns.co.il
Sun Dec 26 22:03:40 GMT 2010

Thanks for the response.

I am afraid I did not understand your response "Removing the entry" I am
not removing the entry in fact I do not edit the ldirector.cf the only
thing I do is a simple iptables input chain reject rule which blocks the
port on the real server side.

On Mon, 2010-12-27 at 06:35 +0900, Simon Horman wrote:
> On Sun, Dec 26, 2010 at 06:55:59PM +0200, Kobi Biton wrote:
> > I have encountered a bizarre issue with ldirectord (heartbeat-Ldirectord
> > version 2.1.4-11 RPM centos 5 x64)
> > 
> > I used iptables to block real server port  , ldirectord detects it
> > immediately and server gets 0 Weight as expected  , If I remove the
> > iptables rule after a few minutes the server is being added and gets
> > weight 10 as expected , however when waiting for >24h it seems that the
> > despite removing the iptables rule the server will not be re-added does
> > ldirectord has a deadtime parameter ? do I face a bug ? 
> > 
> > To workaround I issue a mauall ipvsadm command to re-add the real
> > server.
> Hi,
> the behaviour sounds inconsistent to me, but why are you removing
> the entry at all? Ldirectord should manage the entries.

Kobi Biton
Com N S Ltd.

Mobile: +972 (54) 8017668

More information about the lvs-users mailing list