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.
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.
option ldap-checkto your
backendsection. In this example, we send the health check probes to alternative IP addresses specified with the
addrparameter on the
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 upMySQL Health Checks