Commit d3f6078c authored by Nick Thomas's avatar Nick Thomas

Merge branch '5722-dr-manual-improvements-docs' into 'master'

Resolve "Disaster Recovery doc: Promoted node -> Primary with Geo enabled is not clear"

Closes #5722

See merge request gitlab-org/gitlab-ee!5420
parents c298ceda fa6faa0e
...@@ -188,7 +188,7 @@ and after that you also need two extra steps. ...@@ -188,7 +188,7 @@ and after that you also need two extra steps.
### Step 1. Prepare the new primary to serve one or more secondaries ### Step 1. Prepare the new primary to serve one or more secondaries
1. SSH into your **secondary** and login as root: 1. SSH into your new **primary** and login as root:
```bash ```bash
sudo -i sudo -i
...@@ -197,6 +197,9 @@ and after that you also need two extra steps. ...@@ -197,6 +197,9 @@ and after that you also need two extra steps.
1. Edit `/etc/gitlab/gitlab.rb` 1. Edit `/etc/gitlab/gitlab.rb`
```ruby ```ruby
## Enable a Geo Primary role (if you haven't yet)
geo_primary_role['enable'] = true
## ##
# Primary and Secondary addresses # Primary and Secondary addresses
# - replace '1.2.3.4' with the primary public or VPC address # - replace '1.2.3.4' with the primary public or VPC address
......
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