summaryrefslogtreecommitdiffstats
path: root/ctdb
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2014-04-07 12:06:49 +1000
committerMartin Schwenke <martins@samba.org>2014-04-14 03:52:39 +0200
commitb681e89a973d738b2f8590c078c7bcb79391469f (patch)
tree4e5bd811fc5443d3c884988ce379db5e59749731 /ctdb
parenta3fdb5637688bfed89be7489bacd66d7cefc2923 (diff)
downloadsamba-b681e89a973d738b2f8590c078c7bcb79391469f.tar.gz
samba-b681e89a973d738b2f8590c078c7bcb79391469f.tar.xz
samba-b681e89a973d738b2f8590c078c7bcb79391469f.zip
ctdb-doc: Add "ctdb detach" and update "ctdb attach"
Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'ctdb')
-rw-r--r--ctdb/doc/ctdb.1.xml39
1 files changed, 34 insertions, 5 deletions
diff --git a/ctdb/doc/ctdb.1.xml b/ctdb/doc/ctdb.1.xml
index d5db7022370..5d00961133c 100644
--- a/ctdb/doc/ctdb.1.xml
+++ b/ctdb/doc/ctdb.1.xml
@@ -94,10 +94,28 @@
</para>
<para>
- Commands that reference a database have a
- <parameter>DB</parameter> argument. This is either a database
- name, such as <filename>locking.tdb</filename> or a database ID
- such as "0x42fe72c5".
+ Commands that reference a database use the following terms:
+ <variablelist>
+ <varlistentry>
+ <term>DB</term>
+ <listitem>
+ <para>
+ This is either a database name, such as
+ <filename>locking.tdb</filename> or a database ID such
+ as "0x42fe72c5".
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>DB-LIST</term>
+ <listitem>
+ <para>
+ A space separated list of at least one
+ <parameter>DB</parameter>.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
</para>
</refsect1>
@@ -1545,7 +1563,18 @@ HEALTH: NO-HEALTHY-NODES - ERROR - Backup of corrupted TDB in '/var/ctdb/persist
<refsect2>
<title>attach <parameter>DBNAME</parameter> [persistent]</title>
<para>
- This is a debugging command. This command will make the CTDB daemon create a new CTDB database and attach to it.
+ Create a new CTDB database called DBNAME and attach to it on
+ all nodes.
+ </para>
+ </refsect2>
+
+ <refsect2>
+ <title>detach <parameter>DB-LIST</parameter></title>
+ <para>
+ Detach specified non-persistent database(s) from the cluster. This
+ command will disconnect specified database(s) on all nodes in
+ the cluster. This command should only be used when none of the
+ specified database(s) are in use.
</para>
</refsect2>