LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: lvs doesn't seem to be clearing/Zeroring

To: Tim Cronin <tim@xxxxxxxxxxxxxxx>
Subject: Re: lvs doesn't seem to be clearing/Zeroring
Cc: "'lvs-users@xxxxxxxxxxxxxxxxxxxxxx'" <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
From: Julian Anastasov <ja@xxxxxx>
Date: Fri, 1 Nov 2002 21:06:40 +0200 (EET)
        Hello,

On Fri, 1 Nov 2002, Tim Cronin wrote:

> # if your using pasv you need persistence....
> /sbin/ipvsadm -A -t 172.24.1.240:ftp -p

> #forward ftp to realserver 192.168.1.20 using LVS-NAT (-m), with weight=1
> /sbin/ipvsadm -a -t 172.24.1.240:ftp -r 192.168.1.20:ftp -m -w 1

> if I change the wait of the .20 RIP to 0 and rerun the script
> my connections continue to go that server even when I zeroed and clear
> the table.

        Because the virtual service is marked persistent. In such case
RSs with weight 0 can continue to accept _new_ conns.

Regards

--
Julian Anastasov <ja@xxxxxx>



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