diff options
| author | Amitay Isaacs <amitay@gmail.com> | 2014-04-15 12:27:44 +1000 |
|---|---|---|
| committer | Michael Adam <obnox@samba.org> | 2014-04-23 14:49:07 +0200 |
| commit | a1e1b81b9c0a267cd956ee0a170dd5d609d12891 (patch) | |
| tree | 38e4afcafe91999d4083dc8ce1f5db11efeb880f /ctdb/doc | |
| parent | 1d4fb1b702b8bf4ffdff6fee626c280b174c5aee (diff) | |
| download | samba-a1e1b81b9c0a267cd956ee0a170dd5d609d12891.tar.gz samba-a1e1b81b9c0a267cd956ee0a170dd5d609d12891.tar.xz samba-a1e1b81b9c0a267cd956ee0a170dd5d609d12891.zip | |
ctdb-tools/ctdb: Detach databases only if all nodes disallow client access
This makes sure that AllowClientDBAttach is set to 0 before detaching any
databases.
If someone enables the tunable between checking of tunable and actual
detaching of databases, then they deserve what they get. :-)
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'ctdb/doc')
| -rw-r--r-- | ctdb/doc/ctdb.1.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ctdb/doc/ctdb.1.xml b/ctdb/doc/ctdb.1.xml index 95a67dbeed..433e65018a 100644 --- a/ctdb/doc/ctdb.1.xml +++ b/ctdb/doc/ctdb.1.xml @@ -1576,6 +1576,10 @@ HEALTH: NO-HEALTHY-NODES - ERROR - Backup of corrupted TDB in '/var/ctdb/persist the cluster. This command should only be used when none of the specified database(s) are in use. </para> + <para> + All nodes should be active and tunable AllowClientDBAccess should + be disabled on all nodes before detaching databases. + </para> </refsect2> <refsect2> |
