Commit f56dbe4f authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'docs/add-geo-primary-role-ext-db' into 'master'

Geo - Add geo_primary_role when configuring external DB

See merge request gitlab-org/gitlab!62511
parents 0dbbea19 6805527c
......@@ -24,11 +24,19 @@ developed and tested. We aim to be compatible with most external
sudo -i
```
1. Edit `/etc/gitlab/gitlab.rb` and add a **unique** ID for your node (arbitrary value):
1. Edit `/etc/gitlab/gitlab.rb` and add:
```ruby
# The unique identifier for the Geo node.
gitlab_rails['geo_node_name'] = '<node_name_here>'
##
## Geo Primary role
## - configure dependent flags automatically to enable Geo
##
roles ['geo_primary_role']
##
## The unique identifier for the Geo site.
##
gitlab_rails['geo_node_name'] = '<geo_site_name_here>'
```
1. Reconfigure the **primary** node for the change 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