LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] Session affinity, session cookies in LVS

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] Session affinity, session cookies in LVS
From: Gerry Reno <greno@xxxxxxxxxxx>
Date: Mon, 11 Jan 2010 16:27:07 -0500
Graeme Fowler wrote:
> Hi Frank
>
> On Tue, 2010-01-05 at 09:59 -0400, Frank Pani wrote:
>   
>> I have searched the archives to determine if LVS has the capability to load
>> balance based on session cookies embedded in HTTP packets.  That is, if a
>> packets flows through the load balancer, it can redirect the packet to the
>> proper realserver (or backend server) based on a session cookie.
>>     
>
> No.
>
> LVS is a layer 4 system, not layer 7 - it has no application awareness
> whatsoever.
>
> What you need is something like Pound - http://www.apsis.ch/pound/ or
> HAProxy - http://haproxy.1wt.eu/
>
> Graeme
>
>
>   
It can't do it on session cookies but it can do it on client ip using 
persistence:

http://www.austintek.com/LVS/LVS-HOWTO/HOWTO/LVS-HOWTO.persistent_connection.html

-Gerry



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