I need help on Config Master Master Replication

Hi :

I got fail on config Master-Master Replica on Directory Server 5.2sp4

. Can anyone give me some on configuring MMR.

Error message I got as follows:

[25/Jul/2006:17:11:17 +0800] - import userRoot: Processed 489736 entries -- average rate 191.8/sec, recent rate 104.7/sec, hit ratio 97%

[25/Jul/2006:17:11:38 +0800] - import userRoot: Processed 492001 entries -- average rate 191.1/sec, recent rate 105.8/sec, hit ratio 97%

[25/Jul/2006:17:12:00 +0800] - import userRoot: Processed 494072 entries -- average rate 190.3/sec, recent rate 100.8/sec, hit ratio 97%

[25/Jul/2006:17:12:22 +0800] - import userRoot: Processed 496657 entries -- average rate 189.7/sec, recent rate 105.8/sec, hit ratio 97%

[25/Jul/2006:17:12:43 +0800] - import userRoot: Processed 499113 entries -- average rate 189.1/sec, recent rate 114.6/sec, hit ratio 97%

[25/Jul/2006:17:13:05 +0800] - import userRoot: Processed 501254 entries -- average rate 188.4/sec, recent rate 106.9/sec, hit ratio 97%

[25/Jul/2006:17:13:08 +0800] - import userRoot: Workers finished; cleaning up...

[25/Jul/2006:17:13:25 +0800] - import userRoot: Workers cleaned up.

[25/Jul/2006:17:13:25 +0800] - import userRoot: Indexing complete. Post-processing...

[25/Jul/2006:17:13:26 +0800] - import userRoot: Flushing caches...

[25/Jul/2006:17:13:26 +0800] - import userRoot: Closing files...

[25/Jul/2006:17:13:35 +0800] - import userRoot: Import complete. Processed 501537 entries in 2691 seconds. (186.38 entries/sec)

[25/Jul/2006:17:13:35 +0800] - INFORMATION - NSMMReplicationPlugin - conn=-1 op=-1 msgId=-1 - multimaster_be_state_change: replica o=tfn.net.tw is coming online; enabling replication

[25/Jul/2006:17:13:35 +0800] - INFORMATION - NSMMReplicationPlugin - conn=-1 op=-1 msgId=-1 - replica_reload_ruv: Warning: new data for replica o=tfn.net.tw does not match the data in the changelog.

Recreating the changelog file. This could affect replication with replica's consumers in which case the consumers should be reinitialized.

[25/Jul/2006:17:13:36 +0800] - INFORMATION - NSMMReplicationPlugin - conn=-1 op=-1 msgId=-1 - This supplier for replica o=tfn.net.tw will immediately start accepting client updates

[25/Jul/2006:17:13:36 +0800] - INFORMATION - NSMMReplicationPlugin - conn=-1 op=-1 msgId=-1 - Replica (o=tfn.net.tw) has been initialized by total protocol as full replica

[25/Jul/2006:17:13:36 +0800] - WARNING<10276> - Incremental Protocol - conn=-1 op=-1 msgId=-1 - Replication inconsistency Consumer Replica "ldap1.tfn.net.tw:389/o=tfn.net.tw" has a different data version. It may have not been initialized yet.

The procedure I did as follows:

Two LDAP , LDAP1, LDAP2

1. Install LDAP1 and LDAP2

2. Migrate Data from old LDAP Server to New LDAP1

then

On LDAP1:

3. Enable Change Log and some parameter

4. Enable Replication, select "Master"

5. Create Replication Agreement to LDAP2

and then

On LDAP2:

6. Enable Change Log and some parameter

7. Enable Replication, select "Master"

8. Create Replication Agreement to LDAP1

Now Go back LDAP1

9. select replication agreement and start initial LDAP2 now.

10. wait for finished, LDAP1will receive initialiation completed message on startconsole.

but On LDAP2

11. check for error log. I got errors.

[25/Jul/2006:17:13:36 +0800] - WARNING<10276> - Incremental Protocol - conn=-1 op=-1 msgId=-1 - Replication inconsistency Consumer Replica "ldap1.tfn.net.tw:389/o=tfn.net.tw" has a different data version. It may have not been initialized yet.

Can anyone point out what steps I was wrong ?

ps: I can't also find the button on procedure 3 mentioned on admin manual.==>

"To Begin Accepting Updates Through the Console"

Follow these steps to explicitly allow update operations after the initialization of a multi-master replica:

..

..

..

3. Click the button to the right of the message to start accepting update

operations immediately.

Victor

[4185 byte] By [weider_hsu@yahoo.com.tw] at [2007-11-26 9:00:54]
# 1

1. answer for your last question:

data server -- configuration -- Data -- your suffix -- Replication

In right panel, click on the SIR agreement -- click on "Action" on your right low corner -- choose "Send Updates now ..."

2. answer for your replication question:

Usually I will move step 2 down before step 9. That means setting up replication first, then feeding your master server using your ldif file: to ldap1, then init ldap2 using data from ldap1, either through Console or through command (if using command, have to use db2ldif -r to dump data from ldap1 and use ldif2db to init ldap2).

If anytime in your log, you see "different verison of data", try to init again.

sun_iplanet at 2007-7-6 23:06:18 > top of Java-index,Web & Directory Servers,Directory Servers...
# 2

Thanks.

But I still can't find what is wrong on my procedures.

Can anyone give me a example for config MMR ?

I try to config MMR many times...still fail..

However, about last question, I suddently get the Button I want. It is not the same on as the one you said. It is a button with text "Start Accepting Updates" on the upper-right corner.

weider_hsu@yahoocomtw at 2007-7-6 23:06:18 > top of Java-index,Web & Directory Servers,Directory Servers...