LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] lvs/dr round robin with windows 2008 web servers not wor

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] lvs/dr round robin with windows 2008 web servers not working as expected
From: Graeme Fowler <graeme@xxxxxxxxxxx>
Date: Wed, 19 May 2010 18:37:55 +0100
On Wed, 2010-05-19 at 10:26 -0700, Eric wrote:
> Why isn't it bouncing me between nodes when I refresh the VIP in a browser?
> I have two linux web servers that are set up the same way and I get round
> robin'd between the two nodes when I refresh their VIP.

Hrm...

Is IIS setup to use HTTP keepalives? If not, are you using a browser
which is looking for favicon.ico when it makes a request?

Just saying - if Apache on your Linux pair is using keepalives, then
several HTTP requests will go down one channel - in your case, "GET /"
and "GET /favicon.ico" will be in the same TCP session.
Without keepalives, guess what? "GET /" goes to one realserver - and
"GET /favicon.ico" goes to the other.

Have you checked the IIS webserver logs to see if any requests are
making it to the second box? I'll eat my hat if the log on one machine
is full of favicon requests :)

Or... here's an alternative: IIS *is* using keepalives, and the browser
is holding the session open while you refresh because it hasn't hit its
own internal keepalive expiry timer...

Graeme


_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

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>