Hi John,

On Fri, Sep 17, 2010 at 12:51:15PM +0100, John Carter wrote:
> Hi,
> 
> I have found that if I use Source IP persistence with both backend servers
> and a backup server. If the backend servers go down then I will be directed
> to the backup server, as it should be.
> 
> However, my persistence is now change to be on the backup server and if the
> backend come back online, my persistence with the backup is maintained.

yes indeed that's how it works.

> <config>
(...)
> Is there anyway of keeping the backup server from being persistent - when
> using source IP persistence ?

No, right now there is no such solution. While I understand why it is not
desirable in your case, in most cases you generally don't want visitors
to lose persistence when going to a backup server. We would probably need
to add a per-server option to disable persistence.

One thing that is planned for version 1.6 is the principle of "buddy servers".
The idea is that we would be able to associate servers together, and that all
traffic would be targetted to one server, but if it fails, a predetermined one
would get the traffic without changing cookies nor persistence. That way, when
the first one comes back up, the traffic can switch back to it.

I think that either method would cover your needs, though the first one
should be "relatively" easy to implement. Are you interested in trying
to do it yourself (even with some assistance if needed) ?

Regards,
Willy


Reply via email to