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
- fallback of established tcp connections Piavlo
-