mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 16:46:28 +00:00
autofailover_quick_setup.rst: Replace tabs with spaces
Before this commit there was inconsistency over the indentation. This commit consolidates around two spaces.
This commit is contained in:
@@ -72,7 +72,7 @@ Edit the file postgresql.conf and modify the parameters::
|
|||||||
listen_addresses='*'
|
listen_addresses='*'
|
||||||
wal_level = 'hot_standby'
|
wal_level = 'hot_standby'
|
||||||
archive_mode = on
|
archive_mode = on
|
||||||
archive_command = 'cd .' # we can also use exit 0, anything that
|
archive_command = 'cd .' # we can also use exit 0, anything that
|
||||||
# just does nothing
|
# just does nothing
|
||||||
max_wal_senders = 10
|
max_wal_senders = 10
|
||||||
wal_keep_segments = 5000 # 80 GB required on pg_xlog
|
wal_keep_segments = 5000 # 80 GB required on pg_xlog
|
||||||
@@ -207,8 +207,8 @@ Start the repmgrd daemons
|
|||||||
|
|
||||||
Log in to node2 and witness.
|
Log in to node2 and witness.
|
||||||
|
|
||||||
su - postgres
|
su - postgres
|
||||||
repmgrd -f /etc/repmgr/repmgr.conf --daemonize -> /var/log/postgresql/repmgr.log 2>&1
|
repmgrd -f /etc/repmgr/repmgr.conf --daemonize -> /var/log/postgresql/repmgr.log 2>&1
|
||||||
|
|
||||||
**Note:** The Master does not need a repmgrd daemon.
|
**Note:** The Master does not need a repmgrd daemon.
|
||||||
|
|
||||||
@@ -218,12 +218,12 @@ Suspend Automatic behavior
|
|||||||
|
|
||||||
Edit the repmgr.conf of the node to remove from automatic processing and change::
|
Edit the repmgr.conf of the node to remove from automatic processing and change::
|
||||||
|
|
||||||
failover=manual
|
failover=manual
|
||||||
|
|
||||||
Then, signal repmgrd daemon::
|
Then, signal repmgrd daemon::
|
||||||
|
|
||||||
su - postgres
|
su - postgres
|
||||||
kill -HUP `pidof repmgrd`
|
kill -HUP `pidof repmgrd`
|
||||||
|
|
||||||
Usage
|
Usage
|
||||||
=====
|
=====
|
||||||
|
|||||||
Reference in New Issue
Block a user