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
c3107e15
Commit
c3107e15
authored
Jun 26, 2017
by
Ian Baum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update alpha database documentation to reflect change in attribute
postgresql['custom_pg_hba_entries'] is now a hash
parent
ceb63966
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
doc/administration/high_availability/alpha_database.md
doc/administration/high_availability/alpha_database.md
+2
-2
No files found.
doc/administration/high_availability/alpha_database.md
View file @
c3107e15
...
...
@@ -67,7 +67,7 @@ using [repmgr](http://www.repmgr.org/) to handle standby synchronization, and fa
postgresql
[
'wal_level'
]
=
'replica'
postgresql
[
'max_wal_senders'
]
=
X
# Should be set to at least 1 more than the number of nodes in the cluster
postgresql
[
'shared_preload_libraries'
]
=
'repmgr_funcs'
# If this attribute is already defined, append the new value as a comma separated list
postgresql
[
'custom_pg_hba_entries'
]
=
[
postgresql
[
'custom_pg_hba_entries'
]
[
'repmgr'
]
=
[
{
type:
'local'
,
database:
'replication'
,
...
...
@@ -249,7 +249,7 @@ If you still want to enable this feature, do the following on each database node
```
# su - gitlab-psql -c '/opt/gitlab/embedded/bin/repmgrd -f /var/opt/gitlab/postgresql/repmgr.conf --verbose -d >> /var/log/gitlab/repmgr/repmgr.log 2>&1'
```
### Operations
If your master node is experiencing an issue, you can manually failover.
1.
If the master database is still running, shut it down first
...
...
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