1 <?xml version="1.0" encoding="iso-8859-1"?>
3 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
4 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
6 <refentry id="ctdb.sysconfig.5">
9 <refentrytitle>ctdb.sysconfig</refentrytitle>
10 <manvolnum>5</manvolnum>
11 <refmiscinfo class="source">ctdb</refmiscinfo>
12 <refmiscinfo class="manual">CTDB - clustered TDB database</refmiscinfo>
16 <refname>ctdb.sysconfig</refname>
17 <refpurpose>CTDB daemon configuration file</refpurpose>
21 <title>DESCRIPTION</title>
24 This file contains configuration that affects the operation of
25 CTDB. This is a distribution-specific service configuration
26 file such as <filename>/etc/sysconfig/ctdb</filename> (Red Hat)
27 or <filename>/etc/default/ctdb</filename> (Debian) and is a
29 <citerefentry><refentrytitle>sh</refentrytitle>
30 <manvolnum>1</manvolnum></citerefentry>).
43 <term>CTDB_INIT_STYLE=debian|redhat|suse</term>
46 This is the init style used by the Linux distribution (or
47 other operating system) being used. This is usually
48 determined dynamically by checking the system. This
49 variable is used by the initscript to determine which init
50 system primitives to use. It is also used by some
51 eventscripts to choose the name of initscripts for certain
52 services, since these can vary between distributions.
55 If using CTDB's event scripts are unable to determine an
56 appropriate default then this option can also be placed in
58 <citerefentry><refentrytitle>ctdb-script.options</refentrytitle>
59 <manvolnum>5</manvolnum></citerefentry> file.
62 Default: NONE. Guessed, based on features of
78 Maximum number of open files
82 CTDB can use a lot of file descriptors, especially when used
83 with Samba. If there are thousands of smbd processes
84 connected to CTDB when this can mean that thousands of file
85 descriptors are used. For CTDB, it is often necessary to
86 increase limit on the maximum number of open files.
90 The maximum number of open files should be configured using an
91 operating system mechanism.
103 <literal>LimitNOFILE=<option>LIMIT</option></literal>
104 option can be used in a unit/service file increase the
105 maximum number of open files. See
106 <citerefentry><refentrytitle>systemd.exec</refentrytitle>
107 <manvolnum>5</manvolnum></citerefentry> for details.
118 Use a command like <command>ulimit -n
119 <option>LIMIT</option></command> to increase the maximum
120 number of open files. This command can be put in the
121 relevant distribution-specific service configuration file.
136 Many distributions do not allow core dump files to be
137 generated by default. To assist with debugging, core files
138 can be enabled. This should be configured using an operating
150 The <literal>LimitCORE=0|unlimited</literal> option can
151 be used in a unit/service file. <literal>0</literal>
152 disallows core files, <literal>unlimited</literal>
153 allows them. maximum number of open files. See
154 <citerefentry><refentrytitle>systemd.exec</refentrytitle>
155 <manvolnum>5</manvolnum></citerefentry> for details.
166 Use a command like <command>ulimit -c 0|unlimited</command>
167 to disable or enable core files as required. This
168 command can be put in the relevant distribution-specific
169 service configuration file.
184 <member><filename>/etc/sysconfig/ctdb</filename></member>
185 <member><filename>/etc/default/ctdb</filename></member>
186 <member><filename>/usr/local/etc/ctdb/script.options</filename></member>
191 <title>SEE ALSO</title>
193 <citerefentry><refentrytitle>ctdbd</refentrytitle>
194 <manvolnum>1</manvolnum></citerefentry>,
196 <citerefentry><refentrytitle>ctdb-script.options</refentrytitle>
197 <manvolnum>5</manvolnum></citerefentry>,
199 <citerefentry><refentrytitle>ctdb</refentrytitle>
200 <manvolnum>7</manvolnum></citerefentry>,
202 <ulink url="http://ctdb.samba.org/"/>
209 This documentation was written by
216 <holder>Andrew Tridgell</holder>
217 <holder>Ronnie Sahlberg</holder>
221 This program is free software; you can redistribute it and/or
222 modify it under the terms of the GNU General Public License as
223 published by the Free Software Foundation; either version 3 of
224 the License, or (at your option) any later version.
227 This program is distributed in the hope that it will be
228 useful, but WITHOUT ANY WARRANTY; without even the implied
229 warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
230 PURPOSE. See the GNU General Public License for more details.
233 You should have received a copy of the GNU General Public
234 License along with this program; if not, see
235 <ulink url="http://www.gnu.org/licenses"/>.