Help needed to set up N-way multimaster replication
[Date Prev][Date Next] [Thread Prev][Thread Next]Help needed to set up N-way multimaster replication
- To: openldap-technical@openldap.org
- Subject: Help needed to set up N-way multimaster replication
- From: "piyush joshi" <joy.piyush@gmail.com>
- Date: Wed, 3 Sep 2008 13:12:04 +0530
Dear All,
I am using openldap-2.4.11 version and trying to use N-way multimaster replication so that changes made to first server reflects to second and vice versa but with my current set up if i use syncprov overlay and syncrepl on both server then it doesn't allow me to make changes in any ldap server but if i configure syncprov overlay on one server and configure syncrepl on another server it allow me to make changes and as well reflect the changes to another however still i can't make changes to second ldap server my both server configuration is as follows. please let me know what is wrong with this configuration or what all changes to be made to running it.
Configuration on First LDAP Server
allow bind_v2
include /usr/local/openldap/etc/openldap/schema/core.schema
include /usr/local/openldap/etc/openldap/schema/corba.schema
include /usr/local/openldap/etc/openldap/schema/cosine.schema
include /usr/local/openldap/etc/openldap/schema/nis.schema
include /usr/local/openldap/etc/openldap/schema/inetorgperson.schema
include /usr/local/openldap/etc/openldap/schema/core.schema
include /usr/local/openldap/etc/openldap/schema/corba.schema
include /usr/local/openldap/etc/openldap/schema/cosine.schema
include /usr/local/openldap/etc/openldap/schema/nis.schema
include /usr/local/openldap/etc/openldap/schema/inetorgperson.schema
pidfile /usr/local/openldap/var/run/slapd.pid
argsfile /usr/local/openldap/var/run/slapd.args
argsfile /usr/local/openldap/var/run/slapd.args
modulepath /usr/local/openldap/libexec/openldap
moduleload syncprov
password-hash {SSHA}
moduleload syncprov
password-hash {SSHA}
database hdb
suffix "dc=***,dc=com"
rootdn "cn=root,dc=***,dc=com"
rootpw {SSHA}yZkqhHmELfmUTsaQyfxgXBqq95gugTA4
directory /usr/local/openldap/var/openldap-data
suffix "dc=***,dc=com"
rootdn "cn=root,dc=***,dc=com"
rootpw {SSHA}yZkqhHmELfmUTsaQyfxgXBqq95gugTA4
directory /usr/local/openldap/var/openldap-data
index uid pres,eq
index cn,sn pres,eq,approx,sub
index objectClass eq
index entryCSN,entryUUID eq
index cn,sn pres,eq,approx,sub
index objectClass eq
index entryCSN,entryUUID eq
syncrepl rid=001
provider=ldap://192.168.1.12
type=refreshAndPersist
retry="5 5 300 +"
searchbase="dc=***,dc=com"
attrs=*
binddn="cn=root,dc=***,dc=com"
credentials=secret
provider=ldap://192.168.1.12
type=refreshAndPersist
retry="5 5 300 +"
searchbase="dc=***,dc=com"
attrs=*
binddn="cn=root,dc=***,dc=com"
credentials=secret
overlay syncprov
syncprov-checkpoint 50 10
syncprov-checkpoint 50 10
database monitor
loglevel 256
loglevel 256
Configuration on Second LDAP Server
allow bind_v2
include /usr/local/openldap/etc/openldap/schema/core.schema
include /usr/local/openldap/etc/openldap/schema/corba.schema
include /usr/local/openldap/etc/openldap/schema/cosine.schema
include /usr/local/openldap/etc/openldap/schema/nis.schema
include /usr/local/openldap/etc/openldap/schema/inetorgperson.schema
pidfile /usr/local/openldap/var/run/slapd.pid
argsfile /usr/local/openldap/var/run/slapd.args
argsfile /usr/local/openldap/var/run/slapd.args
modulepath /usr/local/openldap/libexec/openldap
moduleload syncprov
password-hash {SSHA}
database hdb
suffix "dc=***,dc=com"
rootdn "cn=root,dc=***,dc=com"
rootpw {SSHA}9nbNE9l1rTvPCoU95zgo6vVoL3nMRzMI
directory /usr/local/openldap/var/openldap-data
index uid pres,eq
index cn,sn pres,eq,approx,sub
index objectClass eq
index entryCSN,entryUUID eq
index cn,sn pres,eq,approx,sub
index objectClass eq
index entryCSN,entryUUID eq
syncrepl rid=001
provider=ldap://192.168.1.8
type=refreshAndPersist
retry="5 5 300 +"
searchbase="dc=***,dc=com"
attrs=*
binddn="cn=root,dc=***,dc=com"
credentials=secret
provider=ldap://192.168.1.8
type=refreshAndPersist
retry="5 5 300 +"
searchbase="dc=***,dc=com"
attrs=*
binddn="cn=root,dc=***,dc=com"
credentials=secret
overlay syncprov
syncprov-checkpoint 50 10
syncprov-checkpoint 50 10
database monitor
loglevel 256
loglevel 256
Thanks Regards
Piyush Joshi
9415414376
- Help needed to set up N-way multimaster replication, piyush joshi
- Re: Help needed to set up N-way multimaster replication, Dieter Kluenter
- Message not available
- Re: Help needed to set up N-way multimaster replication,
piyush joshi
- Re: Help needed to set up N-way multimaster replication, Miguel Jinez
- Re: Help needed to set up N-way multimaster replication,
piyush joshi
- Prev by Date: Re: RHEL 5 will not do TLS/SSL authentication
- Next by Date: Re: Help needed to set up N-way multimaster replication
- Previous by thread: Re: objectclass sambaSamAccount
- Next by thread: Re: Help needed to set up N-way multimaster replication