Commit af774dfe authored by Stan Hu's avatar Stan Hu

Merge branch 'jramsay-4088-rake-geo-check-docs' into 'master'

Add step to run gitlab:geo:check on primary

Closes #4088

See merge request gitlab-org/gitlab-ee!3458
parents b6dfd6be c5b0ad8a
...@@ -273,6 +273,12 @@ primary before the database is replicated. ...@@ -273,6 +273,12 @@ primary before the database is replicated.
secondary node. Leave blank to replicate all. Read more in secondary node. Leave blank to replicate all. Read more in
[selective replication](#selective-replication). [selective replication](#selective-replication).
1. Click the **Add node** button. 1. Click the **Add node** button.
1. SSH into your GitLab **primary** server and login as root to verify the
secondary is reachable:
```
gitlab-rake gitlab:geo:check
```
The new secondary geo node will have the status **Unhealthy**. This is expected The new secondary geo node will have the status **Unhealthy**. This is expected
because we have not yet configured the secondary server. This is the next step. because we have not yet configured the secondary server. This is the next step.
...@@ -371,6 +377,13 @@ because we have not yet configured the secondary server. This is the next step. ...@@ -371,6 +377,13 @@ because we have not yet configured the secondary server. This is the next step.
timedatectl status | grep 'NTP synchronized' timedatectl status | grep 'NTP synchronized'
``` ```
1. Verify the secondary if configured correctly and that the primary is
reachable:
```
gitlab-rake gitlab:geo:check
```
### Step 4. Initiate the replication process ### Step 4. Initiate the replication process
Below we provide a script that connects the database on the secondary node to Below we provide a script that connects the database on the secondary node to
......
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