Replication Basics
Producers = Masters
Consumers = Slaves/Replicas
MMR = Multi-Master Replication
Non-MMR Providers do not require a syncrepl section
Non-MMR Providers require the following:
moduleload syncprov.la
index entryCSN eq
index entryUUID eq
overlay syncprov
MMR Providers (aka MMR Cluster Members) do require a syncrepl section and the “mirrormode on” option
If syncrepl is present no writes are allowed.
If syncprov is present writes are allowed.
If syncprov and syncrepl are present writes are allowed if mirrormode is set to on.
The overlay syncprov stanza should be located below (after) the syncrepl section on MMR Producers
Non-MMR and MMR Consumers do not require the syncprov module or overlay
Non-MMR and MMR Consumers do require the following:
index entryCSN eq
index entryUUID eq
syncrepl section
Indexing should be the same on Providers and Consumers
MMR and Non-MMR Consumers and MMR Providers syncrepl sections can be identical since slapd overlooks any RID that points to the server itself.
Basic replicator entry to database
dn: cn=replicator,dc=vmware,dc=com
objectClass: organizationalRole
objectClass: simpleSecurityObject
cn: replicator
userPassword: secret
description: LDAP Replication Account