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

--
Fedora-directory-users mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/fedora-directory-users

Reply via email to