setting up replication on consumer

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

 



MJD Shop Account wrote:
> 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).
>   
The console is smarter and has additional logic to just hardcode the 
value to be 65535 for read only replicas.  Read only consumers (hubs, 
dedicated consumers) must have the attribute "nsDS5ReplicaId" and must 
be set to the value of 65535.
> -Marty
>
> --
> 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/20061129/a169c911/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