Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an OpenLDAP server running on a Debian machine that serves logins to various machines. I would like to create a backup server, which simply keeps a copy of all the OpenLDAP data so that in case the original server fails, the backup server can start serving logins once its IP is changed to that of the original server and the OpenLDAP server is started on it.

How can this be done? Or is it recommended to create a slave OpenLDAP server? If I create a slave server, will all the client machines that have already been configured (over 40 of them) need extra configuration to know about the slave server?

share|improve this question
up vote 2 down vote accepted

The best way to do this is with a slave openldap server. The slave setup in openldap has completly changed between the current version (2.4) and previous versions. On etch, you'll probably need to look for older documentation or consider upgrading.

Although IP failover is an option as you suggested I would recommend configuring all the machines to use both servers.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.