From: Martin Schwenke Date: Tue, 1 May 2018 04:05:32 +0000 (+1000) Subject: ctdb-docs: Move some configuration options out of the debug section X-Git-Tag: ldb-1.4.0~496 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5ee088420e592cdc9de30d1b38188ff27796ae4;p=thirdparty%2Fsamba.git 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 Reviewed-by: Amitay Isaacs --- 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 @@ -183,6 +183,50 @@ + + CTDB_DEBUG_HUNG_SCRIPT=FILENAME + + + FILENAME is a script to run to log debug information when + an event script times out. + + + Default is /usr/local/etc/ctdb/debug-hung-script.sh. + + + + + + CTDB_DEBUG_HUNG_SCRIPT_STACKPAT=REGEXP + + + 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 CTDB_DEBUG_HUNG_SCRIPT. + + + Default is "exportfs|rpcinfo". + + + + + + CTDB_DEBUG_LOCKS=FILENAME + + + FILENAME is a script to run to log debug information when + an CTDB fails to freeze databases during recovery. + + + No default, usually + /usr/local/etc/ctdb/debug_locks.sh. + + + + CTDB_DEBUGLEVEL=DEBUGLEVEL @@ -275,6 +319,18 @@ + + CTDB_MAX_OPEN_FILES=NUM + + + NUM is the maximum number of open files. + + + There is no default. + + + + CTDB_NOSETSCHED=yes|no @@ -387,6 +443,18 @@ + + CTDB_SUPPRESS_COREFILE=yes|no + + + Whether CTDB core files should be suppressed. + + + Default is no. + + + + CTDB_TRANSPORT=tcp|infiniband @@ -1302,6 +1370,45 @@ CTDB_PER_IP_ROUTING_TABLE_ID_HIGH=9000 + + + DATABASE SETUP + + + + CTDB checks the consistency of databases during startup. + + + + Eventscripts + + + 00.ctdb + + + + + + + + CTDB_MAX_CORRUPT_DB_BACKUPS=NUM + + + 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. + + + Default is 10. + + + + + + + SYSTEM RESOURCE MONITORING CONFIGURATION @@ -1405,29 +1512,16 @@ CTDB_PER_IP_ROUTING_TABLE_ID_HIGH=9000 <refsect1> <title> - DEBUG AND TEST + TEST OPTIONS - 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. - - CTDB_DEBUG_HUNG_SCRIPT=FILENAME - - - FILENAME is a script to run to log debug information when - an event script times out. - - - Default is /usr/local/etc/ctdb/debug-hung-script.sh. - - - - CTDB_DEBUG_HUNG_SCRIPT_LOGFILE=FILENAME @@ -1443,37 +1537,6 @@ CTDB_PER_IP_ROUTING_TABLE_ID_HIGH=9000 - - CTDB_DEBUG_HUNG_SCRIPT_STACKPAT=REGEXP - - - 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 CTDB_DEBUG_HUNG_SCRIPT. - - - Default is "exportfs|rpcinfo". - - - - - - CTDB_DEBUG_LOCKS=FILENAME - - - FILENAME is a script to run to log debug information when - an CTDB fails to freeze databases during recovery. - - - No default, usually - /usr/local/etc/ctdb/debug_locks.sh. - - - - CTDB_SYS_ETCDIR=DIRECTORY @@ -1488,34 +1551,6 @@ CTDB_PER_IP_ROUTING_TABLE_ID_HIGH=9000 - - CTDB_MAX_CORRUPT_DB_BACKUPS=NUM - - - 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. - - - Default is 10. - - - - - - CTDB_MAX_OPEN_FILES=NUM - - - NUM is the maximum number of open files. - - - There is no default. - - - - CTDB_RUN_TIMEOUT_MONITOR=yes|no @@ -1529,18 +1564,6 @@ CTDB_PER_IP_ROUTING_TABLE_ID_HIGH=9000 - - CTDB_SUPPRESS_COREFILE=yes|no - - - Whether CTDB core files should be suppressed. - - - Default is no. - - - - CTDB_VALGRIND=yes|no|COMMAND