Hello everyone,
I'm trying to convert my two node replicated OpenLDAP pair to a three-way pair and am having trouble with configuring the slapd.conf files. Can anyone tell me what I need to add here? Below is my newly modified slapd.conf file with the system03 addition:
----- slapd.conf on system01 replicating to system02 and system03 -----
include /usr/local/etc/openldap/schema/core.schema
include /usr/local/etc/openldap/schema/promptu.schema
pidfile /usr/local/var/run/slapd.pid
argsfile /usr/local/var/run/slapd.args
serverID 001
#######################################################################
# BDB database definitions
#######################################################################
database bdb
suffix "dc=mydomain,dc=local"
rootdn "cn=Manager,dc=mydomain,dc=local"
rootpw secret
directory /usr/local/var/openldap-data
# Indices to maintain
index objectClass eq
index entryCSN eq
index entryUUID eq
syncrepl rid=0
provider=ldap://sys02
type=refreshAndPersist
interval=00:00:00:30
retry="5 5 300 +"
searchbase="dc=mydomain,dc=local"
filter="(objectClass=*)"
attrs="*,+"
scope=sub
schemachecking=off
bindmethod=simple
binddn="cn=Manager,dc=mydomain,dc=local"
credentials="secret"
updateref ldap://sys02
syncrepl rid=0
provider=ldap://sys03
type=refreshAndPersist
interval=00:00:00:30
retry="5 5 300 +"
searchbase="dc=mydomain,dc=local"
filter="(objectClass=*)"
attrs="*,+"
scope=sub
schemachecking=off
bindmethod=simple
binddn="cn=Manager,dc=mydomain,dc=local"
credentials="secret"
updateref ldap://sys03
mirrormode TRUE
overlay syncprov
syncprov-checkpoint 100 10
Thank you for your help!
Mike