From 7f460c88bfabd1ebc63d08b26a31da30d1ab9d41 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Tue, 31 Mar 2020 11:09:00 +0900 Subject: [PATCH] doc: update "node check" examples Also add example output for a standby. --- doc/repmgr-node-check.xml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/doc/repmgr-node-check.xml b/doc/repmgr-node-check.xml index 063851ed..8e454143 100644 --- a/doc/repmgr-node-check.xml +++ b/doc/repmgr-node-check.xml @@ -31,6 +31,7 @@ Example + Execution on the primary server: $ repmgr -f /etc/repmgr.conf node check Node "node1": @@ -40,7 +41,22 @@ Upstream connection: OK (N/A - is primary) Downstream servers: OK (2 of 2 downstream nodes attached) Replication slots: OK (node has no physical replication slots) - Missing replication slots: OK (node has no missing physical replication slots) + Missing replication slots: OK (node has no missing physical replication slots) + Configured data directory: OK (configured "data_directory" is "/var/lib/postgresql/data") + + + Execution on a standby server: + + $ repmgr -f /etc/repmgr.conf node check + Node "node2": + Server role: OK (node is standby) + Replication lag: OK (0 seconds) + WAL archiving: OK (0 pending archive ready files) + Upstream connection: OK (node "node2" (ID: 2) is attached to expected upstream node "node1" (ID: 1)) + Downstream servers: OK (this node has no downstream nodes) + Replication slots: OK (node has no physical replication slots) + Missing physical replication slots: OK (node has no missing physical replication slots) + Configured data directory: OK (configured "data_directory" is "/var/lib/postgresql/data")