1
17.7 Legacy Series / [SOLVED] Re: haproxy and healthcheck where is IF condition ?
« on: January 17, 2018, 11:04:24 pm »
Hi all,
Just to clarify or understand this haproxy (2.2) implementation.
I have just created an OPNsense cluster for my customer with haproxy plugin for load balancing Exchange 2016 servers.
Here is an partial output from /usr/local/etc/haproxy.conf file.
As you can see, I have #health check: hc_owa commented but no trace in the haproxy.conf with acl or use_backend :
We should have this lines in haproxy.conf.
Is it a bug ?
Thank you for your help.
Just to clarify or understand this haproxy (2.2) implementation.
I have just created an OPNsense cluster for my customer with haproxy plugin for load balancing Exchange 2016 servers.
Here is an partial output from /usr/local/etc/haproxy.conf file.
Code: [Select]
# Backend: bk_exchange_owa (Exchange Backend OWA)
backend bk_exchange_owa
# health check: hc_owa
option httpchk GET /owa/HealthCheck.htm
http-check expect status 200\ OK
As you can see, I have #health check: hc_owa commented but no trace in the haproxy.conf with acl or use_backend :
We should have this lines in haproxy.conf.
Code: [Select]
acl path_owa path_beg -i /owa/
andCode: [Select]
use_backend bk_exchange_owa if path_owa
Is it a bug ?
Thank you for your help.