]> git.sur5r.net Git - openldap/commitdiff
Only ServerID needs to be unique and include 2 Syncrepl configs for MirrorMode.
authorGavin Henry <ghenry@openldap.org>
Fri, 25 Jan 2008 23:25:35 +0000 (23:25 +0000)
committerGavin Henry <ghenry@openldap.org>
Fri, 25 Jan 2008 23:25:35 +0000 (23:25 +0000)
doc/guide/admin/replication.sdf

index eb733eedc5fb897fb15e015921f7ba0c93922def..02904ecf8e940e582fc714a6a4d8171d0cd680a5 100644 (file)
@@ -738,8 +738,7 @@ slapd syncrepl provider, then the only change is the following two directives:
 >       serverID    1
 
 Note: You need to make sure that the {{serverID}} of each mirror node pair is 
-different and that the {{provider}} syncrepl directive points to the opposite 
-mirror node.
+different.
 
 H4: Mirror Node Configuration
 
@@ -752,7 +751,17 @@ Here's a specific cut down example using {{SECT:LDAP Sync Replication}} in
 MirrorMode node 1:
 
 >       # syncrepl directives    \r
->       syncrepl      rid=1\r
+>       syncrepl      rid=001\r
+>                     provider=ldap://ldap-ridr1.example.com\r
+>                     bindmethod=simple\r
+>                     binddn="cn=mirrormode,dc=example,dc=com"\r
+>                     credentials=mirrormode\r
+>                     searchbase="dc=example,dc=com"\r
+>                     schemachecking=on\r
+>                     type=refreshAndPersist\r
+>                     retry="60 +"\r
+>
+>       syncrepl      rid=002\r
 >                     provider=ldap://ldap-rid2.example.com\r
 >                     bindmethod=simple\r
 >                     binddn="cn=mirrormode,dc=example,dc=com"\r
@@ -768,8 +777,18 @@ MirrorMode node 1:
 MirrorMode node 2:
 
 >       # syncrepl directives\r
->       syncrepl      rid=1\r
->                     provider=ldap://ldap-rid1.example.com\r
+>       syncrepl      rid=001\r
+>                     provider=ldap://ldap-ridr1.example.com\r
+>                     bindmethod=simple\r
+>                     binddn="cn=mirrormode,dc=example,dc=com"\r
+>                     credentials=mirrormode\r
+>                     searchbase="dc=example,dc=com"\r
+>                     schemachecking=on\r
+>                     type=refreshAndPersist\r
+>                     retry="60 +"\r
+>
+>       syncrepl      rid=002\r
+>                     provider=ldap://ldap-rid2.example.com\r
 >                     bindmethod=simple\r
 >                     binddn="cn=mirrormode,dc=example,dc=com"\r
 >                     credentials=mirrormode\r
@@ -782,8 +801,7 @@ MirrorMode node 2:
 >       serverID    2
 
 It's simple really; each MirrorMode node is setup {{B:exactly}} the same, except
-that the {{B:provider}} directive is set to point to the other MirrorMode node
-and the {{serverID}} is unique.
+that the {{serverID}} is unique.
 
 H4: Failover Configuration