> 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
|