That's fine, I am just trying to accomplish connection draining. So if I add autoreload=yes to my ldirectord.cf ldirectord will keep checking for changes? How often does this check occur?
So to do what I need it would just be add autoreload=yes to my ldirectord.cd? Then when I want to take a server offline edit that file and it will change it on its own, and when I want to bring it back up edit the file again? Thanks for your help. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Graeme Fowler Sent: Friday, March 28, 2008 4:45 PM To: LinuxVirtualServer.org users mailing list. Subject: Re: [lvs-users] Take offline and server comes back 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 _______________________________________________ LinuxVirtualServer.org mailing list - [email protected] Send requests to [EMAIL PROTECTED] or go to http://lists.graemef.net/mailman/listinfo/lvs-users _______________________________________________ LinuxVirtualServer.org mailing list - [email protected] Send requests to [EMAIL PROTECTED] or go to http://lists.graemef.net/mailman/listinfo/lvs-users
