Re: redundant ldap - client config

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri, Jun 04, 2010 at 10:22:51AM -0700, aurfalien@xxxxxxxxx wrote:
> Hi all,
> 
> I have a few ldap servers slaved to a primary via syncrepl, all is well.
> 
> I've set my clients to auth against a few and there /etc/ldap.conf  
> looks like so;
> 
> uri ldap://primary.domain.com ldap://secondary.domain.com
> 
> However when either primary or slaves go down, while the clients can  
> log in, access is very slow, ls of any dir is painful.
> 
> The /var/log/messages shows several failed attempts to conect to the  
> slaves ldap servers.

Try to set haproxy locally and configure round-robin redirection for all
your replicas. When one'll down, it would not redirect any trafic there.

-- 
Dominik Zyla

Attachment: pgpEunqaSd8Ek.pgp
Description: PGP signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux