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
859dfbc8
Commit
859dfbc8
authored
Dec 16, 2017
by
Valery Sizov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Geo] Update disaster recovery manual[ci skip]
parent
c1cc5e51
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
doc/gitlab-geo/disaster-recovery.md
doc/gitlab-geo/disaster-recovery.md
+2
-3
No files found.
doc/gitlab-geo/disaster-recovery.md
View file @
859dfbc8
...
...
@@ -17,13 +17,12 @@ for more information.
We don't provide yet an automated way to promote a node and do fail-over,
but you can do it manually if you have
`root`
access to the machine.
You must make the changes in the exact specific order
:
For system with only one secondary and one primary node (2-node system)
:
1.
Take down your primary node (or make sure it will not go up during this
process or you may lose data)
1.
Wait for any database replication to finish
1.
Modify the
`gitlab.rb`
for both nodes to reflect their new statuses
1.
Log-in to your secondary node with a user with
`sudo`
permission
1.
Modify the
`gitlab.rb`
to reflect its new status
1.
Run
`sudo gitlab-ctl promote-to-primary-node`
To bring your old primary node back into use as a working secondary, you need to
...
...
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