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
|