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