Commit f4b47661 authored by Marin Jankovski's avatar Marin Jankovski

Merge branch 'update-repmgr-docs' into 'master'

Update alpha database documentation to reflect change in attribute

See merge request !2252
parents 19d7a99f 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
......
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