[prev in list] [next in list] [prev in thread] [next in thread]
List: haproxy
Subject: RE: Featurerequest: Scheduled Loadbalancing
From: "Mike Hoffs" <m.hoffs () mijn-sleutel ! com>
Date: 2011-02-23 15:47:35
Message-ID: d1146ee7-1222-4d02-8c03-0e699c358e7e () mijn-sleutel ! com
[Download RAW message or body]
Hi,
If it is for http traffic, u can also use:
option httpchk GET /check.php HTTP/1.0
http-check expect rstring all_is_ok
When u don't want load balancing, make sure the output is other than "all_is_ok" . \
Then the second server is removed from the pool.
Met een vriendelijke groet,
----
Mike Hoffs
> did you consider using the control socket for this?
>
> http://haproxy.1wt.eu/download/1.4/doc/configuration.txt [Section 9.2]
>
> Some simple cron jobs with socat or a custom script will do the job. If
> you generate your configs with some templating system, you can generate
> matching crontabs on the fly too.
>
> Regards,
> John
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic