I am migrating from single provider to N-Way provider in OpenLDAP 2.4.56
This configuration was setup years ago and reading the docs has me questioning
this piece of configuration. I notice we have no present configured on our
syncprov overlay for our primary DB setup for delta sync. I noticed in the docs
it explains
"
The nonpresent option should only be configured if the overlay is being placed
on top of a log database, such as when used with delta-syncrepl.
The nonpresent option is configured by the
syncprov-nopresent <TRUE|FALSE>
directive. This value should only be set TRUE for a syncprov instance on top of
a log database (such as one managed by the accesslog overlay). The default is
FALSE.
"
dn: olcDatabase={2}mdb,cn=config
changetype: modify
replace: olcDbCheckpoint
olcDbCheckpoint: 1024 10
-
replace: olcDbIndex
... indexes ...
-
replace: olcDbMaxSize
olcDbMaxSize: 5000000000
-
replace: olcDbNosync
olcDbNosync: TRUE
dn: olcOverlay=syncprov,olcDatabase={2}mdb,cn=config
changetype: add
objectClass: olcOverlayConfig
objectClass: olcSyncProvConfig
olcOverlay: syncprov
olcSpNoPresent: TRUE
Should this olcSpNoPresent piece be removed from our configuration? What
adverse affects would this generate if it is in fact an incorrect piece of
configuration? Delta-Sync between our consumers and provider seem to function.
I am worried this could cause problems on my journey to N-Way provider
replication.
Next, I am testing new architecture for N-Way but see that the new context CSNs
generated by those new providers also show up in the initial provider. If I
want to "go back" to my original system state before my N-Way testing, can I
simply delete the ContextCSNs from an exported LDIF and reload the database? Or
is that asking for trouble?