Re: TCP Stateful failover

From: Matt Zagrabelny
Date: Mon Jun 14 2010 - 09:51:27 EST


On Mon, 2010-06-14 at 00:11 +0100, John Reynolds wrote:
> Hi,
>
> I am working on a project that requires a hot standby configuration, I
> will be using CARP as the failover mechanism.
> the central software establishes the connections to remote hosts, and
> I need the failover to be stateful.
> so my question is this, can the standby machines be made to think they
> have a connection to the remote hosts, so that when one of them
> becomes the master, they can just start communicating without having
> to go through the connection setup process.
> I cant have the standbys create real connections, as the remote host
> only allows a single connection to the listening port, thus having to
> wait for timeouts etc, would make the failover take an unacceptably
> long time.
>
> Any suggestions or examples of how to achieve this would greatly appreciated.

This isn't the answer, but may get you pointed in the right direction:

http://conntrack-tools.netfilter.org/

--
Matt Zagrabelny - mzagrabe@xxxxxxxxx - (218) 726 8844
University of Minnesota Duluth
Information Technology Systems & Services
PGP key 4096R/42A00942 2009-12-16
Fingerprint: 5814 2CCE 2383 2991 83FF C899 07E2 BFA8 42A0 0942

He is not a fool who gives up what he cannot keep to gain what he cannot
lose.
-Jim Elliot

Attachment: signature.asc
Description: This is a digitally signed message part