LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] disabling persistence

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] disabling persistence
From: "Sameer Garg" <sameer.garg@xxxxxxxxx>
Date: Wed, 22 Aug 2007 18:19:35 +0530
I have setup LVD-TUN. I tried LVD-DR but because of limitations had to
resort to LVS-TUN.

Ok so ipvsadm -l says that the connection is being redirected to
another machine but it is not. The entry in /proc/net/ip_vs_stats
states so. If you look at the Destination IP column it doesn't change.

Secondly I tried refreshing the page a couple of times but the page
never changed. I have different pages to identify the source server. I
am using Firefox 2.0 and I was pressing the shift key to do a force
reload.

Lastly I also ran tcpdump on the other server and that confirmed that
no traffic was coming on the second machine.  The load balancing is
working but with persistence. I check from another machine and that
went to the second machine and the connection stuck there.


Sameer


On 8/22/07, Joseph Mack NA3T <jmack@xxxxxxxx> wrote:
> On Wed, 22 Aug 2007, Sameer Garg wrote:
>
> > Here are the outputs.
>
> > No information about persistence.
>
> yes
>
> > Even ip_vs_stats show that all the hits are being forwarded to the same 
> > server.
>
> you have the same number of InActConn for both machines so
> it would seem that the director is sending connections to
> both realservers.
>
> Have you set up a test LVS-DR using the scripts in the
> mini-HOWTO?
>
> Joe
> --
> Joseph Mack NA3T EME(B,D), FM05lw North Carolina
> jmack (at) wm7d (dot) net - azimuthal equidistant map
> generator at http://www.wm7d.net/azproj.shtml
> Homepage http://www.austintek.com/ It's GNU/Linux!
>
> _______________________________________________
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users
>


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