Commit 062d127c authored by Gabriel Mazetto's avatar Gabriel Mazetto

Fix some more indentation issues, and add missing restart step

parent 66c01861
...@@ -70,6 +70,12 @@ be manually replicated to the secondary. ...@@ -70,6 +70,12 @@ be manually replicated to the secondary.
chmod 0600 /home/git/gitlab/config/secrets.yml chmod 0600 /home/git/gitlab/config/secrets.yml
``` ```
1. Restart GitLab
```bash
service gitlab restart
```
Once restarted, the secondary will automatically start replicating missing data Once restarted, the secondary will automatically start replicating missing data
from the primary in a process known as backfill. Meanwhile, the primary node from the primary in a process known as backfill. Meanwhile, the primary node
will start to notify the secondary of any changes, so that the secondary can will start to notify the secondary of any changes, so that the secondary can
......
...@@ -472,16 +472,16 @@ the instructions below: ...@@ -472,16 +472,16 @@ the instructions below:
1. Edit `/etc/gitlab/gitlab.rb` with the connection params and credentials 1. Edit `/etc/gitlab/gitlab.rb` with the connection params and credentials
```ruby ```ruby
# note this is shared between both databases, # note this is shared between both databases,
# make sure you define the same password in both # make sure you define the same password in both
gitlab_rails['db_password'] = 'mypassword' gitlab_rails['db_password'] = 'mypassword'
geo_secondary['db_host'] = '2.3.4.5' # change to the correct public IP geo_secondary['db_host'] = '2.3.4.5' # change to the correct public IP
geo_secondary['db_port'] = 5431 # change to the correct port geo_secondary['db_port'] = 5431 # change to the correct port
geo_secondary['db_fdw'] = true # enable FDW geo_secondary['db_fdw'] = true # enable FDW
geo_postgresql['enable'] = false # don't use internal managed instance geo_postgresql['enable'] = false # don't use internal managed instance
``` ```
1. Reconfigure GitLab for the changes to take effect: 1. Reconfigure GitLab for the changes to take effect:
......
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