HAProxy Enterprise Documentation 1.6r1

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 check addr
       server srv2 check addr

Next up

MySQL Health Checks