Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
62045bea
Commit
62045bea
authored
Jun 18, 2021
by
Nick Nguyen
Committed by
Achilleas Pipinellis
Jun 18, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add steps to use existing Patroni cluster as a secondary
parent
43a11106
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
4 deletions
+16
-4
doc/administration/geo/setup/database.md
doc/administration/geo/setup/database.md
+16
-4
No files found.
doc/administration/geo/setup/database.md
View file @
62045bea
...
...
@@ -735,10 +735,22 @@ For each Patroni instance on the secondary site:
```
1.
Reconfigure GitLab for the changes to take effect.
This is required to bootstrap PostgreSQL users and settings:
This is required to bootstrap PostgreSQL users and settings.
-
If this is a fresh installation of Patroni:
```shell
gitlab-ctl reconfigure
```
-
If you are configuring a Patroni standby cluster on a site that previously had a working Patroni cluster:
```shell
gitlab-ctl stop patroni
rm -rf /var/opt/gitlab/postgresql/data
/opt/gitlab/embedded/bin/patronictl -c /var/opt/gitlab/patroni/patroni.yaml remove postgresql-ha
gitlab-ctl reconfigure
gitlab-ctl start patroni
```
### Migrating from repmgr to Patroni
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment