From 4f5791ebd03eaec1c7da0865a383175b05102712 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 5 May 2024 19:47:29 +0200 Subject: Adding upstream version 2:4.17.12+dfsg. Signed-off-by: Daniel Baumann --- ctdb/doc/ctdb.sysconfig.5.xml | 240 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 240 insertions(+) create mode 100644 ctdb/doc/ctdb.sysconfig.5.xml (limited to 'ctdb/doc/ctdb.sysconfig.5.xml') diff --git a/ctdb/doc/ctdb.sysconfig.5.xml b/ctdb/doc/ctdb.sysconfig.5.xml new file mode 100644 index 0000000..2618934 --- /dev/null +++ b/ctdb/doc/ctdb.sysconfig.5.xml @@ -0,0 +1,240 @@ + + + + + + + ctdb.sysconfig + 5 + ctdb + CTDB - clustered TDB database + + + + ctdb.sysconfig + CTDB daemon configuration file + + + + DESCRIPTION + + + This file contains configuration that affects the operation of + CTDB. This is a distribution-specific service configuration + file such as /etc/sysconfig/ctdb (Red Hat) + or /etc/default/ctdb (Debian) and is a + shell script (see + sh + 1). + + + + + + + GLOBAL CONFIGURATION + + + + + + CTDB_INIT_STYLE=debian|redhat|suse + + + This is the init style used by the Linux distribution (or + other operating system) being used. This is usually + determined dynamically by checking the system. This + variable is used by the initscript to determine which init + system primitives to use. It is also used by some + eventscripts to choose the name of initscripts for certain + services, since these can vary between distributions. + + + If using CTDB's event scripts are unable to determine an + appropriate default then this option can also be placed in + a relevant + ctdb-script.options + 5 file. + + + Default: NONE. Guessed, based on features of + distribution. + + + + + + + + + + RESOURCE LIMITS + + + + + Maximum number of open files + + + + CTDB can use a lot of file descriptors, especially when used + with Samba. If there are thousands of smbd processes + connected to CTDB when this can mean that thousands of file + descriptors are used. For CTDB, it is often necessary to + increase limit on the maximum number of open files. + + + + The maximum number of open files should be configured using an + operating system mechanism. + + + + + + + systemd + + + + The + LimitNOFILE= + option can be used in a unit/service file increase the + maximum number of open files. See + systemd.exec + 5 for details. + + + + + + + SYSV init + + + + Use a command like ulimit -n + to increase the maximum + number of open files. This command can be put in the + relevant distribution-specific service configuration file. + + + + + + + + + + + Allowing core dumps + + + + Many distributions do not allow core dump files to be + generated by default. To assist with debugging, core files + can be enabled. This should be configured using an operating + system mechanism. + + + + + + + systemd + + + + The LimitCORE=0|unlimited option can + be used in a unit/service file. 0 + disallows core files, unlimited + allows them. maximum number of open files. See + systemd.exec + 5 for details. + + + + + + + SYSV init + + + + Use a command like ulimit -c 0|unlimited + to disable or enable core files as required. This + command can be put in the relevant distribution-specific + service configuration file. + + + + + + + + + + + + FILES + + + /etc/sysconfig/ctdb + /etc/default/ctdb + /usr/local/etc/ctdb/script.options + + + + + SEE ALSO + + ctdbd + 1, + + ctdb-script.options + 5, + + ctdb + 7, + + + + + + + + + This documentation was written by + Martin Schwenke + + + + + 2007 + Andrew Tridgell + Ronnie Sahlberg + + + + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License as + published by the Free Software Foundation; either version 3 of + the License, or (at your option) any later version. + + + This program is distributed in the hope that it will be + useful, but WITHOUT ANY WARRANTY; without even the implied + warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the GNU General Public License for more details. + + + You should have received a copy of the GNU General Public + License along with this program; if not, see + . + + + + + -- cgit v1.2.3