[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-virtual-server
Subject:    Re: [lvs-users] Session affinity, session cookies in LVS
From:       Gerry Reno <greno () verizon ! net>
Date:       2010-01-11 21:27:07
Message-ID: 4B4B97AB.4010902 () verizon ! net
[Download RAW message or body]

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@LinuxVirtualServer.org
Send requests to lvs-users-request@LinuxVirtualServer.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic