Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue 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
James Lowden
OpenLDAP
Commits
5c2b49d0
Commit
5c2b49d0
authored
16 years ago
by
Quanah Gibson-Mount
Browse files
Options
Downloads
Patches
Plain Diff
Clarify MM config example.
parent
3f9b2317
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
+9
-27
9 additions, 27 deletions
doc/guide/admin/replication.sdf
with
9 additions
and
27 deletions
doc/guide/admin/replication.sdf
+
9
−
27
View file @
5c2b49d0
...
...
@@ -612,7 +612,7 @@ H3: MirrorMode replication
MirrorMode is a hybrid configuration that provides all of the consistency
guarantees of single-master replication, while also providing the high
availability of multi-master. In MirrorMode two masters are set up to
replicate from each other (as a multi-master configuration) but an
replicate from each other (as a multi-master configuration)
,
but an
external frontend is employed to direct all writes to only one of
the two servers. The second master will only be used for writes if
the first master crashes, at which point the frontend will switch to
...
...
@@ -1025,7 +1025,8 @@ different and add it as a global configuration option.
H4: Mirror Node Configuration
This is the same as the {{SECT:Set up the provider slapd}} section.
The first step is to configure the syncrepl provider the same as in the
{{SECT:Set up the provider slapd}} section.
Note: Delta-syncrepl is not yet supported with MirrorMode.
...
...
@@ -1038,9 +1039,9 @@ MirrorMode node 1:
> serverID 1
> # database section
>
> # syncrepl directive
s
> # syncrepl directive
> syncrepl rid=001
> provider=ldap://ldap-
r
id
r1
.example.com
> provider=ldap://ldap-
s
id
2
.example.com
> bindmethod=simple
> binddn="cn=mirrormode,dc=example,dc=com"
> credentials=mirrormode
...
...
@@ -1049,16 +1050,6 @@ MirrorMode node 1:
> type=refreshAndPersist
> retry="60 +"
>
> syncrepl rid=002
> provider=ldap://ldap-rid2.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:
...
...
@@ -1067,19 +1058,9 @@ MirrorMode node 2:
> serverID 2
> # database section
>
> # syncrepl directive
s
> # syncrepl directive
> 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
> provider=ldap://ldap-sid1.example.com
> bindmethod=simple
> binddn="cn=mirrormode,dc=example,dc=com"
> credentials=mirrormode
...
...
@@ -1091,7 +1072,8 @@ MirrorMode node 2:
> mirrormode on
It's simple really; each MirrorMode node is setup {{B:exactly}} the same, except
that the {{serverID}} is unique.
that the {{serverID}} is unique, and each consumer is pointed to
the other server.
H5: 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