summaryrefslogtreecommitdiff
path: root/ctdb/doc
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2016-07-22 15:40:00 +1000
committerAmitay Isaacs <amitay@samba.org>2016-07-25 21:29:46 +0200
commit7303d7ba868450f3b978835a6f08b31a6f2c0ab3 (patch)
treedd79d2d6c542ba3f465c01c7b1687dd14f46785b /ctdb/doc
parentc0d1e9c90a5b6706ce6a25ce686f58264e74176e (diff)
downloadsamba-7303d7ba868450f3b978835a6f08b31a6f2c0ab3.tar.gz
ctdb-tools: Simplify "ctdb getmonmode" output format
No preamble, just print keyword ENABLED or DISABLED. Fix the documentation to reflect this and remove the text that is simply wrong. Also remove output from "ctdb enablemonitor" and "ctdb disablemonitor" on success. This is just noise. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'ctdb/doc')
-rw-r--r--ctdb/doc/ctdb.1.xml11
1 files changed, 3 insertions, 8 deletions
diff --git a/ctdb/doc/ctdb.1.xml b/ctdb/doc/ctdb.1.xml
index 8296cefbf09..8a5278eb938 100644
--- a/ctdb/doc/ctdb.1.xml
+++ b/ctdb/doc/ctdb.1.xml
@@ -1601,17 +1601,12 @@ HEALTH: NO-HEALTHY-NODES - ERROR - Backup of corrupted TDB in '/usr/local/var/li
<refsect2>
<title>getmonmode</title>
<para>
- This command returns the monutoring mode of a node. The monitoring mode is either ACTIVE or DISABLED. Normally a node will continuously monitor that all other nodes that are expected are in fact connected and that they respond to commands.
- </para>
- <para>
- ACTIVE - This is the normal mode. The node is actively monitoring all other nodes, both that the transport is connected and also that the node responds to commands. If a node becomes unavailable, it will be marked as DISCONNECTED and a recovery is initiated to restore the cluster.
- </para>
- <para>
- DISABLED - This node is not monitoring that other nodes are available. In this mode a node failure will not be detected and no recovery will be performed. This mode is useful when for debugging purposes one wants to attach GDB to a ctdb process but wants to prevent the rest of the cluster from marking this node as DISCONNECTED and do a recovery.
+ This command prints the monitoring mode of a node. This
+ indicates when CTDB is monitoring services on the node. The
+ monitoring mode is either ENABLED or DISABLED.
</para>
</refsect2>
-
<refsect2>
<title>attach <parameter>DBNAME</parameter> [persistent]</title>
<para>