LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

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

To: Simon Horman <horms@xxxxxxxxxxxx>
Subject: Re: [lvs-users] ldirectord fails to add a healthy server
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
From: Kobi Biton <kobi@xxxxxxxxxxx>
Date: Mon, 27 Dec 2010 00:03:40 +0200
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.

Kobi. 
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


_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

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