Commit 6805527c authored by Anton Smith's avatar Anton Smith Committed by Achilleas Pipinellis

Geo - Add geo_primary_role when configuring external DB

parent 22c2ff1a
......@@ -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