Commit 85802afc authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'fix_geo_database_manual' into 'master'

[Geo doc] Keep in mind multiple secondaries when setup database replication

Closes #4740

See merge request gitlab-org/gitlab-ee!4316
parents 6087548f 45a20be8
...@@ -387,7 +387,8 @@ data before running `pg_basebackup`. ...@@ -387,7 +387,8 @@ data before running `pg_basebackup`.
name as shown in the commands below. name as shown in the commands below.
1. Execute the command below to start a backup/restore and begin the replication 1. Execute the command below to start a backup/restore and begin the replication
(various options that can be added to these commands are listed below): >**Warning:** Each Geo secondary must have its own unique replication slot name.
Using the same slot name between two secondaries will break PostgreSQL replication.
```bash ```bash
gitlab-ctl replicate-geo-database --slot-name=secondary_example --host=1.2.3.4 gitlab-ctl replicate-geo-database --slot-name=secondary_example --host=1.2.3.4
......
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