LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: persistence

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: persistence
From: Casey Zacek <cz@xxxxxxxxxxxx>
Date: Wed, 30 Mar 2005 21:50:00 -0600
Casey Zacek wrote (at Wed, Mar 30, 2005 at 08:42:12AM -0600):
> Francois JEANMOUGIN wrote (at Wed, Mar 30, 2005 at 09:51:36AM +0200):
> > Casey Zacek :
> > > TCP 00:20  NONE        CLIENT-IP:0  VIP:0 RIP1:0
> > > TCP 00:42  NONE        CLIENT-IP:0  VIP:0 RIP2:0
> > 
> > This only should happen if one realserver goes down and up again during the
> > persitence interval. Otherwise, there is a bug somewhere.

I was just looking for mappings from a client-ip to both RIP1 and
RIP2..  I didn't find any for this client, but found this instead:

# ipvsadm -lnc | fgrep VIP | fgrep CLIENT-IP
TCP 01:25  FIN_WAIT    CLIENT-IP:35231 VIP:80 RIP1:80
TCP 01:03  FIN_WAIT    CLIENT-IP:34822 VIP:443 RIP1:443
TCP 119:20 NONE        CLIENT-IP:0    VIP:0 RIP1:0
TCP 00:52  FIN_WAIT    CLIENT-IP:34821 VIP:443 RIP1:443
TCP 00:52  FIN_WAIT    CLIENT-IP:34821 VIP:443 RIP1:443

Why would I have BOTH of the last two entries?  Shouldn't that be
entirely impossible?

-- 
Casey Zacek
Senior Engineer
NeoSpire, Inc.

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