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
65bfca02
Commit
65bfca02
authored
Jun 18, 2020
by
Aakriti Gupta
Committed by
Achilleas Pipinellis
Jun 18, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Geo: Document promotion-preflight-checks command
parent
5cbcc865
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
3 deletions
+18
-3
doc/administration/geo/disaster_recovery/index.md
doc/administration/geo/disaster_recovery/index.md
+11
-1
doc/administration/geo/disaster_recovery/planned_failover.md
doc/administration/geo/disaster_recovery/planned_failover.md
+7
-2
No files found.
doc/administration/geo/disaster_recovery/index.md
View file @
65bfca02
...
...
@@ -122,7 +122,11 @@ Note the following when promoting a secondary:
roles
[
'geo_secondary_role'
]
```
1.
Promote the
**secondary**
node to the
**primary**
node. Execute:
1.
Promote the
**secondary**
node to the
**primary**
node.
Before promoting a secondary node to primary, preflight checks should be run. They can be run separately or along with the promotion script.
To promote the secondary node to primary along with preflight checks:
```
shell
gitlab-ctl promote-to-primary-node
...
...
@@ -134,6 +138,12 @@ Note the following when promoting a secondary:
gitlab-ctl promote-to-primary-node
--skip-preflight-check
```
You can also run preflight checks separately:
```
shell
gitlab-ctl promotion-preflight-checks
```
1.
Verify you can connect to the newly promoted
**primary**
node using the URL used
previously for the
**secondary**
node.
1.
If successful, the
**secondary**
node has now been promoted to the
**primary**
node.
...
...
doc/administration/geo/disaster_recovery/planned_failover.md
View file @
65bfca02
...
...
@@ -45,8 +45,13 @@ be found in `/var/opt/gitlab/gitlab-rails/shared/pages` if using Omnibus).
## Preflight checks
Follow these steps before scheduling a planned failover to ensure the process
will go smoothly.
Run this command to list out all preflight checks before scheduling a planned failover to ensure the process will go smoothly:
```
shell
gitlab-ctl promotion-preflight-checks
```
Each step is described in more detail below.
### Object storage
...
...
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