summaryrefslogtreecommitdiff
path: root/ctdb/doc/ctdb.1.xml
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2016-04-18 14:26:58 +1000
committerAmitay Isaacs <amitay@samba.org>2016-04-25 07:10:15 +0200
commit515e2a2d877b66d7fb3bdf86b3e03cefd16da9f6 (patch)
tree09e92e63b063a55db2e2b8a321b761f53c1a9702 /ctdb/doc/ctdb.1.xml
parent3f3c483196178e36667236c5e665d9b90f6c81cc (diff)
downloadsamba-515e2a2d877b66d7fb3bdf86b3e03cefd16da9f6.tar.gz
ctdb-tools: Add top-level "ctdb natgw" command
This can list the different aspects of status: master, list, status. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'ctdb/doc/ctdb.1.xml')
-rw-r--r--ctdb/doc/ctdb.1.xml65
1 files changed, 65 insertions, 0 deletions
diff --git a/ctdb/doc/ctdb.1.xml b/ctdb/doc/ctdb.1.xml
index 7c3b5519935..fb7c468402d 100644
--- a/ctdb/doc/ctdb.1.xml
+++ b/ctdb/doc/ctdb.1.xml
@@ -491,6 +491,71 @@ pnn:3 192.168.2.203 OK
</refsect2>
<refsect2>
+ <title>natgw {master|list|status}</title>
+ <para>
+ This command shows different aspects of NAT gateway status.
+ For an overview of CTDB's NAT gateway functionality please see
+ the <citetitle>NAT GATEWAY</citetitle> section in
+ <citerefentry><refentrytitle>ctdb</refentrytitle>
+ <manvolnum>7</manvolnum></citerefentry>.
+ </para>
+
+ <variablelist>
+ <varlistentry>
+ <term>master</term>
+ <listitem>
+ <para>
+ Show the PNN and private IP address of the current NAT
+ gateway master node.
+ </para>
+ <para>
+ Example output:
+ </para>
+ <screen>
+1 192.168.2.201
+ </screen>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>list</term>
+ <listitem>
+ <para>
+ List the private IP addresses of nodes in the current
+ NAT gateway group, annotating the master node.
+ </para>
+ <para>
+ Example output:
+ </para>
+ <screen>
+192.168.2.200
+192.168.2.201 MASTER
+192.168.2.202
+192.168.2.203
+ </screen>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>status</term>
+ <listitem>
+ <para>
+ List the nodes in the current NAT gateway group and
+ their status.
+ </para>
+ <para>
+ Example output:
+ </para>
+ <screen>
+pnn:0 192.168.2.200 UNHEALTHY (THIS NODE)
+pnn:1 192.168.2.201 OK
+pnn:2 192.168.2.202 OK
+pnn:3 192.168.2.203 OK
+ </screen>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect2>
+
+ <refsect2>
<title>ping</title>
<para>
This command will "ping" specified CTDB nodes in the cluster