Commit a495a9c7 authored by Marcel Amirault's avatar Marcel Amirault

Merge branch 'pokstad1-praefect-docs-reconfigure' into 'master'

Inline reconfigure instruction in Praefect docs

See merge request gitlab-org/gitlab!24712
parents 6e8294b5 ad505713
...@@ -209,7 +209,11 @@ praefect['database_dbname'] = 'praefect_production' ...@@ -209,7 +209,11 @@ praefect['database_dbname'] = 'praefect_production'
Replace `POSTGRESQL_SERVER_ADDRESS`, `PRAEFECT_EXTERNAL_TOKEN`, `PRAEFECT_INTERNAL_TOKEN`, Replace `POSTGRESQL_SERVER_ADDRESS`, `PRAEFECT_EXTERNAL_TOKEN`, `PRAEFECT_INTERNAL_TOKEN`,
and `PRAEFECT_SQL_PASSWORD` with their respective values. and `PRAEFECT_SQL_PASSWORD` with their respective values.
Save the file and [reconfigure Praefect](../restart_gitlab.md#omnibus-gitlab-reconfigure). Save the file and reconfigure Praefect:
```shell
sudo gitlab-ctl reconfigure
```
After you reconfigure, verify that Praefect can reach PostgreSQL: After you reconfigure, verify that Praefect can reach PostgreSQL:
...@@ -328,7 +332,11 @@ with their respective values. ...@@ -328,7 +332,11 @@ with their respective values.
Note that the storage name used is the same as the `praefect['virtual_storage_name']` set Note that the storage name used is the same as the `praefect['virtual_storage_name']` set
on the Praefect node. on the Praefect node.
Save your changes and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure). Save your changes and reconfigure GitLab:
```shell
sudo gitlab-ctl reconfigure
```
Run `sudo gitlab-rake gitlab:gitaly:check` to confirm that GitLab can reach Praefect. Run `sudo gitlab-rake gitlab:gitaly:check` to confirm that GitLab can reach Praefect.
......
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