LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Multi director and persistency

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: Multi director and persistency
From: Leonard Soetedjo <Leonard@xxxxxxxxxx>
Date: Fri, 1 Nov 2002 11:46:50 +0800
On Friday 01 November 2002 11:25, Leonard Soetedjo wrote:
> Hi,
>
> From lvs-users mailing list, I found out that when a realserver's weight is
> set to 0, then any new connection would not be forwarded to that
> realserver, even though the client has established a session with that
> realserver. Anyone has found a solution for that?
>
> I have decided to implement more than 2 directors (possibly 3 or 4).  The
> packets are RR-ed using iproute2.  But this would break persistency,
> wouldn't it?  Can anyone advice me on my setup?  The objective of having
> more than 2 directors (all serving the same realservers) is to have
> redundancy and higher throughput (the projection is around 10000 clients,
> doing a http & https every 10 mins or so).

For http & https, if I rewrite my PHP application to store sessionID in a 
backend mysql, would it help?

For telnet or ftp, can I use the iproute without the "equalize" keyword, so 
that the balancing is on a per-flow basis (and therefore to the previously 
connected director and realserver)?


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