Commit d5dc44f0 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Minor edits in Redis HA source install

[ci skip]
parent 0f951737
...@@ -345,12 +345,12 @@ We have a more detailed [Troubleshooting](redis.md#troubleshooting) explained ...@@ -345,12 +345,12 @@ We have a more detailed [Troubleshooting](redis.md#troubleshooting) explained
in the documentation for Omnibus GitLab installations. Here we will list only in the documentation for Omnibus GitLab installations. Here we will list only
the things that are specific to a source installation. the things that are specific to a source installation.
If you get an error in GitLab like: `Redis::CannotConnectError: No sentinels available.`, If you get an error in GitLab like `Redis::CannotConnectError: No sentinels available.`,
there may be something wrong with your configuration files or it can be related there may be something wrong with your configuration files or it can be related
to [this upstream issue][gh-531]. to [this upstream issue][gh-531].
It's a bit non-intuitive the way you have to config `resque.yml` and You must make sure that `resque.yml` and `sentinel.conf` are configured correctly,
`sentinel.conf`, otherwise `redis-rb` will not work properly. otherwise `redis-rb` will not work properly.
The `master-group-name` ('gitlab-redis') defined in (`sentinel.conf`) The `master-group-name` ('gitlab-redis') defined in (`sentinel.conf`)
**must** be used as the hostname in GitLab (`resque.yml`): **must** be used as the hostname in GitLab (`resque.yml`):
...@@ -379,7 +379,7 @@ production: ...@@ -379,7 +379,7 @@ production:
port: 26379 # point to sentinel, not to redis port port: 26379 # point to sentinel, not to redis port
``` ```
When in doubt, please read [Redis Sentinel documentation](http://redis.io/topics/sentinel) When in doubt, please read [Redis Sentinel documentation](http://redis.io/topics/sentinel).
[gh-531]: https://github.com/redis/redis-rb/issues/531 [gh-531]: https://github.com/redis/redis-rb/issues/531
[downloads]: https://about.gitlab.com/downloads [downloads]: https://about.gitlab.com/downloads
......
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