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
474a3e25
Commit
474a3e25
authored
Nov 27, 2019
by
Evan Read
Committed by
Marcel Amirault
Nov 27, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Edit troubleshooting content
parent
503d749e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
doc/administration/geo/replication/troubleshooting.md
doc/administration/geo/replication/troubleshooting.md
+6
-4
No files found.
doc/administration/geo/replication/troubleshooting.md
View file @
474a3e25
...
@@ -115,10 +115,12 @@ Any **secondary** nodes should point only to read-only instances.
...
@@ -115,10 +115,12 @@ Any **secondary** nodes should point only to read-only instances.
#### Can Geo detect the current node correctly?
#### Can Geo detect the current node correctly?
Geo finds the current machine's name in
`/etc/gitlab/gitlab.rb`
by first looking
Geo finds the current machine's name in
`/etc/gitlab/gitlab.rb`
by:
for
`gitlab_rails['geo_node_name']`
. If it is not defined, then it defaults to
the external URL defined in e.g.
`external_url "http://gitlab.example.com"`
. To
-
Using the
`gitlab_rails['geo_node_name']`
setting.
get a machine's name, run:
-
If that is not defined, using the
`external_url`
setting.
To get a machine's name, run:
```
sh
```
sh
sudo
gitlab-rails runner
"puts GeoNode.current_node_name"
sudo
gitlab-rails runner
"puts GeoNode.current_node_name"
...
...
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