[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: N-way multi master configuration issue



On Friday, 26 August 2011 12:56:38 Naga Chaitanya Palle wrote:
> Hi,
> 
> I am trying to set up N-way multimaster configuration using syncrepl on
> openldap2.4 for RHEL 5.4
> 
> Currently I am using two masters for testing.
> 
> The slapd.conf on server1 is
> moduleload syncprov.la
> serverid        124       ldap://devonly144.comverse-in.com
> syncrepl rid=124
>                 provider=ldap://devonly144.comverse-in.com:389
>                 type=refreshAndPersist
>                 interval=00:00:01:00
>                 searchbase="dc=comverse-in,dc=com"
>                 filter="(objectClass=*)"
>                 scope=sub
>                 attrs="*"
>                 schemachecking=off
>                 bindmethod=simple
>                 binddn="cn=Manager,dc=comverse-in,dc=com"
>                 credentials=sonora
> 
> index objectClass,entryCSN,entryUUID                       eq
> mirrormode true
> 
> overlay syncprov
> syncprov-checkpoint 100 10
> 
> 
> The slapd.conf on server2 is
> moduleload syncprov.la
> serverid        123       ldap://uplite98.comverse-in.com
> syncrepl rid=123
>                 provider=ldap://uplite98.comverse-in.com:389
>                 type=refreshAndPersist
>                 interval=00:00:01:00
>                 searchbase="dc=comverse-in,dc=com"
>                 filter="(objectClass=*)"
>                 scope=sub
>                 attrs="*"
>                 schemachecking=off
>                 bindmethod=simple
>                 binddn="cn=Manager,dc=comverse-in,dc=com"
>                 credentials=sonora
> 
> index objectClass,entryCSN,entryUUID                       eq
> mirrormode true
> 
> overlay syncprov
> syncprov-checkpoint 100 10
> 
> But there is no data synchronization happening between the severs.

Of course not, you have configured each server only to replicate from itself.

> When I added test3 user on server1, it is not reflecting on server 2. Same
> way when I added test4 user on server2 it is not reflecting on server1.
> 
> Please let me know what is missing in this configuration.

syncrepl statements pointing to the other master.

Regards,
Buchan