Commit 1c337f36 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Rearrange 9.0 update steps, add section on checking status after update

[ci skip]
parent 9fc1fb5d
# Updating the Geo nodes
Depending on which version of Geo you are updating to/from, there may be
different steps.
## General update steps
In order to update the GitLab Geo nodes when a new GitLab version is released,
all you need to do is update GitLab itself:
......@@ -52,9 +57,6 @@ is prepended with the relevant node for better clarity:
1. **[secondary]** Run the following steps on each of the secondaries:
1. **[secondary]** Create the `replica.sh` script as described in the
[database configuration document](database.md#step-3-initiate-the-replication-process).
1. **[secondary]** Stop all services:
```
......@@ -95,6 +97,9 @@ is prepended with the relevant node for better clarity:
sudo grep -s primary_conninfo /var/opt/gitlab/recovery.conf
```
1. **[secondary]** Create the `replica.sh` script as described in the
[database configuration document](database.md#step-3-initiate-the-replication-process).
1. **[secondary]** Run the recovery script using the credentials from the
previous step:
......@@ -102,6 +107,12 @@ is prepended with the relevant node for better clarity:
sudo bash /tmp/replica.sh
```
1. **[secondary]** Reconfigure GitLab:
```
sudo gitlab-ctl reconfigure
```
1. **[secondary]** Start all services:
```
......@@ -110,4 +121,26 @@ is prepended with the relevant node for better clarity:
1. **[secondary]** Repeat the steps for the rest of the secondaries.
1. **[primary]** After all secondaries are updated, start all services in
primary:
```
sudo gitlab-ctl start
```
## Check status after updating
Now that the update process is complete, you may want to check whether
everything is working correctly:
1. Run the Geo raketask on all nodes, everything should be green:
```
sudo gitlab-rake gitlab:geo:check
```
1. Check the primary's Geo dashboard for any errors
1. Test the data replication by pushing code to the primary and see if it
is received by the secondaries
[update]: ../update/README.md
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