From 2d48d5aee49a2f073d8d67894a4e6231f6939b4a Mon Sep 17 00:00:00 2001 From: Christian Kruse Date: Mon, 10 Mar 2014 15:48:44 +0100 Subject: [PATCH] fixing some documentation errors --- README.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.rst b/README.rst index 32e00442..176ce5a6 100644 --- a/README.rst +++ b/README.rst @@ -625,18 +625,18 @@ Now restore to the original configuration by stopping primary server, then bringing up "node2" as a standby with a valid ``recovery.conf`` file. -Stop the "node2" server:: +Stop the "node2" server and type the following on "node1" server:: repmgr -f /var/lib/pgsql/repmgr/repmgr.conf standby promote -Now the original primary, "node1" is acting again as primary. +Now the original primary, "node1", is acting again as primary. -Start the "node2" server and type this on "node1":: +Start the "node2" server and type this on "node2":: repmgr standby clone --force -h node2 -p 5432 -U postgres -R postgres --verbose -Verify the roles have reversed by attempting to insert a record on "node" -and on "node1". +Verify the roles have reversed by attempting to insert a record on "node1" +and on "node2". The servers are now again acting as primary on "node1" and standby on "node2".