LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] Take offline and server comes back

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] Take offline and server comes back
From: Graeme Fowler <graeme@xxxxxxxxxxx>
Date: Fri, 28 Mar 2008 20:45:14 +0000
On Fri, 2008-03-28 at 16:20 -0400, Jason Ledford wrote:
> Any other ideas how to handle this?  Would editing the ldirectord.cf and then 
> do /etc/init.d/ldirectord reload accomplish what I want without disrupting 
> current connections?

You can make ldirectord do an automatic reload using the "autoreload"
option in the config file.

You could, therefore, change the weight of a realserver to zero in
ldirectord.cf, and it'll get set to 0. To unpick that, give it a
positive weight.

Note that if the weight is set to zero, that will only affect *new*
connections to that server. Existing connections will continue
(regardless of persistence). See the ldirectord perldoc pages for more
details on how to work around this (hint: quiescent).

Graeme



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