Commit eccd6086 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'docs-ha-repmgr' into 'master'

Updating HA repmgr docs to suggest 3 nodes

See merge request gitlab-org/gitlab-ee!8659
parents fd696d95 838c17e7
...@@ -123,7 +123,7 @@ number of enqueued Sidekiq jobs, etc. If this happens you should consider ...@@ -123,7 +123,7 @@ number of enqueued Sidekiq jobs, etc. If this happens you should consider
moving to a hybrid or fully distributed architecture depending on what is causing moving to a hybrid or fully distributed architecture depending on what is causing
the contention. the contention.
- 2 PostgreSQL nodes - 3 PostgreSQL nodes
- 2 Redis nodes - 2 Redis nodes
- 3 Consul/Sentinel nodes - 3 Consul/Sentinel nodes
- 2 or more GitLab application nodes (Unicorn, Workhorse, Sidekiq, PGBouncer) - 2 or more GitLab application nodes (Unicorn, Workhorse, Sidekiq, PGBouncer)
...@@ -138,7 +138,7 @@ resource usage of one component does not interfere with others. In larger ...@@ -138,7 +138,7 @@ resource usage of one component does not interfere with others. In larger
environments this is a good architecture to consider if you foresee or do have environments this is a good architecture to consider if you foresee or do have
contention due to certain workloads. contention due to certain workloads.
- 2 PostgreSQL nodes - 3 PostgreSQL nodes
- 2 Redis nodes - 2 Redis nodes
- 3 Consul/Sentinel nodes - 3 Consul/Sentinel nodes
- 2 or more Sidekiq nodes - 2 or more Sidekiq nodes
...@@ -153,7 +153,7 @@ This architecture scales to hundreds of thousands of users and projects and is ...@@ -153,7 +153,7 @@ This architecture scales to hundreds of thousands of users and projects and is
the basis of the GitLab.com architecture. While this scales well it also comes the basis of the GitLab.com architecture. While this scales well it also comes
with the added complexity of many more nodes to configure, manage and monitor. with the added complexity of many more nodes to configure, manage and monitor.
- 2 PostgreSQL nodes - 3 PostgreSQL nodes
- 4 or more Redis nodes (2 separate clusters for persistent and cache data) - 4 or more Redis nodes (2 separate clusters for persistent and cache data)
- 3 Consul nodes - 3 Consul nodes
- 3 Sentinel nodes - 3 Sentinel nodes
......
...@@ -935,7 +935,7 @@ after it has been restored to service. ...@@ -935,7 +935,7 @@ after it has been restored to service.
you switch it to a standby node, repmgr will report that there are two masters. you switch it to a standby node, repmgr will report that there are two masters.
If there are any clients that are still attempting to write to the old master, If there are any clients that are still attempting to write to the old master,
this will cause a split, and the old master will need to be resynced from this will cause a split, and the old master will need to be resynced from
scratch by performing a `standby setup NEW_MASTER`. scratch by performing a `gitlab-ctl repmgr standby setup NEW_MASTER`.
### Alternate configurations ### Alternate configurations
......
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