[Date Prev][Date Next]
Re: Replication for high availability?
David Wright wrote:
> (This question is unrelated to my other posts.) My LDAP server went was
> down for ~hour today, which caused chaos at my site, because it does
> login authentication. I would like to avoid such problems in the future
> by setting up a cheap box that replicates its database and could be used
> in its place. The trouble is, how do I configure my client machines to
> use the slave in the event of the master's failure? Can anyone suggest
> some neat trick involving DNS or virtual interfaces or some such magic?
If your clients use the ldap_init initialization function (most do)
then you only have to feed them a list of hosts; the library tries
automatically all the hosts until one succeeds.
Dr. Pierangelo Masarati mailto:firstname.lastname@example.org
Developer, SysNet s.n.c. http://www.sys-net.it