Commit 96934965 authored by James Ramsay's avatar James Ramsay

Move geo status check after db replication

Until db replication is completed the secondary will not have the
configuration needed to pass many of the status checks
parent 51fe7978
---
title: Move geo status check after db replication to avoid anticpated failures
merge_request: 3941
author:
type: other
......@@ -354,13 +354,6 @@ because we have not yet configured the secondary server. This is the next step.
gitlab-ctl reconfigure
```
1. Verify the secondary if configured correctly and that the primary is
reachable:
```
gitlab-rake gitlab:geo:check
```
### Step 4. Initiate the replication process
Below we provide a script that connects the database on the secondary node to
......@@ -387,7 +380,7 @@ data before running `pg_basebackup`.
name as shown in the commands below.
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):
(various options that can be added to these commands are listed below):
```bash
gitlab-ctl replicate-geo-database --slot-name=secondary_example --host=1.2.3.4
......@@ -415,6 +408,13 @@ data before running `pg_basebackup`.
- If you're repurposing an old server into a Geo secondary, you'll need to
add `--force` to the command line.
1. Verify the secondary if configured correctly and that the primary is
reachable:
```
gitlab-rake gitlab:geo:check
```
The replication process is now complete.
### External PostgreSQL instances
......
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