Commit fea8d027 authored by Aakriti Gupta's avatar Aakriti Gupta Committed by Achilleas Pipinellis

[Docs] Add `skip-preflight-checks` option to `promote-to-primary-node`

parent 57e3d968
...@@ -121,6 +121,12 @@ Note the following when promoting a secondary: ...@@ -121,6 +121,12 @@ Note the following when promoting a secondary:
gitlab-ctl promote-to-primary-node gitlab-ctl promote-to-primary-node
``` ```
If you have already run the [preflight checks](planned_failover.md#preflight-checks), you can skip them with:
```shell
gitlab-ctl promote-to-primary-node --skip-preflight-check
```
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