From db87ff46fd4ed97986bc72d114370f1b5df974ec Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Mon, 11 Mar 2019 15:02:33 +0900 Subject: [PATCH] doc: document "failover_validation_command" --- doc/repmgrd-configuration.sgml | 52 +++++++++++++++++++++++++++++++--- 1 file changed, 48 insertions(+), 4 deletions(-) diff --git a/doc/repmgrd-configuration.sgml b/doc/repmgrd-configuration.sgml index 553bce94..934a588b 100644 --- a/doc/repmgrd-configuration.sgml +++ b/doc/repmgrd-configuration.sgml @@ -198,6 +198,20 @@ + + + + monitor_interval_secs + + + + + The interval (in seconds, default: 2) to check the availability of the upstream node. + + + + + @@ -229,6 +243,38 @@ + + + failover_validation_command + + + + + User-defined script to execute for an external mechanism to validate the failover + decision made by repmgrd. + + + + This optiom must be identically configurered + on all nodes. + + + + One or both of the following parameter placeholders + should be provided, which will be replaced by repmgrd with the appropriate + value: + + + %n: node ID + + + %a: node name + + + + + + @@ -310,10 +356,8 @@ repmgrd_service_stop_command='sudo systemctl repmgr11 stop' in repmgr.conf. - The default monitoring interval is 2 seconds; this value can be explicitly set using: - - monitor_interval_secs=<seconds> - in repmgr.conf. + Monitoring data is written at the interval defined by + the option (see above). For more details on monitoring, see .