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
32b90198
Commit
32b90198
authored
Aug 27, 2020
by
Aakriti Gupta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document confirm-final option to promotion command
parent
1c20cf20
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
doc/administration/geo/disaster_recovery/index.md
doc/administration/geo/disaster_recovery/index.md
+6
-3
No files found.
doc/administration/geo/disaster_recovery/index.md
View file @
32b90198
...
@@ -138,9 +138,6 @@ Note the following when promoting a secondary:
...
@@ -138,9 +138,6 @@ Note the following when promoting a secondary:
gitlab-ctl promote-to-primary-node
gitlab-ctl promote-to-primary-node
```
```
CAUTION:
**Warning:**
Skipping preflight checks will promote the secondary to a primary without any further confirmation!
If you have already run the
[
preflight checks
](
planned_failover.md#preflight-checks
)
or don't want to run them, you can skip preflight checks with:
If you have already run the
[
preflight checks
](
planned_failover.md#preflight-checks
)
or don't want to run them, you can skip preflight checks with:
```
shell
```
shell
...
@@ -153,6 +150,12 @@ Note the following when promoting a secondary:
...
@@ -153,6 +150,12 @@ Note the following when promoting a secondary:
gitlab-ctl promotion-preflight-checks
gitlab-ctl promotion-preflight-checks
```
```
After all the checks are run, you will be asked for a final confirmation before the promotion to primary. To skip this confirmation, run:
```
shell
gitlab-ctl promote-to-primary-node
--force
```
1.
Verify you can connect to the newly promoted
**primary**
node using the URL used
1.
Verify you can connect to the newly promoted
**primary**
node using the URL used
previously for the
**secondary**
node.
previously for the
**secondary**
node.
1.
If successful, the
**secondary**
node has now been promoted to the
**primary**
node.
1.
If successful, the
**secondary**
node has now been promoted to the
**primary**
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