Ah, I misunderstood your config.
To do this you will need to split the single listen section into a
frontend and 2 backends.
The frontend handles the listening on a specific IP and port, as well as
making the decision on which backend to use, in your case it'll be based on
the Host: header. Each
Hi Roy
You simply need to send an HTTP 1.1 request with a Host: header in the http
check, like this:
option httpchk GET /index.html\r\nHost: vhost.example.com
Graeme.
On 17 August 2010 23:19, Roy Smith r...@panix.com wrote:
I'm running HA-Proxy version 1.3.22 on Ubuntu Linux. I've got
Ah, OK, that's getting me closer. Thanks! Now I've got
option httpchk GET /index.html
HTTP/1.1\r\nHost:test1.cluster6.corp.amiestreet.com
server webA test1.cluster6.corp.amiestreet.com:80 cookie A check inter 2s
server webB test2.cluster6.corp.amiestreet.com:80 cookie B check
How about passing healthcheck.cluster6.corp.amiestreet.com for the option
httpchk, and also have the Apache VirtualHosts recognize healthcheck as a
ServerAlias? The idea here is your healthcheck will be standardized to each
host in the cluster, which you'll also want when you split these hosts,
4 matches
Mail list logo