From 9d0524a008b654eb6301a2d93457175a7b42c366 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Fri, 10 Aug 2018 10:44:50 +0900 Subject: [PATCH] doc: update FAQ Add note about why repmgrd refuses to start up if the upstream is not running. --- doc/appendix-faq.sgml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/doc/appendix-faq.sgml b/doc/appendix-faq.sgml index 5783153e..12678364 100644 --- a/doc/appendix-faq.sgml +++ b/doc/appendix-faq.sgml @@ -314,5 +314,25 @@ + + + <application>repmgrd</application> aborts startup with the error "<literal>upstream node must be running before repmgrd can start</literal>" + + + repmgrd does this to avoid starting up on a replication cluster + which is not in a healthy state. If the upstream is unavailable, repmgrd + may initiate a failover immediately after starting up, which could have unintended side-effects, + particularly if repmgrd is not running on other nodes. + + + In particular, it's possible that the node's local copy of the repmgr.nodes copy + is out-of-date, which may lead to incorrect failover behaviour. + + + The onus is therefore on the adminstrator to manually set the cluster to a stable, healthy state before + starting repmgrd. + + +