Hi all,

I am using openldap 2.4.11, and configure as 4-way Master, config files for server A,B,C,D are shown below :

Server A :
syncrepl      rid=A
                   provider=ldap://serverA:389/
                   retry="1 +"
                   ......
syncrepl      rid=B
                   provider=ldap://serverB:389/
                   retry="1 +"
                   ......
syncrepl      rid=C
                   provider=ldap://serverC:389/
                   retry="1 +"
                   ......
syncrepl      rid=D
                   provider=ldap://serverD:389/
                   retry="1 +"
                   ......
serverID 001

Server B :
syncrepl      rid=A
                   provider=ldap://serverA:389/
                   retry="1 +"
                   ......
syncrepl      rid=B
                   provider=ldap://serverB:389/
                   retry="1 +"
                   ......
syncrepl      rid=C
                   provider=ldap://serverC:389/
                   retry="1 +"
                   ......
syncrepl      rid=D
                   provider=ldap://serverD:389/
                   retry="1 +"
                   ......
serverID 002

Server C :
syncrepl      rid=A
                   provider=ldap://serverA:389/
                   retry="1 +"
                   ......
syncrepl      rid=B
                   provider=ldap://serverB:389/
                   retry="1 +"
                   ......
syncrepl      rid=C
                   provider=ldap://serverC:389/
                   retry="1 +"
                   ......
syncrepl      rid=D
                   provider=ldap://serverD:389/
                   retry="1 +"
                   ......
serverID 003

Server D :
syncrepl      rid=A
                   provider=ldap://serverA:389/
                   retry="1 +"
                   ......
syncrepl      rid=B
                   provider=ldap://serverB:389/
                   retry="1 +"
                   ......
syncrepl      rid=C
                   provider=ldap://serverC:389/
                   retry="1 +"
                   ......
syncrepl      rid=D
                   provider=ldap://serverD:389/
                   retry="1 +"
                   ......
serverID 004

I find a strange behaviour, data can be synced within all 4 servers, however, after some time, I find that when I add/update data in server A, it can sync to server B immediately, server C and server D can't receive the updated data., I check the log in server C and server D, there is no data push to C and D. (I set the log level 16384 to log the sync)

When I add record in server C, data can be sync to server D immediately, server A and server B can't receive the updated data.

But after some time (may be 1-2 hours), the data between the 4 servers are synced finally.

Another information is that server A and B are in same segment, server C and server D are in same segment, but server A and C/D are in different segment.

The ping test between servers are fast.  I also use telnet server A/B/C/D 389, the response is fast.

Any idea ?

Thanks










5 GB 超大容量 、創新便捷、安全防護垃圾郵件和病毒 — 立即升級 Windows Live Hotmail?