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
5c96b926
Commit
5c96b926
authored
Apr 16, 2020
by
Anton Smith
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update pg_hba example for secondary Geo node
parent
7b5ad03d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
doc/administration/geo/replication/external_database.md
doc/administration/geo/replication/external_database.md
+12
-2
No files found.
doc/administration/geo/replication/external_database.md
View file @
5c96b926
...
...
@@ -72,8 +72,18 @@ hot_standby = on
### Manually configure the replica database
Make the following configuration changes manually to your
`postgresql.conf`
of external replica database:
Make the following configuration changes manually to your
`pg_hba.conf`
and
`postgresql.conf`
of your external replica database:
```
plaintext
##
## Geo Secondary Role
## - pg_hba.conf
##
host all all <trusted secondary IP>/32 md5
host replication gitlab_replicator <trusted secondary IP>/32 md5
host all all <trusted primary IP>/24 md5
```
```
plaintext
##
...
...
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