LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: All connections to one realserver

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: All connections to one realserver
From: Horms <horms@xxxxxxxxxxxx>
Date: Mon, 16 Feb 2004 12:22:11 +0900
On Thu, Feb 12, 2004 at 11:49:00AM -0500, Joseph Mack wrote:
> John Ziniti wrote:
> > 
> > This question seems to be asked every couple of months, but
> > there has never been a clear solution posted back to the list.
> > 
> > I have 1 virtual server with two realservers using LVS-DR. All
> > traffic seems to be going to through the load balancer, but it
> > is all being sent to a single realserver.
> > 
> > $ ipvsadm -Ln
> >                                      Thu Feb 12 09:36:53 2004
> > 
> > 
> > IP Virtual Server version 1.0.9 (size=65536)
>                                         ^^^^^
> this is kinda large. The default in 1.0.10 is 4096. Did you change this?
> 
> > Prot LocalAddress:Port Scheduler Flags
> >    -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
> > TCP  134.174.249.126:80 rr persistent 10
> >    -> 192.168.1.146:80             Route   8      0          0
> >    -> 192.168.1.147:80             Route   8      0          0
> > 
> > $ ipvsadm -Ln --stats
> >                                      Thu Feb 12 09:33:01 2004
> > 
> > 
> > IP Virtual Server version 1.0.9 (size=65536)
> > Prot LocalAddress:Port               Conns   InPkts  OutPkts  InBytes
> > -> RemoteAddress:Port
> > TCP  134.174.249.126:80              14108   186564        0 1211538  
> >   -> 192.168.1.146:80                14107   186555        0 12114859
> >   -> 192.168.1.147:80                    1        9        0      521
> 
> wierd

Are all the connections from the same end-user machine, if
so I would expect them to all go to the same real-server as
you have persistance set.

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