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

RE: N-way multi master configuration issue



Hi buchan,

My server 1 is uplite98.comverse-in.com. In its slapd.conf, I have syncrepl pointing to server 2 devonly144.comverse-in.com and vice versa for server2.

I did not exactly understand what you indicated.
Can you please be more specific about what changes needs to be done in the slapd.conf file?

Thanks and Regards,
Naga Chaitanya

-----Original Message-----
From: Buchan Milne [mailto:bgmilne@staff.telkomsa.net]
Sent: Friday, August 26, 2011 6:56 PM
To: openldap-technical@openldap.org
Cc: Naga Chaitanya Palle
Subject: 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




===============================================================================
Please refer to http://www.aricent.com/legal/email_disclaimer.html
for important disclosures regarding this electronic communication.
===============================================================================