Commit 32b90198 authored by Aakriti Gupta's avatar Aakriti Gupta

Document confirm-final option to promotion command

parent 1c20cf20
...@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment