BigW Consortium Gitlab

Commit 1dcbff1c by Gabriel Mazetto

Few more fixes to Sentinel documentation to address MR feedback

parent 0ca14544
...@@ -63,13 +63,10 @@ Redis. ...@@ -63,13 +63,10 @@ Redis.
nginx['enable'] = false nginx['enable'] = false
postgresql['enable'] = false postgresql['enable'] = false
gitlab_rails['enable'] = false gitlab_rails['enable'] = false
mailroom['enable'] = false
# Redis configuration # Redis configuration
redis['port'] = 6379 redis['port'] = 6379
redis['bind'] = '0.0.0.0' redis['bind'] = '0.0.0.0'
# If you wish to use Redis authentication (recommended)
redis['password'] = 'redis-password-goes-here' redis['password'] = 'redis-password-goes-here'
``` ```
...@@ -85,8 +82,8 @@ Redis. ...@@ -85,8 +82,8 @@ Redis.
## Experimental Redis Sentinel support ## Experimental Redis Sentinel support
> Experimental Redis Sentinel support was [Introduced][ce-1877] in GitLab 8.11. > Experimental Redis Sentinel support was [Introduced][ce-1877] in GitLab 8.11.
Starting with 8.13, Redis Sentinel is no longer experimental. Starting with 8.14, Redis Sentinel is no longer experimental.
If you used with versions `< 8.13` before, please check the updated If you used with versions `< 8.14` before, please check the updated
documentation below. documentation below.
## Redis Sentinel support ## Redis Sentinel support
...@@ -279,7 +276,7 @@ be each in a independent machine. You can configure them in the same ...@@ -279,7 +276,7 @@ be each in a independent machine. You can configure them in the same
machines where you've configured the other Redis servers. machines where you've configured the other Redis servers.
This number is required for the consensus algorithm to be effective This number is required for the consensus algorithm to be effective
in the case of a failure. **You should always have and `odd` number in the case of a failure. **You should always have an `odd` number
of Sentinel nodes provisioned**. of Sentinel nodes provisioned**.
#### How sentinel handles a failover #### How sentinel handles a failover
...@@ -400,7 +397,7 @@ master and the new sentinels servers. ...@@ -400,7 +397,7 @@ master and the new sentinels servers.
You can enable or disable sentinel support at any time in new or existing You can enable or disable sentinel support at any time in new or existing
installations. From the GitLab application perspective, all it requires is installations. From the GitLab application perspective, all it requires is
the correct credentials for the master Redis and for a few Sentinel nodes. the correct credentials for the master Redis and for all Sentinel nodes.
It doesn't require a list of all Sentinel nodes, as in case of a failure, It doesn't require a list of all Sentinel nodes, as in case of a failure,
the application will need to query only one of them. the application will need to query only one of them.
......
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