1CTDB.SYSCONFIG(5) CTDB - clustered TDB database CTDB.SYSCONFIG(5)
2
3
4
6 ctdb.sysconfig - CTDB daemon configuration file
7
9 This file contains configuration that affects the operation of CTDB.
10 This is a distribution-specific service configuration file such as
11 /etc/sysconfig/ctdb (Red Hat) or /etc/default/ctdb (Debian) and is a
12 shell script (see sh(1)).
13
15 CTDB_INIT_STYLE=debian|redhat|suse
16 This is the init style used by the Linux distribution (or other
17 operating system) being used. This is usually determined
18 dynamically by checking the system. This variable is used by the
19 initscript to determine which init system primitives to use. It is
20 also used by some eventscripts to choose the name of initscripts
21 for certain services, since these can vary between distributions.
22
23 If using CTDB's event scripts are unable to determine an
24 appropriate default then this option can also be placed in a
25 relevant ctdb-script.options(5) file.
26
27 Default: NONE. Guessed, based on features of distribution.
28
30 Maximum number of open files
31 CTDB can use a lot of file descriptors, especially when used with
32 Samba. If there are thousands of smbd processes connected to CTDB when
33 this can mean that thousands of file descriptors are used. For CTDB, it
34 is often necessary to increase limit on the maximum number of open
35 files.
36
37 The maximum number of open files should be configured using an
38 operating system mechanism.
39
40 systemd
41 The LimitNOFILE=LIMIT option can be used in a unit/service file
42 increase the maximum number of open files. See systemd.exec(5) for
43 details.
44
45 SYSV init
46 Use a command like ulimit -n LIMIT to increase the maximum number
47 of open files. This command can be put in the relevant
48 distribution-specific service configuration file.
49
50 Allowing core dumps
51 Many distributions do not allow core dump files to be generated by
52 default. To assist with debugging, core files can be enabled. This
53 should be configured using an operating system mechanism.
54
55 systemd
56 The LimitCORE=0|unlimited option can be used in a unit/service
57 file. 0 disallows core files, unlimited allows them. maximum
58 number of open files. See systemd.exec(5) for details.
59
60 SYSV init
61 Use a command like ulimit -c 0|unlimited to disable or enable core
62 files as required. This command can be put in the relevant
63 distribution-specific service configuration file.
64
66 /etc/sysconfig/ctdb
67 /etc/default/ctdb
68 /etc/ctdb/script.options
69
71 ctdbd(1), ctdb-script.options(5), ctdb(7), http://ctdb.samba.org/
72
74 This documentation was written by Martin Schwenke
75
77 Copyright © 2007 Andrew Tridgell, Ronnie Sahlberg
78
79 This program is free software; you can redistribute it and/or modify it
80 under the terms of the GNU General Public License as published by the
81 Free Software Foundation; either version 3 of the License, or (at your
82 option) any later version.
83
84 This program is distributed in the hope that it will be useful, but
85 WITHOUT ANY WARRANTY; without even the implied warranty of
86 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
87 General Public License for more details.
88
89 You should have received a copy of the GNU General Public License along
90 with this program; if not, see http://www.gnu.org/licenses.
91
92
93
94
95ctdb 11/30/2023 CTDB.SYSCONFIG(5)