LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Slowly disconnect a real server

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: Slowly disconnect a real server
From: Roberto Nibali <ratz@xxxxxxxxxxxx>
Date: Fri, 20 Sep 2002 10:17:44 +0200
Hello,

Stefano Mason wrote:
Is possible to slowly disconnect a real server until all connection on it terminate?

Yes, set the weight of the RS you would like to disconnect in future to 0. This is the quiesced mode. There the LVS will not send new connection requests to the server with weight 0 anymore. Only the existing, established connections will be forwarded to the server until all of them are expired. You can check this with 'ipvsadm -L -n'. Check the inactconns after you set the weight of a RS to 0. When that counter is 0 too, you can savely remove/reboot/destroy the RS without loosing one single customer/surfer.

I use the wlc schema and all real server have the same weight (=1).

:) Why do you use wlc then?

Regards,
Roberto Nibali, ratz
--
echo '[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq'|dc



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