-
lvlinuxSerge: HAProxy has stats page functionality, which in the stock configs is exposed on 127.0.0.1:22002. You can either tunnel in to your server and forward the port, or change the listen IP to something reachable from where you need to access it. (You can do all kinds of other tricks and things with HAProxy for monitoring, like have it run check/notify scripts, but the stats page is already setup
-
lvlinuxand ready for use in the stock config.) :-D
-
SergeI think I found an issue. My couchdb in other datacenters. So, when haproxy loosing connection to datacenter, it switch to second zone, but never switch back to original zone
-
Sergelooking for the way how to make haproxy automatically reconnect to the main zone
-
SergeAny idea?
-
lvlinuxHmm, are you using the RPM from 2600Hz for HAProxy?
-
lvlinuxIt should use any available, and only stop using a server when it becomes unavailable due to failing health checks.
-
Sergelvlinux: I use RPM version. If haproxy mark server unavailable, it stop to check it at all. If backup servers will be mark as bad, by the end haproxy just complain that no more servers available and die
-
Sergeit did not trying to check if marked servers become available