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

Graeme Fowler graeme at graemef.net
Tue Jan 5 14:50:03 GMT 2010


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




More information about the lvs-users mailing list