LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Persistence, cookie solution

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: Persistence, cookie solution
From: Zhao Hongfei <zhaohf@xxxxxxxxxxxxxxx>
Date: Mon, 10 Sep 2001 21:25:26 +0800
Hi,

Tim McAuley wrote:

> Hiya,
>
> I need some hints with using LVS with cookies.
>
> We are using PHP code, which uses cookies, and I need to try and benchmark
> the system. The problem is that each connection will be coming from the same
> IP address and therefore the persistence option in ipvsadm will not work
> because all the requests are sent to one server.
>
> Is there any method of configuring LVS that might work? Or will I need to
> look for another "HTTP Header" based load balancing system? I'm very
> impressed with the ease of using LVS so far, and would prefer to keep with
> it, but if anyone has any other recommendations, I'd be happy to hear them.
>
> A solution to the benchmarking problem would also cope with multiple
> requests coming from a company/ISP proxy server as well.
>

I think the cookie persistent connection can't be support by LVS, because the
cookie is based on HTTP which is upside of TCP while the LVS is made for
IP. The protocol level isn't same. May be you need to modify Mr. Zhang's tcpvs
to realize the function.


>
> Many thanks,
>
> Tim
>
> _______________________________________________
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to http://www.in-addr.de/mailman/listinfo/lvs-users

Best regards.
Zhao.




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