LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

[lvs-users] Can LVS do persistence by srcip & srcport combined?

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: [lvs-users] Can LVS do persistence by srcip & srcport combined?
From: "Malcolm Turnbull" <malcolm@xxxxxxxxxxxxxxxx>
Date: Fri, 19 Sep 2008 11:05:27 +0100
Can LVS do persistence by srcip & srcport combined? (rather than just src ip?)

I know it is slight daft but works well with some applications:

Radware have an option to do this on their units as follows

According to Radware :

Server Per Session - The Server Per Session mode is similar to the
Entry Per Session mode, in that a new Client Table entry is added for
every session established between the client and the server. The
difference is that the sessions from the same client can be forwarded
to different servers. This mode is recommended in cases when a large
number of users are represented by a single IP address as a client to
AppDirector.

Entry per Session (default) - In this mode, a new entry is added to
the Client Table for every session established between the client and
the server. However AppDirector maintains layer 3 persistency –
meaning that once a server is selected for a session from a client to
a Virtual IP, all traffic from this client to the same Virtual IP
continues to approach the same server, regardless of the application.

Essentially the application this is being used for is for requests
from a single server (single IP address, new connections on different
source ports) being load balanced to three servers. Since this is SSL
traffic, it's necessary for the same server to continue the session,
but for each new session to be distributed to the lowest utilised
server .....


Thanks in advance.

-- 
Regards,

Malcolm Turnbull.

Loadbalancer.org Ltd.
Phone: +44 (0)870 443 8779
http://www.loadbalancer.org/


<Prev in Thread] Current Thread [Next in Thread>
  • [lvs-users] Can LVS do persistence by srcip & srcport combined?, Malcolm Turnbull <=