From 9e5b3e0a2da766a40692e8ffa89533042518bcbd Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sat, 14 Mar 2015 11:59:46 -0700 Subject: [PATCH] autofailover_quick_setup.rst: Replace tabs with spaces Before this commit there was inconsistency over the indentation. This commit consolidates around two spaces. --- autofailover_quick_setup.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/autofailover_quick_setup.rst b/autofailover_quick_setup.rst index eaa01c95..d08354a1 100644 --- a/autofailover_quick_setup.rst +++ b/autofailover_quick_setup.rst @@ -72,7 +72,7 @@ Edit the file postgresql.conf and modify the parameters:: listen_addresses='*' wal_level = 'hot_standby' 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 max_wal_senders = 10 wal_keep_segments = 5000 # 80 GB required on pg_xlog @@ -207,8 +207,8 @@ Start the repmgrd daemons Log in to node2 and witness. - su - postgres - repmgrd -f /etc/repmgr/repmgr.conf --daemonize -> /var/log/postgresql/repmgr.log 2>&1 + su - postgres + repmgrd -f /etc/repmgr/repmgr.conf --daemonize -> /var/log/postgresql/repmgr.log 2>&1 **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:: - failover=manual + failover=manual Then, signal repmgrd daemon:: - su - postgres - kill -HUP `pidof repmgrd` + su - postgres + kill -HUP `pidof repmgrd` Usage =====