setting up replication on consumer

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

 



Hi All,

I am trying to set up replication to have a read-only consumer getting updates from a multi-master supplier.  I've looked at the online docs and am using the mmr.pl script as a basis for a modified script to set up a supplier->consumer agreement.  I think I'm almost there except for one question.

Before doing the script, I manually added the replica database on the consumer to see how it works.   I went to the Configuration tab on the console for the consumer, and selected the database under Replication that I wish to replicate.  I set it to be 'Dedicated Consumer'.  When I did this in the console, it does not allow you to set a Replica ID, and it set it automatically to 65535 when I saved.  

In my modified script, I copied the 'config_supplier' subroutine by duplicating it as config_consumer, and I took out the part where it sets the nsDS5ReplicaId thinking it must be unnecessary for the consumer.  When I try to run my script, I get this error on the consumer side because of removing that part:

failed to add replica entry: missing attribute "nsDS5ReplicaId" required by object class "nsDS5Replica"

So, I guess I need to add it back in...  Can someone explain how this works and why the console doesn't allow you to set it?   Is there some default value (eg 65535) that should *always* be set (seems unlikely in the case of multiple replica database objects).

-Marty




[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