LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Removing Real Servers from the cluster

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: Removing Real Servers from the cluster
Cc: james.ogley@xxxxxxxxxxxxxx
From: "Matthew S. Crocker" <matthew@xxxxxxxxxxx>
Date: Tue, 1 May 2001 07:50:36 -0400 (EDT)
On Tue, 1 May 2001, Joseph Mack wrote:
> Unfortunately you're ahead of the curve here. I was hoping I'd
> get to this earlier this year but I haven't written
> code to handle that yet. The configure script sets the LVS up,
> but can't dynamically change the LVS. This is on my todo list
> but won't be done for a while. 
> 
> In the meantime, you can set the weight to 0 with ipvsadm
> and comment out the appropriate line in the mon.cf file
> and then re-HUP mon.

Does HUPping mon or ldirectord  tear down the LVS and rebuild it?  If so,
does that destroy all existing connections.  Does it act like a heatbeat
recover (eg, director going down) ??.  I run everything using
heatbeat/ldirectord. If I manually set the weight to 0 and the kill apache
on the server it gets taken out of the LVS pool.  If I change the config
file ldirectord notices the change and rebuild the LVS config.  I'm not
sure if it flushed the config and rebuild from scratch terminating live
connections or not.

-Matt

 -- 
----------------------------------------------------------------------
Matthew S. Crocker 
Vice President / Internet Division         Email: matthew@xxxxxxxxxxx
Crocker Communications                     Phone: (413) 587-3350
PO BOX 710                                 Fax:   (413) 587-3352
Greenfield, MA 01302-0710                  http://www.crocker.com
----------------------------------------------------------------------



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