Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
f0bd56b3
Commit
f0bd56b3
authored
Mar 18, 2020
by
Aric Buerer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing lint errors
parent
4711c57d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
doc/administration/high_availability/database.md
doc/administration/high_availability/database.md
+3
-2
No files found.
doc/administration/high_availability/database.md
View file @
f0bd56b3
...
@@ -899,6 +899,7 @@ after it has been restored to service.
...
@@ -899,6 +899,7 @@ after it has been restored to service.
```
shell
```
shell
gitlab-ctl repmgr standby unregister
--node
=
959789412
gitlab-ctl repmgr standby unregister
--node
=
959789412
```
```
##### Add a node as a standby server
##### Add a node as a standby server
From the stnadby node, run:
From the stnadby node, run:
...
@@ -913,8 +914,8 @@ after it has been restored to service.
...
@@ -913,8 +914,8 @@ after it has been restored to service.
If there are any clients that are still attempting to write to the old master,
If there are any clients that are still attempting to write to the old master,
this will cause a split, and the old master will need to be resynced from
this will cause a split, and the old master will need to be resynced from
scratch by performing a
`gitlab-ctl repmgr standby setup NEW_MASTER`
.
scratch by performing a
`gitlab-ctl repmgr standby setup NEW_MASTER`
.
##### Add a failed master back into the cluster as a standby node
##### Add a failed master back into the cluster as a standby node
Once
`repmgrd`
and PostgreSQL are runnning, the node will need to follow the new
Once
`repmgrd`
and PostgreSQL are runnning, the node will need to follow the new
as a standby node.
as a standby node.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment