Commit 619bc37f authored by Evan Read's avatar Evan Read

Merge branch '6108-geo_ha_doc-docs' into 'master'

Geo: Clarify Geo HA documentation

Closes #6108

See merge request gitlab-org/gitlab-ee!7894
parents 8a23167e 52aa1aa8
......@@ -72,7 +72,6 @@ On the **secondary** backend servers configure the following services:
geo_postgresql['enable'] = true
geo_postgresql['listen_address'] = '10.1.4.1'
geo_postgresql['trust_auth_cidr_addresses'] = ['10.1.0.0/16']
geo_secondary['auto_migrate'] = true
geo_secondary['db_host'] = '10.1.4.1'
......@@ -111,7 +110,7 @@ the addresses of the remote endpoints for PostgreSQL and Redis will need to be s
postgresql['enable'] = false
gitlab_rails['auto_migrate'] = false
gitlab_rails['db_host'] = '10.0.3.1'
gitlab_rails['db_password'] = 'DB password'
gitlab_rails['db_password'] = 'plaintext DB password'
##
## Disable Redis on the local machine and connect to the remote
......@@ -124,6 +123,12 @@ the addresses of the remote endpoints for PostgreSQL and Redis will need to be s
geo_primary_role['enable'] = true
```
NOTE: **Note:**
If you had set up PostgreSQL cluster using the omnibus package and you had set up `postgresql['sql_user_password'] = 'md5 digest of secret'` setting, keep in mind that `gitlab_rails['db_password']` setting mentioned above contains the plaintext password.
NOTE: **Note:**
Make sure that current node IP is listed in `postgresql['md5_auth_cidr_addresses']` setting of your remote database.
#### On the GitLab Secondary Frontend servers
On the secondary the remote endpoint for the PostgreSQL Geo database will
......@@ -141,7 +146,7 @@ be specified.
postgresql['enable'] = false
gitlab_rails['auto_migrate'] = false
gitlab_rails['db_host'] = '10.1.3.1'
gitlab_rails['db_password'] = 'DB password'
gitlab_rails['db_password'] = 'plaintext DB password'
##
## Disable Redis on the local machine and connect to the remote
......@@ -162,6 +167,11 @@ be specified.
geo_postgresql['enable'] = false
```
NOTE: **Note:**
If you had set up PostgreSQL cluster using the omnibus package and you had set up `postgresql['sql_user_password'] = 'md5 digest of secret'` setting, keep in mind that `gitlab_rails['db_password']` setting mentioned above contains the plaintext password.
NOTE: **Note:**
Make sure that current node IP is listed in `postgresql['md5_auth_cidr_addresses']` setting of your remote database.
After making these changes [Reconfigure GitLab][gitlab-reconfigure] so that they take effect.
......
---
title: 'Geo: Clarify Geo HA documentation'
merge_request:
author:
type: other
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