Browse files

Fix documentation to always use -h sintax to refer to the node we

want to clone or connect to, instead of relying on the fact that
for some time putting that argument at last worked.
  • Loading branch information...
1 parent 56d2ae4 commit 57aa95f67441855b0ec3bf4754e412a656a4f053 @jcasanov jcasanov committed Aug 30, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 autofailover_quick_setup.rst
@@ -112,7 +112,7 @@ Log in node2.
Clone the node1 (the current Master)::
su - postgres
- repmgr -d repmgr -U repmgr standby clone node1
+ repmgr -d repmgr -U repmgr -h node1 standby clone
Start the PostgreSQL server::
@@ -173,7 +173,7 @@ Log in witness.
Initialize the witness server::
su - postgres
- repmgr -d repmgr -U repmgr -h -D $WITNESS_PGDATA -f /etc/repmgr/repmgr.conf witness create node1
+ repmgr -d repmgr -U repmgr -h -D $WITNESS_PGDATA -f /etc/repmgr/repmgr.conf witness create
It needs information to connect to the master to copy the configuration of the cluster, also it needs to know where it should initialize it's own $PGDATA.
As part of the procees it also ask for the superuser password so it can connect when needed.

0 comments on commit 57aa95f

Please sign in to comment.