Ubuntu – Disable OpenLDAP replication

ldapopenldapreplicationUbuntu

I set up openldap replication so that if my primary LDAP server were to die, I would have another LDAP server ready to use just in case. I used the directions on Ubuntu's site to set up the replication.

If my primary LDAP server does die and the secondary server needs to take over, I'll need to disable that replication, right? How do I disable the replication and let the secondary server just be its own server after the primary server has died?

Thank you in advance.

Best Answer

If this is a P2P replication topology in which both of your LDAP servers are masters (i.e., both can receive updates from your applications and are configured to replicate updates to each other), then, no. You should not stop replication as you need your secondary server to accumulate updates in its replication queue and start applying them to the primary as soon as it becomes online. If your secondary server is not a master but replica, then you don't need to worry about stopping replication as your primary server (i.e., the master) is dead, therefore not replicating.

Related Topic