LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: L7 switching support in LVS

To: jyang@xxxxxxxxxxxxxxxxxxxxxxx,<lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: L7 switching support in LVS
From: Jacob Coby <jcoby@xxxxxxxxxxxxxxx>
Date: Fri, 08 Oct 2004 15:25:42 -0400
Jessica Yang wrote:
Our application require L7 load balancing because we use URL rewriting to
keep the session info in the requested URLs, like this:
http://ip/servlet/servletname;jsessionid =*****. Basically, we want the load
balancer will deliver the requests who have the same jsessionid to the same
real server. Looking through the LVS document, KTCPVS seems to be able to
provide L7 load balancing, but I couldn't find any documentation about
compiling, configuring, features and commands of KTCPVS. Does KTCPVS have
the feature to distinguish the jsessionid in the requested URL and/or in the
Cookie header? Does KTCPVS have to be bundled together with IPVS? And what
is the process to make it work?

It almost sounds like you need to use a proxy instead of LVS to do the load balancing. If something in your jsessionid is unique to a server, it would be very simple to make a rewrite rule accomplish what you want.

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