<font size=2 face="sans-serif">Hi....</font>
<br>
<br><font size=2 face="sans-serif">Has no one any thoughts on this?</font>
<br><font size=2 face="sans-serif">I am currently really blocked on this.
How do you promote a dedicated consumer to become a master server?</font>
<br>
<br><font size=2 face="sans-serif">Thanks again for your help,</font>
<br>
<br><font size=2 face="sans-serif">Roland</font>
<br>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">Roland Schwingel &lt;Roland.Schwingel@onevision.com&gt;</font>
<br><font size=1 color=#5f5f5f face="sans-serif">To: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">&quot;General discussion
list for the 389 Directory server project.&quot; &lt;389-users@lists.fedoraproject.org&gt;</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">13.07.2011 09:46</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject: &nbsp; &nbsp;
&nbsp; &nbsp;</font><font size=1 face="sans-serif">[389-users]
Replication trouble when promoting dedicated Consumer &nbsp; &nbsp; &nbsp;
&nbsp;to Multiple master</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Sent by: &nbsp; &nbsp;
&nbsp; &nbsp;</font><font size=1 face="sans-serif">389-users-bounces@lists.fedoraproject.org</font>
<br>
<hr noshade>
<br>
<br>
<br><font size=2 face="sans-serif">Hi...</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
Since yesterday I got some replication trouble.</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
My Scenario</font><font size=3> <br>
</font><tt><font size=2><br>
 &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><font size=3> </font><tt><font size=2><br>
 &nbsp;(dedicated Consumer) &nbsp; &nbsp; &nbsp; (multiple Master replica
ID:1) &nbsp; &nbsp;(multiple Master replica ID:2) &nbsp;(Dedicated Consumer)</font></tt><font size=3>
<br>
</font><font size=2 face="sans-serif"><br>
The arrows are depicting the replication directions.</font><font size=3>
</font><font size=2 face="sans-serif"><br>
In that scenario everything is fine. </font><font size=3><br>
</font><font size=2 face="sans-serif"><br>
But I want to promote server D to a multiple Master replicating from/to
server C.</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
On server D I enabled changelog and changed the Replica Role of userRoot
to Multiple Master (now with replica id 3)</font><font size=3> </font><font size=2 face="sans-serif"><br>
I created a replication aggrement to server C.</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
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><font size=3> <br>
</font><tt><font size=2><br>
[13/Jul/2011:08:49:41 +0200] - 389-Directory/1.2.5 B2010.120.1414 starting
up</font></tt><font size=3> </font><tt><font size=2><br>
[13/Jul/2011:08:49:41 +0200] - slapd started. &nbsp;Listening on All Interfaces
port 389 for LDAP requests</font></tt><font size=3> </font><tt><font size=2><br>
[13/Jul/2011:08:49:41 +0200] - Listening on All Interfaces port 636 for
LDAPS requests</font></tt><font size=3> </font><tt><font size=2><br>
[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><font size=3>
</font><tt><font size=2><br>
[13/Jul/2011:08:51:53 +0200] NSMMReplicationPlugin - multimaster_be_state_change:
replica dc=mydomain,dc=com is going offline; disabling replication</font></tt><font size=3>
</font><tt><font size=2><br>
[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><font size=3>
</font><tt><font size=2><br>
[13/Jul/2011:08:51:56 +0200] - import userRoot: Workers finished; cleaning
up...</font></tt><font size=3> </font><tt><font size=2><br>
[13/Jul/2011:08:51:57 +0200] - import userRoot: Workers cleaned up.</font></tt><font size=3>
</font><tt><font size=2><br>
[13/Jul/2011:08:51:57 +0200] - import userRoot: Indexing complete. &nbsp;Post-processing...</font></tt><font size=3>
</font><tt><font size=2><br>
[13/Jul/2011:08:51:57 +0200] - import userRoot: Flushing caches...</font></tt><font size=3>
</font><tt><font size=2><br>
[13/Jul/2011:08:51:57 +0200] - import userRoot: Closing files...</font></tt><font size=3>
</font><tt><font size=2><br>
[13/Jul/2011:08:51:59 +0200] - import userRoot: Import complete. &nbsp;Processed
772 entries in 5 seconds. (154.40 entries/sec)</font></tt><font size=3>
</font><tt><font size=2><br>
[13/Jul/2011:08:51:59 +0200] NSMMReplicationPlugin - multimaster_be_state_change:
replica dc=mydomain,dc=com is coming online; enabling replication</font></tt><font size=3>
</font><tt><font size=2><br>
[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><font size=3> </font><tt><font size=2><br>
[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><font size=3>
<br>
</font><tt><font size=2><br>
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><font size=3>
<br>
</font><tt><font size=2><br>
from dse.ldif of server-d:</font></tt><font size=3> </font><tt><font size=2><br>
dn: cn=replica,cn=&quot;dc=mydomain, dc=com&quot;,cn=mapping tree,cn=config</font></tt><font size=3>
</font><tt><font size=2><br>
objectClass: nsDS5Replica</font></tt><font size=3> </font><tt><font size=2><br>
objectClass: top</font></tt><font size=3> </font><tt><font size=2><br>
nsDS5ReplicaRoot: dc=mydomain, dc=com</font></tt><font size=3> </font><tt><font size=2><br>
nsDS5ReplicaType: 3</font></tt><font size=3> </font><tt><font size=2><br>
nsDS5Flags: 1</font></tt><font size=3> </font><tt><font size=2><br>
nsds5ReplicaPurgeDelay: 604800</font></tt><font size=3> </font><tt><font size=2><br>
nsDS5ReplicaBindDN: cn=replication manager,cn=config</font></tt><font size=3>
</font><tt><font size=2><br>
cn: replica</font></tt><font size=3> </font><tt><font size=2><br>
creatorsName: uid=admin,ou=administrators,ou=topologymanagement,o=netscaperoot</font></tt><font size=3>
</font><tt><font size=2><br>
modifiersName: uid=admin,ou=administrators,ou=topologymanagement,o=netscaperoo</font></tt><font size=3>
</font><tt><font size=2><br>
 t</font></tt><font size=3> </font><tt><font size=2><br>
createTimestamp: 20110713065052Z</font></tt><font size=3> </font><tt><font size=2><br>
modifyTimestamp: 20110713071007Z</font></tt><font size=3> </font><tt><font size=2><br>
nsDS5ReplicaId: 3</font></tt><font size=3> </font><tt><font size=2><br>
nsState:: //8AAExAHU4AAAAAAAAAAAEAAAA=</font></tt><font size=3> </font><tt><font size=2><br>
nsDS5ReplicaName: 6c5f7682-1dd211b2-abcfd815-dc8d0000</font></tt><font size=3>
</font><tt><font size=2><br>
numSubordinates: 1</font></tt><font size=3> <br>
<br>
</font><tt><font size=2><br>
from dse.ldif if server-c:</font></tt><font size=3> </font><tt><font size=2><br>
dn: cn=replica,cn=&quot;dc=mydomain, dc=com&quot;,cn=mapping tree,cn=config</font></tt><font size=3>
</font><tt><font size=2><br>
objectClass: nsDS5Replica</font></tt><font size=3> </font><tt><font size=2><br>
objectClass: top</font></tt><font size=3> </font><tt><font size=2><br>
nsDS5ReplicaRoot: dc=mydomain, dc=com</font></tt><font size=3> </font><tt><font size=2><br>
nsDS5ReplicaType: 3</font></tt><font size=3> </font><tt><font size=2><br>
nsDS5Flags: 1</font></tt><font size=3> </font><tt><font size=2><br>
nsDS5ReplicaId: 2</font></tt><font size=3> </font><tt><font size=2><br>
nsds5ReplicaPurgeDelay: 604800</font></tt><font size=3> </font><tt><font size=2><br>
nsDS5ReplicaBindDN: cn=replication manager,cn=config</font></tt><font size=3>
</font><tt><font size=2><br>
cn: replica</font></tt><font size=3> </font><tt><font size=2><br>
creatorsName: uid=admin,ou=administrators,ou=topologymanagement,o=netscaperoot</font></tt><font size=3>
</font><tt><font size=2><br>
modifiersName: cn=Multimaster Replication Plugin,cn=plugins,cn=config</font></tt><font size=3>
</font><tt><font size=2><br>
createTimestamp: 20101105122639Z</font></tt><font size=3> </font><tt><font size=2><br>
modifyTimestamp: 20110713073144Z</font></tt><font size=3> </font><tt><font size=2><br>
nsState:: AgAAAMpJHU4AAAAAFgAAAAEAAAA=</font></tt><font size=3> </font><tt><font size=2><br>
nsDS5ReplicaName: ee6ae602-1dd111b2-ae7bc446-6a0e0000</font></tt><font size=3>
</font><tt><font size=2><br>
numSubordinates: 2</font></tt><font size=3> <br>
</font><tt><font size=2><br>
I already erased and recreated the server-d for a couple of times. Always
with the same error.</font></tt><font size=3> </font><tt><font size=2><br>
I created an empty instance of server-d set it to be a dedicated consumer.
Created replication</font></tt><font size=3> </font><tt><font size=2><br>
aggrement from server-c to server-d. Initiliazed consumer (server-d). On
server-d I enabled</font></tt><font size=3> </font><tt><font size=2><br>
than changelog and changed replication role to multiple master and assigned
replica id 3.</font></tt><font size=3> </font><tt><font size=2><br>
I when I create the replication aggreement from server-d to server-c I
get this error.</font></tt><font size=3> <br>
</font><tt><font size=2><br>
What am I doing wrong? I did the same thing a while ago for server-b and
server-c and there</font></tt><font size=3> </font><tt><font size=2><br>
it worked without trouble. (server-b was initially the single master in
my net before</font></tt><font size=3> </font><tt><font size=2><br>
the other servers appeared).</font></tt><font size=3> <br>
</font><tt><font size=2><br>
Thanks for your help,</font></tt><font size=3> <br>
</font><tt><font size=2><br>
Roland</font></tt><font size=3> </font><tt><font size=2>--<br>
389 users mailing list<br>
389-users@lists.fedoraproject.org<br>
</font></tt><a href="https://admin.fedoraproject.org/mailman/listinfo/389-users"><tt><font size=2>https://admin.fedoraproject.org/mailman/listinfo/389-users</font></tt></a>
<br>