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
435eb668
Commit
435eb668
authored
Sep 24, 2019
by
Michael Kozono
Committed by
Douglas Barbosa Alexandre
Sep 24, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Docs: Fix postgres configuration in Geo HA
parent
b999449e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
doc/administration/geo/replication/high_availability.md
doc/administration/geo/replication/high_availability.md
+12
-4
No files found.
doc/administration/geo/replication/high_availability.md
View file @
435eb668
...
...
@@ -71,8 +71,16 @@ high availability configuration documentation for
[
PostgreSQL
](
../../high_availability/database.md#configuring-the-application-nodes
)
and
[
Redis
](
../../high_availability/redis.md#example-configuration-for-the-gitlab-application
)
.
The
**primary**
database will require modification later, as part of
[
step 2
](
#step-2-configure-the-main-read-only-replica-postgresql-database-on-the-secondary-node
)
.
### Step 2: Configure the **primary** database
1.
Edit
`/etc/gitlab/gitlab.rb`
and add the following:
```
ruby
##
## Configure the Geo primary role and the PostgreSQL role
##
roles
[
'geo_primary_role'
,
'postgres_role'
]
```
## Configure a **secondary** node
...
...
@@ -115,9 +123,9 @@ the **primary** database. Use the following as a guide.
```
ruby
##
## Configure the PostgreSQL role
## Configure the
Geo secondary role and the
PostgreSQL role
##
roles
[
'postgres_role'
]
roles
[
'
geo_secondary_role'
,
'
postgres_role'
]
##
## Secondary address
...
...
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