<font size=2 face="sans-serif">Hi...</font>
<br>
<br><font size=2 face="sans-serif">Since yesterday I got some replication
trouble.</font>
<br>
<br><font size=2 face="sans-serif">My Scenario</font>
<br>
<br><tt><font size=2>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;server A
&nbsp; &nbsp; &nbsp; &lt; ----- &nbsp; &nbsp; &nbsp; &nbsp; server B &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;&lt;-----&gt; &nbsp; &nbsp; &nbsp; &nbsp;server
C &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;-----&gt; &nbsp; &nbsp;server
D</font></tt>
<br><tt><font size=2>&nbsp; (dedicated Consumer) &nbsp; &nbsp; &nbsp; (multiple
Master replica ID:1) &nbsp; &nbsp;(multiple Master replica ID:2) &nbsp;(Dedicated
Consumer)</font></tt>
<br>
<br><font size=2 face="sans-serif">The arrows are depicting the replication
directions.</font>
<br><font size=2 face="sans-serif">In that scenario everything is fine.
</font>
<br>
<br><font size=2 face="sans-serif">But I want to promote server D to a
multiple Master replicating from/to server C.</font>
<br>
<br><font size=2 face="sans-serif">On server D I enabled changelog and
changed the Replica Role of userRoot to Multiple Master (now with replica
id 3)</font>
<br><font size=2 face="sans-serif">I created a replication aggrement to
server C.</font>
<br>
<br><font size=2 face="sans-serif">When enabling that I see these error
messages in error log on server D. At 08:51:53 I enabled the replication
agreement from server D to server C:</font>
<br>
<br><tt><font size=2>[13/Jul/2011:08:49:41 +0200] - 389-Directory/1.2.5
B2010.120.1414 starting up</font></tt>
<br><tt><font size=2>[13/Jul/2011:08:49:41 +0200] - slapd started. &nbsp;Listening
on All Interfaces port 389 for LDAP requests</font></tt>
<br><tt><font size=2>[13/Jul/2011:08:49:41 +0200] - Listening on All Interfaces
port 636 for LDAPS requests</font></tt>
<br><tt><font size=2>[13/Jul/2011:08:51:53 +0200] NSMMReplicationPlugin
- repl_set_mtn_referrals: could not set referrals for replica dc=mydomain,dc=com:
32</font></tt>
<br><tt><font size=2>[13/Jul/2011:08:51:53 +0200] NSMMReplicationPlugin
- multimaster_be_state_change: replica dc=mydomain,dc=com is going offline;
disabling replication</font></tt>
<br><tt><font size=2>[13/Jul/2011:08:51:53 +0200] - WARNING: Import is
running with nsslapd-db-private-import-mem on; No other process is allowed
to access the database</font></tt>
<br><tt><font size=2>[13/Jul/2011:08:51:56 +0200] - import userRoot: Workers
finished; cleaning up...</font></tt>
<br><tt><font size=2>[13/Jul/2011:08:51:57 +0200] - import userRoot: Workers
cleaned up.</font></tt>
<br><tt><font size=2>[13/Jul/2011:08:51:57 +0200] - import userRoot: Indexing
complete. &nbsp;Post-processing...</font></tt>
<br><tt><font size=2>[13/Jul/2011:08:51:57 +0200] - import userRoot: Flushing
caches...</font></tt>
<br><tt><font size=2>[13/Jul/2011:08:51:57 +0200] - import userRoot: Closing
files...</font></tt>
<br><tt><font size=2>[13/Jul/2011:08:51:59 +0200] - import userRoot: Import
complete. &nbsp;Processed 772 entries in 5 seconds. (154.40 entries/sec)</font></tt>
<br><tt><font size=2>[13/Jul/2011:08:51:59 +0200] NSMMReplicationPlugin
- multimaster_be_state_change: replica dc=mydomain,dc=com is coming online;
enabling replication</font></tt>
<br><tt><font size=2>[13/Jul/2011:09:11:00 +0200] NSMMReplicationPlugin
- agmt=&quot;cn=server-d_to_server-c&quot; (server-c:389): Unable to aquire
replica: the replica has the same Replica ID as this one. Replication is
aborting.</font></tt>
<br><tt><font size=2>[13/Jul/2011:09:11:00 +0200] NSMMReplicationPlugin
- agmt=&quot;cn=server-d_to_server-c&quot; (server-c:389): Incremental
update failed and requires administrator action</font></tt>
<br>
<br><tt><font size=2>It says that it has the same replica id, but this
is not true. I assigned replica ID 3 to server-d and replica ID 2 to server-c</font></tt>
<br>
<br><tt><font size=2>from dse.ldif of server-d:</font></tt>
<br><tt><font size=2>dn: cn=replica,cn=&quot;dc=mydomain, dc=com&quot;,cn=mapping
tree,cn=config</font></tt>
<br><tt><font size=2>objectClass: nsDS5Replica</font></tt>
<br><tt><font size=2>objectClass: top</font></tt>
<br><tt><font size=2>nsDS5ReplicaRoot: dc=mydomain, dc=com</font></tt>
<br><tt><font size=2>nsDS5ReplicaType: 3</font></tt>
<br><tt><font size=2>nsDS5Flags: 1</font></tt>
<br><tt><font size=2>nsds5ReplicaPurgeDelay: 604800</font></tt>
<br><tt><font size=2>nsDS5ReplicaBindDN: cn=replication manager,cn=config</font></tt>
<br><tt><font size=2>cn: replica</font></tt>
<br><tt><font size=2>creatorsName: uid=admin,ou=administrators,ou=topologymanagement,o=netscaperoot</font></tt>
<br><tt><font size=2>modifiersName: uid=admin,ou=administrators,ou=topologymanagement,o=netscaperoo</font></tt>
<br><tt><font size=2>&nbsp;t</font></tt>
<br><tt><font size=2>createTimestamp: 20110713065052Z</font></tt>
<br><tt><font size=2>modifyTimestamp: 20110713071007Z</font></tt>
<br><tt><font size=2>nsDS5ReplicaId: 3</font></tt>
<br><tt><font size=2>nsState:: //8AAExAHU4AAAAAAAAAAAEAAAA=</font></tt>
<br><tt><font size=2>nsDS5ReplicaName: 6c5f7682-1dd211b2-abcfd815-dc8d0000</font></tt>
<br><tt><font size=2>numSubordinates: 1</font></tt>
<br>
<br>
<br><tt><font size=2>from dse.ldif if server-c:</font></tt>
<br><tt><font size=2>dn: cn=replica,cn=&quot;dc=mydomain, dc=com&quot;,cn=mapping
tree,cn=config</font></tt>
<br><tt><font size=2>objectClass: nsDS5Replica</font></tt>
<br><tt><font size=2>objectClass: top</font></tt>
<br><tt><font size=2>nsDS5ReplicaRoot: dc=mydomain, dc=com</font></tt>
<br><tt><font size=2>nsDS5ReplicaType: 3</font></tt>
<br><tt><font size=2>nsDS5Flags: 1</font></tt>
<br><tt><font size=2>nsDS5ReplicaId: 2</font></tt>
<br><tt><font size=2>nsds5ReplicaPurgeDelay: 604800</font></tt>
<br><tt><font size=2>nsDS5ReplicaBindDN: cn=replication manager,cn=config</font></tt>
<br><tt><font size=2>cn: replica</font></tt>
<br><tt><font size=2>creatorsName: uid=admin,ou=administrators,ou=topologymanagement,o=netscaperoot</font></tt>
<br><tt><font size=2>modifiersName: cn=Multimaster Replication Plugin,cn=plugins,cn=config</font></tt>
<br><tt><font size=2>createTimestamp: 20101105122639Z</font></tt>
<br><tt><font size=2>modifyTimestamp: 20110713073144Z</font></tt>
<br><tt><font size=2>nsState:: AgAAAMpJHU4AAAAAFgAAAAEAAAA=</font></tt>
<br><tt><font size=2>nsDS5ReplicaName: ee6ae602-1dd111b2-ae7bc446-6a0e0000</font></tt>
<br><tt><font size=2>numSubordinates: 2</font></tt>
<br>
<br><tt><font size=2>I already erased and recreated the server-d for a
couple of times. Always with the same error.</font></tt>
<br><tt><font size=2>I created an empty instance of server-d set it to
be a dedicated consumer. Created replication</font></tt>
<br><tt><font size=2>aggrement from server-c to server-d. Initiliazed consumer
(server-d). On server-d I enabled</font></tt>
<br><tt><font size=2>than changelog and changed replication role to multiple
master and assigned replica id 3.</font></tt>
<br><tt><font size=2>I when I create the replication aggreement from server-d
to server-c I get this error.</font></tt>
<br>
<br><tt><font size=2>What am I doing wrong? I did the same thing a while
ago for server-b and server-c and there</font></tt>
<br><tt><font size=2>it worked without trouble. (server-b was initially
the single master in my net before</font></tt>
<br><tt><font size=2>the other servers appeared).</font></tt>
<br>
<br><tt><font size=2>Thanks for your help,</font></tt>
<br>
<br><tt><font size=2>Roland</font></tt>
<br>