temp. disable replica

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>   
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3178 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.fedoraproject.org/pipermail/389-users/attachments/20061102/6d79fb18/attachment.bin 


[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux