LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Multiple websites with multiple ip addresses

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: Multiple websites with multiple ip addresses
From: Doug Curtis <doug.curtis@xxxxxxxxxxxxxx>
Date: Wed, 29 Nov 2006 11:37:12 -0500
Quoting Joseph Mack NA3T <jmack@xxxxxxxx>:

On Mon, 27 Nov 2006, Doug Curtis wrote:

So I guess what it boils down to is while the connections per ip address are evenly distributed, the connections per server aren't.

hmm. This is a feature, not a bug :-)

heh. Cool.  I'm glad that I was interpreting this correctly.


In LVS each VIP is scheduled separately. The imbalance presumably is usually a persistence problem (which you can't do a whole lot about), ie some clients stay connected for a long time and some don't. I would expect over a large enough number of clients (100? 1000?) the connections would even out.

One way of handling it would be to schedule all connections under one fwmark, then you only have one service.


Hmmm. I will have to look into that further. After some initial reading, that is probably what I need to do.

I guess the other thing that may throw a wrench into things is that I am using keepalive in apache.

use the standard value. for https you don't disconnect anyhow.

Joe


Thanks for the help,

Doug


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