On 4/9/20 4:56 PM, Quanah Gibson-Mount wrote:
If a server has:
Sorry, nitpicking here:
a) syncprov (and possibly accesslog), no serverID >1, and no syncrepl statement, it is a standalone provider
should be: serverID > 0 <=> serverID >= 1
b) syncprov (and possibly accesslog), serverID > 1, and a syncrepl statement, it is a multimaster node
should be: serverID > 0 <=> serverID >= 1
Isn't mirrormode true not also needed for MMR?
c) no syncprov, no serverID > 0, and no syncrepl statement, it is a standalone server that is not a provider (since there are no replication cookies stored)
Yes.
I'm not really clear what you mean by "read only" in any of these cases. If you want an LDAP server that accepts no writes at all, then you shouldn't configure replication, as any writes that occur on the provider will then occur on the consumer, and additionally set the readonly configuration parameter to TRUE.
He probably wants to implement a 2-tier replication topology where applications/systems access pure consumer replicas which do not accept write operations from normal clients but only the modifications retrieved via syncrepl from providers. (At least that's how Æ-DIR is designed. ;-)
Ciao, Michael.