Re: Using HAProxy for ldap

From: Brane F. Gračnar <>
Date: Mon, 24 Oct 2011 15:54:57 +0200

On Monday 24 of October 2011 14:29:07 Danie Weideman wrote:
> Is it possible to loadbalance between two active master ldap servers?
> If so I would like for one to be always persistent.

Something like:

frontend FE_ldap

	mode	tcp

	defailt_server BE_ldap

backend BE_ldap
	mode	tcp

	server node_1
	server node_2 backup

If both nodes can act as masters, and you want persistence based on client's source, just add the following into backend section:

stick-table type ip size 200k expire 60m stick on src

Best regards, Brane Received on 2011/10/24 15:54

This archive was generated by hypermail 2.2.0 : 2011/10/24 16:00 CEST