Connections not being balanced to servers
Tom
bigendian+lvs at gmail.com
Wed Sep 13 17:31:17 BST 2006
You nailed it. I misunderstood the purpose of the persistence_timeout
parameter.
And thanks for the 100/100 wieght tip. I'll use it.
Thanks again!
On 9/13/06, Graeme Fowler <graeme at graemef.net> wrote:
>
> Hi
>
> On 13/09/2006 07:04, Tom wrote:
> > I've been testing a new installation of LVS + keepalived and am having
> some
> > trouble. Things work to a degree, but I notice that connections to the
> VIP
> > always stick with a single real server instead of being distributed
> across
> > all nodes in the real server list.
>
> You're using persistence. That entails connections being sent to server
> 'x' from client 'y' until no connections from client 'y' have been
> handled within the persistence timeout.
>
> For testing purposes, change your scheduler back to 'rr' and comment out
> the persistence_timeout line in your virtual_server definition.
>
> Re-test from a single (or multiple) client(s) and see what that gives you.
>
> Also, a recommendation: change your weights up to 100 for your
> realservers. 100/100 equates to 1/1 but gives you more flexibility if
> you put in a nominally half-spec server (or twice-spec, and so on).
>
> Graeme
> _______________________________________________
> LinuxVirtualServer.org mailing list - lvs-users at LinuxVirtualServer.org
> Send requests to lvs-users-request at LinuxVirtualServer.org
> or go to http://www.in-addr.de/mailman/listinfo/lvs-users
>
Search lvs-users Archives
More information about the lvs-users
mailing list