Re: 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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

--
Fedora-directory-users mailing list
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux