Commit fac9c21a authored by Gabriel Mazetto's avatar Gabriel Mazetto

Merge branch 'geo-promoting-a-secondary-node-with-a-patroni-standby-cluster-docs' into 'master'

Geo - Remove unnecessary steps from the docs to promote a secondary node with a Patroni standby cluster

See merge request gitlab-org/gitlab!54028
parents b7672050 8b24cb17
......@@ -252,12 +252,6 @@ Data that was created on the primary while the secondary was paused will be lost
sudo gitlab-ctl promote-db
```
1. Disable Patroni auto-failover:
```shell
sudo gitlab-ctl patroni pause
```
1. Edit `/etc/gitlab/gitlab.rb` on every application and Sidekiq nodes in the secondary to reflect its new status as primary by removing any lines that enabled the `geo_secondary_role`:
```ruby
......@@ -280,12 +274,6 @@ Data that was created on the primary while the secondary was paused will be lost
sudo gitlab-ctl reconfigure
```
1. Resume Patroni auto-failover:
```shell
sudo gitlab-ctl patroni resume
```
1. Promote the **secondary** to **primary**. SSH into a single application server and execute:
```shell
......
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