OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Profile of netbja »
  • Show Posts »
  • Topics
  • Profile Info
    • Summary
    • Show Stats
    • Show Posts...
      • Messages
      • Topics
      • Attachments

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

  • Messages
  • Topics
  • Attachments

Topics - netbja

Pages: [1]
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.

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/and
Code: [Select]
use_backend bk_exchange_owa if path_owa
Is it a bug ?

Thank you for your help.
 

Pages: [1]
OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2