fallback of established tcp connections

From: Piavlo <lolitushka#gmail.com>
Date: Sun, 02 Oct 2011 18:44:43 +0200

  Hi,

There is a client which establishes a persistent tcp connection to the server, and haproxy in the middle which has a main server and backup server. Then main server goes offline , the connections are reestablished to the backup server just fine. The problem is that once main server is back the already established connections should be restablished to the main server. Is there a clean way to do it in haproxy? Since there is a lot of data sent over the connections the client/server timeout is never reached ,so established connections continue forever stay on the backup server. The way I see it is to trigger a reconnect by haproxy automatically tearing the already established connections to backup server then main server is back online.

Thanks
Alex Received on 2011/10/02 18:44

This archive was generated by hypermail 2.2.0 : 2011/10/02 19:00 CEST