LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

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

To: 'Julian Anastasov' <ja@xxxxxx>, Tim Cronin <tim@xxxxxxxxxxxxxxx>
Subject: RE: lvs doesn't seem to be clearing/Zeroring
Cc: "'lvs-users@xxxxxxxxxxxxxxxxxxxxxx'" <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
From: Tim Cronin <tim@xxxxxxxxxxxxxxx>
Date: Fri, 1 Nov 2002 13:22:29 -0600
so 
> /sbin/ipvsadm -Z
> /sbin/ipvsadm -C
doesn't clear/zero out the old persistent records 

is there a way to do that?


-----Original Message-----
From: Julian Anastasov [mailto:ja@xxxxxx]
Sent: Friday, November 01, 2002 1:07 PM
To: Tim Cronin
Cc: 'lvs-users@xxxxxxxxxxxxxxxxxxxxxx'
Subject: Re: lvs doesn't seem to be clearing/Zeroring



        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>