diff --git a/doc/repmgrd-automatic-failover.xml b/doc/repmgrd-automatic-failover.xml index 35e5ab9d..b8446a26 100644 --- a/doc/repmgrd-automatic-failover.xml +++ b/doc/repmgrd-automatic-failover.xml @@ -500,6 +500,20 @@ INFO: node 3 received notification to rerun promotion candidate election is connected). Alternatively, if child_nodes_disconnect_min_count and more than that number of child nodes disconnects, the script will be triggered. + + + By default, a witness node, if in use, will not be counted as a + child node for the purposes of determining whether to execute + child_nodes_disconnect_command. + + + To enable the witness node to be counted as a child node, set + child_nodes_connected_include_witness in repmgr.conf + to true + (and reload the configuration if &repmgrd; + is running). + + @@ -729,7 +743,10 @@ INFO: node 3 received notification to rerun promotion candidate election the child_nodes_disconnect_command script will be executed when no child nodes are connected. - + + A witness node, if in use, will not be counted as a child node unless + child_nodes_connected_include_witness is set to true. + @@ -765,9 +782,33 @@ INFO: node 3 received notification to rerun promotion candidate election will be executed when no child nodes are connected. + + A witness node, if in use, will not be counted as a child node unless + child_nodes_connected_include_witness is set to true. + + + + + child_nodes_connected_include_witness + + + child_nodes_connected_include_witness + child node disconnection monitoring + + + + Whether to count the witness node (if in use) as a child node when + determining whether to execute child_nodes_disconnect_command. + + + Default to false. + + + + diff --git a/doc/repmgrd-configuration.xml b/doc/repmgrd-configuration.xml index a0fbb370..62dc5bf5 100644 --- a/doc/repmgrd-configuration.xml +++ b/doc/repmgrd-configuration.xml @@ -602,6 +602,41 @@ repmgrd_service_stop_command='sudo systemctl repmgr11 stop' + + + child_nodes_check_interval + + + + + + child_nodes_connected_include_witness + + + + + + child_nodes_connected_min_count + + + + + + child_nodes_disconnect_command + + + + + + child_nodes_disconnect_min_count + + + + + + child_nodes_disconnect_timeout + +