HAProxy Enterprise Documentation 2.3r1

LDAP Health Checks

HAProxy Enterprise can health check LDAPv3 servers. The load balancer uses the Anonymous Authentication Mechanism of Simple Bind to connect. The check is valid if the server responds with a successful result message.

  1. Configure the LDAP servers accordingly to allow anonymous binding. You can do this with an IP alias on the server side that allows only HAProxy Enterprise IP addresses to bind to it.

  2. Add option ldap-check to your backend section. In this example, we send the health check probes to alternative IP addresses specified with the addr parameter on the server lines:

    backend be_myapp
       option ldap-check
       server srv1 10.0.0.1:389 check addr 10.0.0.11
       server srv2 10.0.0.2:389 check addr 10.0.0.12

Next up

MySQL Health Checks