<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18928"></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=884391414-14072011><FONT color=#0000ff
size=2 face=Arial>Do a </FONT></SPAN><SPAN
class=884391414-14072011><FONT color=#0000ff size=2 face=Arial> ldapsearch
-b 'nsuniqueid=ffffffff-ffffffff-ffffffff-ffffffff,dc=mydomain,dc=com' -D
<directory manager> -w <password> -s base
objectclass=nstombstone</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=884391414-14072011><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=884391414-14072011><FONT color=#0000ff
size=2 face=Arial>This gives you all the configured (history) of
replication ids. The following is the output in my setup.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=884391414-14072011><FONT color=#0000ff
size=2 face=Arial> </FONT></SPAN></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial>dn:
nsuniqueid=ffffffff-ffffffff-ffffffff-ffffffff,o=base<SPAN
class=884391414-14072011></SPAN><BR>objectClass: top<BR>objectClass:
nsTombstone<BR>objectClass: extensibleobject<BR>nsds50ruv: {replicageneration}
4df7a107000000010000<BR>nsds50ruv: {replica 1 </FONT><A
href="ldap://yale:389"><FONT size=2 face=Arial>ldap://yale:389</FONT></A><FONT
color=#0000ff size=2 face=Arial>} 4df7a396000000010000
4e19ad950000000100<BR> 00<BR>nsds50ruv: {replica 3 </FONT><A
href="ldap://norquay:389"><FONT size=2
face=Arial>ldap://norquay:389</FONT></A><FONT color=#0000ff size=2 face=Arial>}
4df7a39d000000030000 4e1605650000000<BR> 30000<BR>nsds50ruv: {replica 4
</FONT><A href="ldap://mustrum:389"><FONT size=2
face=Arial>ldap://mustrum:389</FONT></A><FONT color=#0000ff size=2 face=Arial>}
4df7a3a0000000040000 4dfb93650000000<BR> 40000<BR>nsds50ruv: {replica 2
</FONT><A href="ldap://louise:389"><FONT size=2
face=Arial>ldap://louise:389</FONT></A><FONT color=#0000ff size=2 face=Arial>}
4df7a39a000000020000 4e171a0700000002<BR> 0000<BR></FONT><FONT
color=#0000ff size=2 face=Arial>o: base<SPAN
class=884391414-14072011></SPAN><BR>nsruvReplicaLastModified: {replica 1
</FONT><A href="ldap://yale:389"><FONT size=2
face=Arial>ldap://yale:389</FONT></A><FONT color=#0000ff size=2 face=Arial>}
00000000<BR>nsruvReplicaLastModified: {replica 3 </FONT><A
href="ldap://norquay:389"><FONT size=2
face=Arial>ldap://norquay:389</FONT></A><FONT color=#0000ff size=2 face=Arial>}
00000000<BR>nsruvReplicaLastModified: {replica 4 </FONT><A
href="ldap://mustrum:389"><FONT size=2
face=Arial>ldap://mustrum:389</FONT></A><FONT color=#0000ff size=2 face=Arial>}
00000000<BR>nsruvReplicaLastModified: {replica 2 </FONT><A
href="ldap://louise:389"><FONT size=2
face=Arial>ldap://louise:389</FONT></A><FONT color=#0000ff size=2 face=Arial>}
00000000</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN
class=884391414-14072011> /\
</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN
class=884391414-14072011>
|</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN
class=884391414-14072011>
replication-id</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><SPAN class=884391414-14072011><FONT color=#0000ff size=2 face=Arial>I am
pretty sure you have somewhere there a duplicate of 3</FONT></SPAN></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><SPAN class=884391414-14072011><FONT color=#0000ff size=2
face=Arial>-Reinhard</FONT></SPAN></DIV>
<DIV><BR><BR></DIV>
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> 389-users-bounces@lists.fedoraproject.org
[mailto:389-users-bounces@lists.fedoraproject.org] <B>On Behalf Of </B>Roland
Schwingel<BR><B>Sent:</B> Thursday, July 14, 2011 7:39 AM<BR><B>To:</B> General
discussion list for the 389 Directory server project.<BR><B>Subject:</B> Re:
[389-users] Replication trouble when promoting dedicated Consumer to Multiple
master<BR></FONT><BR></DIV>
<DIV></DIV><FONT size=2 face=sans-serif>Hi Penedo...</FONT> <BR><BR><FONT size=2
face=sans-serif>Thanks for your reply....</FONT> <BR><FONT size=2
face=sans-serif>Yes.. I did that already a couple of times. I am always coming
to the same error message...</FONT> <BR><BR><FONT size=2
face=sans-serif>Roland</FONT> <BR><BR><BR><BR><FONT color=#5f5f5f size=1
face=sans-serif>From: </FONT><FONT size=1
face=sans-serif>Penedo <penedo@gmail.com></FONT> <BR><FONT color=#5f5f5f
size=1 face=sans-serif>To: </FONT><FONT size=1
face=sans-serif>"General discussion list for the 389 Directory server project."
<389-users@lists.fedoraproject.org></FONT> <BR><FONT color=#5f5f5f size=1
face=sans-serif>Date: </FONT><FONT size=1
face=sans-serif>14.07.2011 13:08</FONT> <BR><FONT color=#5f5f5f size=1
face=sans-serif>Subject: </FONT><FONT size=1
face=sans-serif>Re: [389-users] Replication trouble when promoting dedicated
Consumer to Multiple master</FONT> <BR><FONT color=#5f5f5f size=1
face=sans-serif>Sent by: </FONT><FONT size=1
face=sans-serif>389-users-bounces@lists.fedoraproject.org</FONT> <BR>
<HR noShade>
<BR><BR><BR><FONT size=3>I'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? </FONT>
<P><FONT size=3>On Jul 13, 2011 5:44 PM, "Roland Schwingel" <</FONT><A
href="mailto:Roland.Schwingel@onevision.com"><FONT color=blue
size=3><U>Roland.Schwingel@onevision.com</U></FONT></A><FONT size=3>>
wrote:<BR>> Hi...<BR>> <BR>> Since yesterday I got some replication
trouble.<BR>> <BR>> My Scenario<BR>> <BR>> server A < -----
server B <-----> server C <BR>> -----> server D<BR>> (dedicated
Consumer) (multiple Master replica ID:1) (multiple <BR>> Master replica ID:2)
(Dedicated Consumer)<BR>> <BR>> The arrows are depicting the replication
directions.<BR>> In that scenario everything is fine. <BR>> <BR>> But I
want to promote server D to a multiple Master replicating from/to <BR>>
server C.<BR>> <BR>> On server D I enabled changelog and changed the
Replica Role of userRoot <BR>> to Multiple Master (now with replica id
3)<BR>> I created a replication aggrement to server C.<BR>> <BR>> When
enabling that I see these error messages in error log on server D. At <BR>>
08:51:53 I enabled the replication agreement from server D to server C:<BR>>
<BR>> [13/Jul/2011:08:49:41 +0200] - 389-Directory/1.2.5 B2010.120.1414
starting <BR>> up<BR>> [13/Jul/2011:08:49:41 +0200] - slapd started.
Listening on All Interfaces <BR>> port 389 for LDAP requests<BR>>
[13/Jul/2011:08:49:41 +0200] - Listening on All Interfaces port 636 for <BR>>
LDAPS requests<BR>> [13/Jul/2011:08:51:53 +0200] NSMMReplicationPlugin -
<BR>> repl_set_mtn_referrals: could not set referrals for replica <BR>>
dc=mydomain,dc=com: 32<BR>> [13/Jul/2011:08:51:53 +0200]
NSMMReplicationPlugin - <BR>> multimaster_be_state_change: replica
dc=mydomain,dc=com is going offline; <BR>> disabling replication<BR>>
[13/Jul/2011:08:51:53 +0200] - WARNING: Import is running with <BR>>
nsslapd-db-private-import-mem on; No other process is allowed to access <BR>>
the database<BR>> [13/Jul/2011:08:51:56 +0200] - import userRoot: Workers
finished; cleaning <BR>> up...<BR>> [13/Jul/2011:08:51:57 +0200] - import
userRoot: Workers cleaned up.<BR>> [13/Jul/2011:08:51:57 +0200] - import
userRoot: Indexing complete. <BR>> Post-processing...<BR>>
[13/Jul/2011:08:51:57 +0200] - import userRoot: Flushing caches...<BR>>
[13/Jul/2011:08:51:57 +0200] - import userRoot: Closing files...<BR>>
[13/Jul/2011:08:51:59 +0200] - import userRoot: Import complete. Processed
<BR>> 772 entries in 5 seconds. (154.40 entries/sec)<BR>>
[13/Jul/2011:08:51:59 +0200] NSMMReplicationPlugin - <BR>>
multimaster_be_state_change: replica dc=mydomain,dc=com is coming online;
<BR>> enabling replication<BR>> [13/Jul/2011:09:11:00 +0200]
NSMMReplicationPlugin - <BR>> agmt="cn=server-d_to_server-c" (server-c:389):
Unable to aquire replica: <BR>> the replica has the same Replica ID as this
one. Replication is aborting.<BR>> [13/Jul/2011:09:11:00 +0200]
NSMMReplicationPlugin - <BR>> agmt="cn=server-d_to_server-c" (server-c:389):
Incremental update failed <BR>> and requires administrator action<BR>>
<BR>> It says that it has the same replica id, but this is not true. I
assigned <BR>> replica ID 3 to server-d and replica ID 2 to server-c<BR>>
<BR>> from dse.ldif of server-d:<BR>> dn: cn=replica,cn="dc=mydomain,
dc=com",cn=mapping tree,cn=config<BR>> objectClass: nsDS5Replica<BR>>
objectClass: top<BR>> nsDS5ReplicaRoot: dc=mydomain, dc=com<BR>>
nsDS5ReplicaType: 3<BR>> nsDS5Flags: 1<BR>> nsds5ReplicaPurgeDelay:
604800<BR>> nsDS5ReplicaBindDN: cn=replication manager,cn=config<BR>> cn:
replica<BR>> creatorsName: <BR>>
uid=admin,ou=administrators,ou=topologymanagement,o=netscaperoot<BR>>
modifiersName: <BR>>
uid=admin,ou=administrators,ou=topologymanagement,o=netscaperoo<BR>>
t<BR>> createTimestamp: 20110713065052Z<BR>> modifyTimestamp:
20110713071007Z<BR>> nsDS5ReplicaId: 3<BR>> nsState::
//8AAExAHU4AAAAAAAAAAAEAAAA=<BR>> nsDS5ReplicaName:
6c5f7682-1dd211b2-abcfd815-dc8d0000<BR>> numSubordinates: 1<BR>> <BR>>
<BR>> from dse.ldif if server-c:<BR>> dn: cn=replica,cn="dc=mydomain,
dc=com",cn=mapping tree,cn=config<BR>> objectClass: nsDS5Replica<BR>>
objectClass: top<BR>> nsDS5ReplicaRoot: dc=mydomain, dc=com<BR>>
nsDS5ReplicaType: 3<BR>> nsDS5Flags: 1<BR>> nsDS5ReplicaId: 2<BR>>
nsds5ReplicaPurgeDelay: 604800<BR>> nsDS5ReplicaBindDN: cn=replication
manager,cn=config<BR>> cn: replica<BR>> creatorsName: <BR>>
uid=admin,ou=administrators,ou=topologymanagement,o=netscaperoot<BR>>
modifiersName: cn=Multimaster Replication Plugin,cn=plugins,cn=config<BR>>
createTimestamp: 20101105122639Z<BR>> modifyTimestamp:
20110713073144Z<BR>> nsState:: AgAAAMpJHU4AAAAAFgAAAAEAAAA=<BR>>
nsDS5ReplicaName: ee6ae602-1dd111b2-ae7bc446-6a0e0000<BR>> numSubordinates:
2<BR>> <BR>> I already erased and recreated the server-d for a couple of
times. Always <BR>> with the same error.<BR>> I created an empty instance
of server-d set it to be a dedicated consumer. <BR>> Created
replication<BR>> aggrement from server-c to server-d. Initiliazed consumer
(server-d). On <BR>> server-d I enabled<BR>> than changelog and changed
replication role to multiple master and <BR>> assigned replica id 3.<BR>>
I when I create the replication aggreement from server-d to server-c I get
<BR>> this error.<BR>> <BR>> What am I doing wrong? I did the same
thing a while ago for server-b and <BR>> server-c and there<BR>> it worked
without trouble. (server-b was initially the single master in my <BR>> net
before<BR>> the other servers appeared).<BR>> <BR>> Thanks for your
help,<BR>> <BR>> Roland</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>
<P></P></BODY></HTML>