--On Wednesday, April 8, 2020 1:50 AM +0000 [email protected] wrote:

In a simple provider-consumer setup, I added syncprov to both config
(config, cn=config) and the database (mdb,cn=config) on the provider,
added syncrepl respectively on the consumer. The initial replication
seems working, entries added to provider will show up at consumer until
an acl rule added into provider. When I check the consumer, the syncrepl
directive in the (mdb, cn=config) is removed. I guess it's trying to
replicate producer's config since there is no syncrel on the provider (I
also see syncprov added to consumer). This defeats the purpose of
database replication. Is this expected behavior? Did I miss anything? (In
master-master setup, every server is replicating everything for each
other.)

You haven't provided any useful configuration information, but it is fully possible to replicate both cn=config and the back-mdb databases. However, you can't just replicate a provider config onto a consumer (i.e., non-MMR node). It is possible to create a consumer specific configuration on the provider in a separate database that you replicate to all consumers.

--Quanah



--

Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
<http://www.symas.com>

Reply via email to