diff --git a/doc/repmgr-node-rejoin.sgml b/doc/repmgr-node-rejoin.sgml
index 72797755..4704e024 100644
--- a/doc/repmgr-node-rejoin.sgml
+++ b/doc/repmgr-node-rejoin.sgml
@@ -14,6 +14,14 @@
a standby to the current primary, not another standby.
+
+
+
+ If the node is running and needs to be attached to the current primary, use
+ .
+
+
+
This can optionally use pg_rewind to re-integrate a node which has diverged
from the rest of the cluster, typically a failed primary.
diff --git a/doc/repmgr-standby-follow.sgml b/doc/repmgr-standby-follow.sgml
index 3181cf77..f928dcaf 100644
--- a/doc/repmgr-standby-follow.sgml
+++ b/doc/repmgr-standby-follow.sgml
@@ -11,11 +11,25 @@
This command will force a restart of the standby server, which must be
- running. It can only be used to attach a standby to a new primary node.
+ running. It can only be used to attach an active standby to the current primary node
+ (and not to another standby).
To re-add an inactive node to the replication cluster, see
+
+ Example execution:
+
+ $ repmgr -f /etc/repmgr.conf standby follow
+ INFO: setting node 3's primary to node 2
+ NOTICE: restarting server using "pg_ctl -l /var/log/postgres/startup.log -w -D '/var/lib/postgres/data' restart"
+ waiting for server to shut down........ done
+ server stopped
+ waiting for server to start.... done
+ server started
+ NOTICE: STANDBY FOLLOW successful
+ DETAIL: node 3 is now attached to node 2
+
diff --git a/doc/repmgr-standby-promote.sgml b/doc/repmgr-standby-promote.sgml
index f4384e48..0709ae0a 100644
--- a/doc/repmgr-standby-promote.sgml
+++ b/doc/repmgr-standby-promote.sgml
@@ -15,4 +15,16 @@
by using ; if repmgrd
is active, it will handle this automatically.
+
+ Example execution:
+
+ $ repmgr -f /etc/repmgr.conf standby promote
+ NOTICE: promoting standby to primary
+ DETAIL: promoting server "node2" (ID: 2) using "pg_ctl -l /var/log/postgres/startup.log -w -D '/var/lib/postgres/data' promote"
+ server promoting
+ DEBUG: setting node 2 as primary and marking existing primary as failed
+ NOTICE: STANDBY PROMOTE successful
+ DETAIL: server "node2" (ID: 2) was successfully promoted to primary
+
+
diff --git a/doc/repmgrd-demonstration.sgml b/doc/repmgrd-demonstration.sgml
index 1b1a0606..233a4261 100644
--- a/doc/repmgrd-demonstration.sgml
+++ b/doc/repmgrd-demonstration.sgml
@@ -61,7 +61,7 @@
[2017-08-24 23:32:12] [NOTICE] this node is the winner, will now promote self and inform other nodes
INFO: connecting to standby database
NOTICE: promoting standby
- DETAIL: promoting server using '/home/barwick/devel/builds/HEAD/bin/pg_ctl -l /tmp/postgres.5602.log -w -D '/tmp/repmgr-test/node_2/data' promote'
+ DETAIL: promoting server using '/home/barwick/devel/builds/HEAD/bin/pg_ctl -l /var/log/postgres/startup.log -w -D '/tmp/repmgr-test/node_2/data' promote'
INFO: reconnecting to promoted server
NOTICE: STANDBY PROMOTE successful
DETAIL: node 2 was successfully promoted to primary