Diana Shepard wrote:
Is there a way to temporarily disable replication
without deleting an entire replication agreement?
Yes. An easy way to do this is to change the replication schedule.
Step 1: Find the DN of your replication agreement
ldapsearch -x -D "cn=directory manager" -w password -b cn=config
"(objectclass=nsds5ReplicationAgreement)" dn cn
Step 2: Change the replication schedule window to some bogus time
ldapmodify -x -D "cn=directory manager" -w password
dn: dn from Step 1
changetype: modify
replace: nsds5replicaupdateschedule
nsds5replicaupdateschedule: 2358-2359 0
This tells the server to only replicate between 11:58pm and 11:59pm on
Sunday. Schedule changes take effect quickly, so it should stop
replicating soon after getting this request.
Step 3: Restart replication
ldapmodify -x -D "cn=directory manager" -w password
dn: dn from Step 1
changetype: modify
replace: nsds5replicaupdateschedule
nsds5replicaupdateschedule: 0000-2359 0123456
That turns the schedule back to all day, every day, and it should take
effect immediately, sending over all of the changes it had stored while
replication was stopped.
I see the "Enable Replica" on the "Replica Settings"
screen via the GUI. Don't see any documentation about
what this actually does if I uncheck it with a multi-master
replication agreement in effect. If I uncheck it on both
the multi-master Supplier/Supplier, will it temporarily disable
replication without deleting the replication agreements?
Diana Shepard
University of Colorado
------------------------------------------------------------------------
--
Fedora-directory-users mailing list
Fedora-directory-users(a)redhat.com
https://www.redhat.com/mailman/listinfo/fedora-directory-users