From: Amitay Isaacs Date: Mon, 7 Apr 2014 02:06:49 +0000 (+1000) Subject: ctdb-doc: Add "ctdb detach" and update "ctdb attach" X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=b681e89a973d738b2f8590c078c7bcb79391469f;p=obnox%2Fsamba%2Fsamba-obnox.git ctdb-doc: Add "ctdb detach" and update "ctdb attach" Signed-off-by: Amitay Isaacs Reviewed-by: Martin Schwenke --- 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 @@ - Commands that reference a database have a - DB argument. This is either a database - name, such as locking.tdb or a database ID - such as "0x42fe72c5". + Commands that reference a database use the following terms: + + + DB + + + This is either a database name, such as + locking.tdb or a database ID such + as "0x42fe72c5". + + + + + DB-LIST + + + A space separated list of at least one + DB. + + + + @@ -1545,7 +1563,18 @@ HEALTH: NO-HEALTHY-NODES - ERROR - Backup of corrupted TDB in '/var/ctdb/persist attach <parameter>DBNAME</parameter> [persistent] - 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. + + + + + detach <parameter>DB-LIST</parameter> + + 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.