Commit 474a3e25 authored by Evan Read's avatar Evan Read Committed by Marcel Amirault

Edit troubleshooting content

parent 503d749e
...@@ -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"
......
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