Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Christopher Ng
OpenLDAP
Commits
661dc1f9
Commit
661dc1f9
authored
17 years ago
by
Gavin Henry
Browse files
Options
Downloads
Patches
Plain Diff
Only ServerID needs to be unique and include 2 Syncrepl configs for MirrorMode.
parent
b0b387e9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/guide/admin/replication.sdf
+25
-7
25 additions, 7 deletions
doc/guide/admin/replication.sdf
with
25 additions
and
7 deletions
doc/guide/admin/replication.sdf
+
25
−
7
View file @
661dc1f9
...
...
@@ -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
> syncrepl rid=1
> syncrepl rid=001
> provider=ldap://ldap-ridr1.example.com
> bindmethod=simple
> binddn="cn=mirrormode,dc=example,dc=com"
> credentials=mirrormode
> searchbase="dc=example,dc=com"
> schemachecking=on
> type=refreshAndPersist
> retry="60 +"
>
> syncrepl rid=002
> provider=ldap://ldap-rid2.example.com
> bindmethod=simple
> binddn="cn=mirrormode,dc=example,dc=com"
...
...
@@ -768,8 +777,18 @@ MirrorMode node 1:
MirrorMode node 2:
> # syncrepl directives
> syncrepl rid=1
> provider=ldap://ldap-rid1.example.com
> syncrepl rid=001
> provider=ldap://ldap-ridr1.example.com
> bindmethod=simple
> binddn="cn=mirrormode,dc=example,dc=com"
> credentials=mirrormode
> searchbase="dc=example,dc=com"
> schemachecking=on
> type=refreshAndPersist
> retry="60 +"
>
> syncrepl rid=002
> provider=ldap://ldap-rid2.example.com
> bindmethod=simple
> binddn="cn=mirrormode,dc=example,dc=com"
> credentials=mirrormode
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment