LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] ldirectord not removing rs

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] ldirectord not removing rs
From: Horms <horms@xxxxxxxxxxxx>
Date: Tue, 5 Jun 2007 10:48:59 +0900
On Fri, Jun 01, 2007 at 12:29:40PM +0200, Sebastian Vieira wrote:
> Hi,
> 
> I was running ldirectord 1.77.2.51 and decided to upgrade to the latest
> version 1.186-ha-2.0.9. Now ldirectord doesn't remove a real-server anymore.

Due to various changes beyond my control, that version number isn't
entirely unique any more. Could you let me know where you got ldirectord
from. Perhaps a package, or directly from hg? In the case of the latter,
could you let me know which tree and the revision tip of that tree?

> To illustrate:
> 
> ldirectord.cf has one virtual section with one rs. The whole thing is
> already running:
> 
> ## example 1 ##
> - i add a realserver line in ldirectord.cf:       real=192.168.14.20:23 masq
> 1 # description
> - ldirectord sees that the cf is changed
> - ldirectord adds the rs
> - ldirectord sends an email
> 
> so far so good
> 
> - i remove the realserver line from ldirectord.cf
> - ldirectord sees that the cf is changed
> - and does nothing  (no email is being sent either)
> - i have to manually remove the realserver with ipvsadm
> 
> ldirectord keeps running, and if i would add another rs, or change the
> weight of an existing rs, all works as intended.
> 
> I have tried to first set the weight to 0, and then remove it, with the same
> result.

Thanks, I'll look into that.

-- 
Horms
  H: http://www.vergenet.net/~horms/
  W: http://www.valinux.co.jp/en/



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