Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
6805527c
Commit
6805527c
authored
Jun 02, 2021
by
Anton Smith
Committed by
Achilleas Pipinellis
Jun 02, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Geo - Add geo_primary_role when configuring external DB
parent
22c2ff1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
doc/administration/geo/setup/external_database.md
doc/administration/geo/setup/external_database.md
+11
-3
No files found.
doc/administration/geo/setup/external_database.md
View file @
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:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment