The first step is to configure the syncrepl provider the same as in the Set up the provider slapd section.
Here's a specific cut down example using LDAP Sync Replication in refreshAndPersist mode:
MirrorMode node 1:
# Global section
serverID 1
# database section
# syncrepl directive
syncrepl rid=001
provider=ldap://ldap-sid2.example.com
bindmethod=simple
binddn="cn=mirrormode,dc=example,dc=com"
credentials=mirrormode
searchbase="dc=example,dc=com"
schemachecking=on
type=refreshAndPersist
retry="60 +"
mirrormode on
MirrorMode node 2:
# Global section
serverID 2
# database section
# syncrepl directive
syncrepl rid=001
provider=ldap://ldap-sid1.example.com
bindmethod=simple
binddn="cn=mirrormode,dc=example,dc=com"
credentials=mirrormode
searchbase="dc=example,dc=com"
schemachecking=on
type=refreshAndPersist
retry="60 +"
mirrormode onOn Jun 16, 2020, at 8:28 AM, Kumar Rahul <rahul2002mit@gmail.com> wrote:Hi Scott
Here are olcSyncrepl options we are using
0}rid=001
provider=ldap://<IP>:389
type=refreshAndPersist
retry="2 10 60 +"
searchbase="dc=smartsan"
scope=sub
attrs="*,+"
bindmethod=simple
binddn="cn=admin,dc=smartsan"
credentials=<Password>
timeout=1