summaryrefslogtreecommitdiff
path: root/ctdb/doc
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2018-05-01 14:05:32 +1000
committerMartin Schwenke <martins@samba.org>2018-05-01 13:31:18 +0200
commitf5ee088420e592cdc9de30d1b38188ff27796ae4 (patch)
tree28b7481a6fbb81b59ca3189f4292ce45399f0c2c /ctdb/doc
parentcdd51df35fcf606488764052a7b113dd802ff74b (diff)
downloadsamba-f5ee088420e592cdc9de30d1b38188ff27796ae4.tar.gz
ctdb-docs: Move some configuration options out of the debug section
These aren't test options so improve their visibility. 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/ctdbd.conf.5.xml197
1 files changed, 110 insertions, 87 deletions
diff --git a/ctdb/doc/ctdbd.conf.5.xml b/ctdb/doc/ctdbd.conf.5.xml
index f0f903b81c0..8aa132ba9ee 100644
--- a/ctdb/doc/ctdbd.conf.5.xml
+++ b/ctdb/doc/ctdbd.conf.5.xml
@@ -184,6 +184,50 @@
</varlistentry>
<varlistentry>
+ <term>CTDB_DEBUG_HUNG_SCRIPT=<parameter>FILENAME</parameter></term>
+ <listitem>
+ <para>
+ FILENAME is a script to run to log debug information when
+ an event script times out.
+ </para>
+ <para>
+ Default is <filename>/usr/local/etc/ctdb/debug-hung-script.sh</filename>.
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term>CTDB_DEBUG_HUNG_SCRIPT_STACKPAT=<parameter>REGEXP</parameter></term>
+ <listitem>
+ <para>
+ REGEXP specifies interesting processes for which stack
+ traces should be logged when debugging hung eventscripts
+ and those processes are matched in pstree output. REGEXP
+ is an extended regexp so choices are separated by pipes
+ ('|'). However, REGEXP should not contain parentheses.
+ See also <citetitle>CTDB_DEBUG_HUNG_SCRIPT</citetitle>.
+ </para>
+ <para>
+ Default is "exportfs|rpcinfo".
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term>CTDB_DEBUG_LOCKS=<parameter>FILENAME</parameter></term>
+ <listitem>
+ <para>
+ FILENAME is a script to run to log debug information when
+ an CTDB fails to freeze databases during recovery.
+ </para>
+ <para>
+ No default, usually
+ <filename>/usr/local/etc/ctdb/debug_locks.sh</filename>.
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term>CTDB_DEBUGLEVEL=<parameter>DEBUGLEVEL</parameter></term>
<listitem>
<para>
@@ -276,6 +320,18 @@
</varlistentry>
<varlistentry>
+ <term>CTDB_MAX_OPEN_FILES=<parameter>NUM</parameter></term>
+ <listitem>
+ <para>
+ NUM is the maximum number of open files.
+ </para>
+ <para>
+ There is no default.
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term>CTDB_NOSETSCHED=yes|no</term>
<listitem>
<para>
@@ -388,6 +444,18 @@
</varlistentry>
<varlistentry>
+ <term>CTDB_SUPPRESS_COREFILE=yes|no</term>
+ <listitem>
+ <para>
+ Whether CTDB core files should be suppressed.
+ </para>
+ <para>
+ Default is no.
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term>CTDB_TRANSPORT=tcp|infiniband</term>
<listitem>
<para>
@@ -1304,6 +1372,45 @@ CTDB_PER_IP_ROUTING_TABLE_ID_HIGH=9000
<refsect2>
<title>
+ DATABASE SETUP
+ </title>
+
+ <para>
+ CTDB checks the consistency of databases during startup.
+ </para>
+
+ <refsect3>
+ <title>Eventscripts</title>
+
+ <simplelist>
+ <member><filename>00.ctdb</filename></member>
+ </simplelist>
+
+ </refsect3>
+
+ <variablelist>
+
+ <varlistentry>
+ <term>CTDB_MAX_CORRUPT_DB_BACKUPS=<parameter>NUM</parameter></term>
+ <listitem>
+ <para>
+ NUM is the maximum number of volatile TDB database backups
+ to be kept (for each database) when a corrupt database is
+ found during startup. Volatile TDBs are zeroed during
+ startup so backups are needed to debug any corruption that
+ occurs before a restart.
+ </para>
+ <para>
+ Default is 10.
+ </para>
+ </listitem>
+ </varlistentry>
+
+ </variablelist>
+ </refsect2>
+
+ <refsect2>
+ <title>
SYSTEM RESOURCE MONITORING CONFIGURATION
</title>
@@ -1405,30 +1512,17 @@ CTDB_PER_IP_ROUTING_TABLE_ID_HIGH=9000
<refsect1>
<title>
- DEBUG AND TEST
+ TEST OPTIONS
</title>
<para>
- Variable in this section are for debugging and testing CTDB.
- They should not generally be needed.
+ Variable in this section are for testing CTDB. They should not
+ generally be needed.
</para>
<variablelist>
<varlistentry>
- <term>CTDB_DEBUG_HUNG_SCRIPT=<parameter>FILENAME</parameter></term>
- <listitem>
- <para>
- FILENAME is a script to run to log debug information when
- an event script times out.
- </para>
- <para>
- Default is <filename>/usr/local/etc/ctdb/debug-hung-script.sh</filename>.
- </para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
<term>CTDB_DEBUG_HUNG_SCRIPT_LOGFILE=<parameter>FILENAME</parameter></term>
<listitem>
<para>
@@ -1444,37 +1538,6 @@ CTDB_PER_IP_ROUTING_TABLE_ID_HIGH=9000
</varlistentry>
<varlistentry>
- <term>CTDB_DEBUG_HUNG_SCRIPT_STACKPAT=<parameter>REGEXP</parameter></term>
- <listitem>
- <para>
- REGEXP specifies interesting processes for which stack
- traces should be logged when debugging hung eventscripts
- and those processes are matched in pstree output. REGEXP
- is an extended regexp so choices are separated by pipes
- ('|'). However, REGEXP should not contain parentheses.
- See also <citetitle>CTDB_DEBUG_HUNG_SCRIPT</citetitle>.
- </para>
- <para>
- Default is "exportfs|rpcinfo".
- </para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term>CTDB_DEBUG_LOCKS=<parameter>FILENAME</parameter></term>
- <listitem>
- <para>
- FILENAME is a script to run to log debug information when
- an CTDB fails to freeze databases during recovery.
- </para>
- <para>
- No default, usually
- <filename>/usr/local/etc/ctdb/debug_locks.sh</filename>.
- </para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
<term>CTDB_SYS_ETCDIR=<parameter>DIRECTORY</parameter></term>
<listitem>
<para>
@@ -1489,34 +1552,6 @@ CTDB_PER_IP_ROUTING_TABLE_ID_HIGH=9000
</varlistentry>
<varlistentry>
- <term>CTDB_MAX_CORRUPT_DB_BACKUPS=<parameter>NUM</parameter></term>
- <listitem>
- <para>
- NUM is the maximum number of volatile TDB database backups
- to be kept (for each database) when a corrupt database is
- found during startup. Volatile TDBs are zeroed during
- startup so backups are needed to debug any corruption that
- occurs before a restart.
- </para>
- <para>
- Default is 10.
- </para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term>CTDB_MAX_OPEN_FILES=<parameter>NUM</parameter></term>
- <listitem>
- <para>
- NUM is the maximum number of open files.
- </para>
- <para>
- There is no default.
- </para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
<term>CTDB_RUN_TIMEOUT_MONITOR=yes|no</term>
<listitem>
<para>
@@ -1530,18 +1565,6 @@ CTDB_PER_IP_ROUTING_TABLE_ID_HIGH=9000
</varlistentry>
<varlistentry>
- <term>CTDB_SUPPRESS_COREFILE=yes|no</term>
- <listitem>
- <para>
- Whether CTDB core files should be suppressed.
- </para>
- <para>
- Default is no.
- </para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
<term>CTDB_VALGRIND=yes|no|<parameter>COMMAND</parameter></term>
<listitem>
<para>