From 19190153a079c86ede785e233c6f562aa3377e61 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Fri, 30 Aug 2019 12:07:37 +0900 Subject: [PATCH] doc: clarify prerequisites for executing the "repmgr service" commands Note node accessibility requirements on each command's reference page. --- doc/repmgr-service-pause.xml | 9 +++++++++ doc/repmgr-service-status.xml | 16 ++++++++++++++-- doc/repmgr-service-unpause.xml | 9 +++++++++ 3 files changed, 32 insertions(+), 2 deletions(-) diff --git a/doc/repmgr-service-pause.xml b/doc/repmgr-service-pause.xml index 6a51ce99..78f59478 100644 --- a/doc/repmgr-service-pause.xml +++ b/doc/repmgr-service-pause.xml @@ -42,6 +42,15 @@ + + Prerequisites + + PostgreSQL must be accessible on all nodes (using the conninfo string shown by + repmgr cluster show) + from the node where repmgr service pause is executed. + + + Execution diff --git a/doc/repmgr-service-status.xml b/doc/repmgr-service-status.xml index 92857593..29673031 100644 --- a/doc/repmgr-service-status.xml +++ b/doc/repmgr-service-status.xml @@ -27,6 +27,15 @@ + + Prerequisites + + PostgreSQL should be accessible on all nodes (using the conninfo string shown by + repmgr cluster show) + from the node where repmgr service status is executed. + + + Execution @@ -34,9 +43,12 @@ replication cluster. A valid repmgr.conf file is required. - If PostgreSQL is not running on a node, &repmgr; will not be able to determine the - status of that node's &repmgrd; instance. + If a node is not accessible, or PostgreSQL itself is not running on the node, + &repmgr; will not be able to determine the status of that node's &repmgrd; instance, + and "n/a" will be displayed in the node's repmgrd + column. + After restarting PostgreSQL on any node, the &repmgrd; instance diff --git a/doc/repmgr-service-unpause.xml b/doc/repmgr-service-unpause.xml index 77d9dea1..5ccbcc03 100644 --- a/doc/repmgr-service-unpause.xml +++ b/doc/repmgr-service-unpause.xml @@ -36,6 +36,15 @@ + + Prerequisites + + PostgreSQL must be accessible on all nodes (using the conninfo string shown by + repmgr cluster show) + from the node where repmgr service pause is executed. + + + Execution