LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

RE: taking a realserver offline

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: RE: taking a realserver offline
From: "Duran, Richard" <RDuran@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 1 Oct 2004 18:15:05 -0500
Is "reset" different from "restart"? How would this be done on a Windows RS?

-richard


-----Original Message-----
From:   lvs-users-bounces@xxxxxxxxxxxxxxxxxxxxxx on behalf of Peter Mueller
Sent:   Fri 10/1/2004 6:08 PM
To:     LinuxVirtualServer.org users mailing list.
Cc:     
Subject:        RE: taking a realserver offline
> Is it possible to take a realserver offline in such a way 
> that existing connections are immediately redirected to 
> another realserver? We've had the need to do this before and 
> don't know what else to do beyond either (1) setting the 
> weight to "0" and iterating through a process of 
> disconnecting "inactive" users/sessions and hoping that they 
> don't reconnect within the 5 minute persistence_timeout, or 
> (2) removing the host-specific entry from keepalived.conf 
> (brutally disconnecting everyone).

Put a 0 weight on the server in LVS and reset the service (e.g. apache).
Apache/ et al will send a RST for you.

Regards,

P
_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://www.in-addr.de/mailman/listinfo/lvs-users



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