]> git.sur5r.net Git - openldap/commitdiff
Move serverID into a Global configuration section.
authorQuanah Gibson-Mount <quanah@openldap.org>
Mon, 14 Apr 2008 20:27:47 +0000 (20:27 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Mon, 14 Apr 2008 20:27:47 +0000 (20:27 +0000)
doc/guide/admin/replication.sdf

index 91c0f3fca374ae901569af51241f2ac2224b2331..ff86e7259d25e33d8a5e716a2df39ad7655907aa 100644 (file)
@@ -738,7 +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.
+different and add it as a global configuration option.
 
 H4: Mirror Node Configuration
 
@@ -750,6 +750,10 @@ Here's a specific cut down example using {{SECT:LDAP Sync Replication}} in
 
 MirrorMode node 1:
 
+>       # Global section
+>       serverID    1
+>       # database section
+>       
 >       # syncrepl directives    \r
 >       syncrepl      rid=001\r
 >                     provider=ldap://ldap-ridr1.example.com\r
@@ -772,10 +776,13 @@ MirrorMode node 1:
 >                     retry="60 +"\r
 >       \r
 >       mirrormode on
->       serverID    1
 
 MirrorMode node 2:
 
+>       # Global section
+>       serverID    2
+>       # database section
+>       
 >       # syncrepl directives\r
 >       syncrepl      rid=001\r
 >                     provider=ldap://ldap-ridr1.example.com\r
@@ -798,7 +805,6 @@ MirrorMode node 2:
 >                     retry="60 +"\r
 >       \r
 >       mirrormode on
->       serverID    2
 
 It's simple really; each MirrorMode node is setup {{B:exactly}} the same, except
 that the {{serverID}} is unique.