(Category) (Category) OpenLDAP Faq-O-Matic : (Category) OpenLDAP Software FAQ : (Category) Configuration : (Category) SLAPD Configuration : (Category) Replication
OpenLDAP's suite supports two types of replication:
  • Replication via syncrepl, the LDAP content synchronization operation (LDAP sync, RFC 4533). Introduced in OpenLDAP 2.2, it operates in pull mode: the consumer pulls the updates out of the producer. When used in refreshOnly mode, the producer barely knows it's acting as a master, while the refreshAndPersist mode requires the producer to support persistent searches. Either mode requires the provider and the consumer to support the controls related to the Sync Operation.
  • Replication via the slurpd daemon; inherited from UMich's LDAP. It operates in push mode: the master pushes changes to the slaves. Slurpd replication is considered obsolete. It is deprecated in favor of syncrepl replication and is being phased out. It will be completely dropped in 2.4.

ando@sys-net.it, Kurt@OpenLDAP.org
Common answers about replication:
(Answer) Why are client modifications being made to the slave SLAPD instead of being referred to the master?
(Answer) Why aren't the clients chasing the update referral returned by the slave SLAPD?
(Answer) Why can't the updatedn modify the slave?

Answers specific to slurpd:
(Answer) How do I add slaves?
(Answer) How many replogs should I use?
(Answer) Why don't my changes on a slave directory get referred to the specified master?

Answers specific to syncrepl:
(Answer) How do I replicate my entire LDAP tree using Syncrepl?
(Answer) How do I auto-restart replication if I'm using "refreshAndPersist" mode?
(Answer) What does "sessionlog" directive do?
(Answer) How to automatically chase referrals on a syncrepl slave
(Answer) How to have a slave proxying changes to the master
(Answer) How to set up syncrepl using tls certs (sasl external bind)

[New Answer in "Replication"]
Previous: (Category) Overlays
Next: (Category) Performance Tuning
This document is: http://www.openldap.org/faq/index.cgi?file=1170
[Search] [Appearance] [Show This Entire Category]
This is a Faq-O-Matic 2.721.test.
© Copyright 1998-2013, OpenLDAP Foundation, info@OpenLDAP.org