--On Tuesday, February 2, 2021 12:54 AM +0000 [email protected] wrote:
Hi all,
We are setting up multi-master (3 providers) and are curious if it is
recommended to use delta syncrepl between the providers vs standard sync.
Currently, we have delta-sync set up between consumers and our single
provider. Are there any gotchas with using delta syncrepl for
provider-provider replication?
I am curious if a new provider is added, does/should the accesslog db get
sync'd as well, or does each provider get its own unique accesslog db?
And if each accesslog db is unique, how do consumers using delta syncrepl
deal with a provider that has sync'd the change in its main db but not in
the accesslog? Is this a non-issue if all consumers are aware of all
providers and would that mean all consumers have to sync from all
providers? I'm sure the answer to this is clear but I am missing it in
the docs. Any input or clarification is appreciated.
Hi Paul,
You should use delta-syncrepl.
Accesslog databases are always unique to a given provider. How would a
provider have a change in its main db that's not in its accesslog db? A
new provider should always be initalized via an export from an existing
provider via slapadd. It would then replicate any new changes since that
point, which would then have them be in their accesslog DB.
I'd generally point consumers at at least 2 providers, preferably all
providers. Or just get rid of consumers entirely and have everything be
providers.
--Quanah
--
Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
<http://www.symas.com>