]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MEDIUM] add support for health-checks on other addresses
authorWilly Tarreau <w@1wt.eu>
Sun, 25 Mar 2007 14:45:16 +0000 (16:45 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 25 Mar 2007 14:45:16 +0000 (16:45 +0200)
commit2ea3abb7bf5af2bf1ca8177a9fbfdcb772c963a4
tree433ffe00847deda3f25f5ee6f417eb6b8e326a35
parent4fb20ff1cc9ba597d2ebb808c8977b9c2fa91228
[MEDIUM] add support for health-checks on other addresses

Patch from Fabrice Dulaunoy. Explanation below, and script
merged in examples/.

This patch allow to put a different address in the check part for each
server (and not only a specific port)

I need this feature because I've a complex settings where, when a specific
farm goes down, I need to switch a set of other farm either if these other
farm behave perfectly well.

For that purpose, I've made a small PERL daemon with some REGEX or PORT
test which allow me to test a bunch of thing.
doc/haproxy-en.txt
doc/haproxy-fr.txt
examples/check [new file with mode: 0755]
examples/check.conf [new file with mode: 0644]
include/types/server.h
src/cfgparse.c
src/checks.c