Re: killing persisent conections on backends marked down?

2012-02-28 Thread Siva
Hi Willy, is it possible for haproxy to failover to a backup, but not failback even if the server is alive again? I have the same problem. I would like for my primary to be detected as UP, but not do the failback immediately. Is it possible to failback to the primary only when the backup

killing persisent conections on backends marked down?

2010-02-25 Thread Greg Gard
hi willy and friends, i am working on a set of ruby scripts to do database failover and stonith. so far all is working pretty well, but i have a few issues: 1) rails makes persistent connections to the backend database so when a server is marked down, the connection remains ongoing. currently, i

Re: killing persisent conections on backends marked down?

2010-02-25 Thread XANi
Dnia 2010-02-25, czw o godzinie 16:27 -0500, Greg Gard pisze: hi willy and friends, i am working on a set of ruby scripts to do database failover and stonith. so far all is working pretty well, but i have a few issues: 1) rails makes persistent connections to the backend database so when

Re: killing persisent conections on backends marked down?

2010-02-25 Thread Willy Tarreau
Hi, On Thu, Feb 25, 2010 at 10:54:35PM +0100, XANi wrote: Dnia 2010-02-25, czw o godzinie 16:27 -0500, Greg Gard pisze: hi willy and friends, i am working on a set of ruby scripts to do database failover and stonith. so far all is working pretty well, but i have a few issues: 1)

Re: killing persisent conections on backends marked down?

2010-02-25 Thread Greg Gard
hi guys, thanks for the feedback. yet another rails issue that makes deployment a hassle. my biggest issue with setting the timeouts is that when a user hits the page after a timeout, they will get a 5xx error, but perhaps i can teach rails to catch the exception and retry the connection. anyway,