LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] LVS and Squid client with persistent connection

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [lvs-users] LVS and Squid client with persistent connection
From: Peter Viskup <skupko.sk@xxxxxxxxx>
Date: Wed, 12 Dec 2018 08:57:38 +0100
Hello Thomas,

On Wed, Dec 5, 2018 at 3:26 PM Thomas Bätzler <t.baetzler@xxxxxxxxxx> wrote:
> > Having client of Squid server with opened persistent connection causing
> the
> > LVS balancing forwarding new connections to the other node only.
>
> Yeah, while there's an established connection over ipvs all subsequent new
> connections from the same source ip are routed to the same backend server.

The lblcr algorithm should not balance on source-ip, but on "dh with
wlc", but the algorithm is not clear to me. Would not expect the
described situation to happen.

>
> I hate to suggest this, but have you considered using haproxy to distribute
> requests to your squid servers?

Would like to stay with LVS and not going to user-level balancing if possible.

-- 
Peter

_______________________________________________
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>