diff options
author | Martin Schwenke <martin@meltin.net> | 2018-04-24 15:55:11 +1000 |
---|---|---|
committer | Amitay Isaacs <amitay@samba.org> | 2018-05-17 07:03:04 +0200 |
commit | 87284da7a28172b40504eb50510a8b57da6692a6 (patch) | |
tree | a12ee793ade9b26091c78a226d3c3b9ca6a7cba5 /ctdb/doc | |
parent | b184761829dc291cbed696084c271316dca79607 (diff) | |
download | samba-87284da7a28172b40504eb50510a8b57da6692a6.tar.gz |
ctdb: Drop configuration file ctdbd.conf
Drop function loadconfig(), replacing uses with "load_system_config
ctdb". Drop translation of old-style configuration to new
configuration file. Drop export of debugging variables. Drop
documentation and configuration examples.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Thu May 17 07:03:04 CEST 2018 on sn-devel-144
Diffstat (limited to 'ctdb/doc')
-rw-r--r-- | ctdb/doc/ctdb-script.options.5.xml | 7 | ||||
-rw-r--r-- | ctdb/doc/ctdb-tunables.7.xml | 3 | ||||
-rw-r--r-- | ctdb/doc/ctdb.7.xml | 3 | ||||
-rw-r--r-- | ctdb/doc/ctdbd.conf.5.xml | 401 | ||||
-rw-r--r-- | ctdb/doc/ctdbd_wrapper.1.xml | 10 | ||||
-rw-r--r-- | ctdb/doc/examples/README | 6 | ||||
-rw-r--r-- | ctdb/doc/examples/cluster.conf | 87 | ||||
-rw-r--r-- | ctdb/doc/examples/lvs.conf | 88 | ||||
-rw-r--r-- | ctdb/doc/examples/natgw.conf | 104 |
9 files changed, 0 insertions, 709 deletions
diff --git a/ctdb/doc/ctdb-script.options.5.xml b/ctdb/doc/ctdb-script.options.5.xml index ad7f352f5c7..22c5aa03c5b 100644 --- a/ctdb/doc/ctdb-script.options.5.xml +++ b/ctdb/doc/ctdb-script.options.5.xml @@ -62,13 +62,6 @@ </variablelist> <para> - For short-term backward compatibility the CTDB configuration - file (see - <citerefentry><refentrytitle>ctdbd.conf</refentrytitle> - <manvolnum>5</manvolnum></citerefentry>) is also loaded. - </para> - - <para> These files should include simple shell-style variable assignments and shell-style comments. </para> diff --git a/ctdb/doc/ctdb-tunables.7.xml b/ctdb/doc/ctdb-tunables.7.xml index 317add4b63a..75a3b01c14d 100644 --- a/ctdb/doc/ctdb-tunables.7.xml +++ b/ctdb/doc/ctdb-tunables.7.xml @@ -781,9 +781,6 @@ MonitorInterval=20 <citerefentry><refentrytitle>ctdb.conf</refentrytitle> <manvolnum>5</manvolnum></citerefentry>, - <citerefentry><refentrytitle>ctdbd.conf</refentrytitle> - <manvolnum>5</manvolnum></citerefentry>, - <citerefentry><refentrytitle>ctdb</refentrytitle> <manvolnum>7</manvolnum></citerefentry>, diff --git a/ctdb/doc/ctdb.7.xml b/ctdb/doc/ctdb.7.xml index eb283a834c3..6902e574eae 100644 --- a/ctdb/doc/ctdb.7.xml +++ b/ctdb/doc/ctdb.7.xml @@ -1079,9 +1079,6 @@ CTDB_CAPABILITY_RECMASTER=no <citerefentry><refentrytitle>ctdb.conf</refentrytitle> <manvolnum>5</manvolnum></citerefentry>, - <citerefentry><refentrytitle>ctdbd.conf</refentrytitle> - <manvolnum>5</manvolnum></citerefentry>, - <citerefentry><refentrytitle>ctdb-script.options</refentrytitle> <manvolnum>5</manvolnum></citerefentry>, diff --git a/ctdb/doc/ctdbd.conf.5.xml b/ctdb/doc/ctdbd.conf.5.xml deleted file mode 100644 index 624a84f48ad..00000000000 --- a/ctdb/doc/ctdbd.conf.5.xml +++ /dev/null @@ -1,401 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE refentry - PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" - "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> - -<refentry id="ctdbd.conf.5"> - - <refmeta> - <refentrytitle>ctdbd.conf</refentrytitle> - <manvolnum>5</manvolnum> - <refmiscinfo class="source">ctdb</refmiscinfo> - <refmiscinfo class="manual">CTDB - clustered TDB database</refmiscinfo> - </refmeta> - - <refnamediv> - <refname>ctdbd.conf</refname> - <refpurpose>CTDB daemon configuration file</refpurpose> - </refnamediv> - - <refsect1> - <title>DESCRIPTION</title> - - <para> - This file contains CTDB configuration variables that are affect - the operation of CTDB. The default location of this file is - <filename>/usr/local/etc/ctdb/ctdbd.conf</filename>. - </para> - - <para> - This file is a shell script (see - <citerefentry><refentrytitle>sh</refentrytitle> - <manvolnum>1</manvolnum></citerefentry>) but is usually limited - to simple variable assignments and shell-style comments. - </para> - - <para> - CTDB configuration variables are grouped into several categories below. - </para> - - <para> - Variables defined in this document can also be set in a - distribution-specific configuration file such as - <filename>/etc/sysconfig/ctdb</filename> (Red Hat) or - <filename>/etc/default/ctdb</filename> (Debian). However, these - files should be reserved for variables used by the initscript. - A historical alternative is - <filename>/usr/local/etc/ctdb/sysconfig/ctdb</filename> - this is - deprecated. - </para> - - </refsect1> - - <refsect1> - <title> - DAEMON CONFIGURATION - </title> - - <para> - Variables in this section are processed by - <citerefentry><refentrytitle>ctdbd_wrapper</refentrytitle> - <manvolnum>1</manvolnum></citerefentry> and are converted into - command-line arguments to - <citerefentry><refentrytitle>ctdbd</refentrytitle> - <manvolnum>1</manvolnum></citerefentry>. - </para> - - <para> - Many of these variables are also used by event scripts. - </para> - - <variablelist> - - <varlistentry> - <term>CTDB_CAPABILITY_LMASTER=yes|no</term> - <listitem> - <para> - Defaults to yes. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>CTDB_CAPABILITY_RECMASTER=yes|no</term> - <listitem> - <para> - Defaults to yes. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>CTDB_DBDIR=<parameter>DIRECTORY</parameter></term> - <listitem> - <para> - Defaults to <filename>/usr/local/var/lib/ctdb/volatile</filename>. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>CTDB_DBDIR_PERSISTENT=<parameter>DIRECTORY</parameter></term> - <listitem> - <para> - Defaults to <filename>/usr/local/var/lib/ctdb/persistent</filename>. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>CTDB_DBDIR_STATE=<parameter>DIRECTORY</parameter></term> - <listitem> - <para> - Defaults to <filename>/usr/local/var/lib/ctdb/state</filename>. - </para> - </listitem> - </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_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> - Default is NOTICE. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>CTDB_LOGGING=<parameter>STRING</parameter></term> - <listitem> - <para> - STRING specifies where ctdbd will write its log. The - default is - file:<filename>/usr/local/var/log/log.ctdb</filename>. - </para> - <para> - Valid values are: - </para> - <variablelist> - <varlistentry> - <term>file:<parameter>FILENAME</parameter></term> - <listitem> - <para> - FILENAME where ctdbd will write its log. This is usually - <filename>/usr/local/var/log/log.ctdb</filename>. - </para> - </listitem> - </varlistentry> - <varlistentry> - <term>syslog<optional>:<parameter>METHOD</parameter></optional></term> - <listitem> - <para> - CTDB will log to syslog. By default this will use - the syslog(3) API. - </para> - <para> - If METHOD is specified then it specifies an - extension that causes logging to be done in a - non-blocking fashion. This can be useful under - heavy loads that might cause the syslog daemon to - dequeue messages too slowly, which would otherwise - cause CTDB to block when logging. METHOD must be - one of: - </para> - <variablelist> - <varlistentry> - <term>nonblocking</term> - <listitem> - <para> - CTDB will log to syslog via - <filename>/dev/log</filename> in non-blocking - mode. - </para> - </listitem> - </varlistentry> - <varlistentry> - <term>udp</term> - <listitem> - <para> - CTDB will log to syslog via UDP to - localhost:514. The syslog daemon must be - configured to listen on (at least) - localhost:514. Most implementations will log - the messages against hostname "localhost" - - this is a limit of the implementation for - compatibility with more syslog daemon - implementations. - </para> - </listitem> - </varlistentry> - <varlistentry> - <term>udp-rfc5424</term> - <listitem> - <para> - As with "udp" but messages are sent in RFC5424 - format. This method will log the correct - hostname but is not as widely implemented in - syslog daemons. - </para> - </listitem> - </varlistentry> - </variablelist> - </listitem> - </varlistentry> - </variablelist> - </listitem> - </varlistentry> - - <varlistentry> - <term>CTDB_NOSETSCHED=yes|no</term> - <listitem> - <para> - Defaults to no. - </para> - <para> - Usually CTDB runs with real-time priority. If you are running - CTDB on a platform that does not support real-time priority, - you can set this. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>CTDB_NODE_ADDRESS=<parameter>IPADDR</parameter></term> - <listitem> - <para> - IPADDR is the private IP address that ctdbd will bind to. - </para> - <para> - By default ctdbd will select the first address from the - nodes list that in can bind to. See also the - <citetitle>Private address</citetitle> section in - <citerefentry><refentrytitle>ctdb</refentrytitle> - <manvolnum>7</manvolnum></citerefentry>. - </para> - <para> - This option is only required when automatic address - detection can not be used. This can be the case when - running multiple ctdbd daemons/nodes on the same physical - host (usually for testing), using InfiniBand for the - private network or on Linux when sysctl - net.ipv4.ip_nonlocal_bind=1. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>CTDB_RECOVERY_LOCK=<parameter>LOCK</parameter></term> - <listitem> - <para> - LOCK specifies the cluster-wide mutex used to detect and - prevent a partitioned cluster (or "split brain"). - </para> - <para> - No default, but the default configuration file specifies - <filename>/some/place/on/shared/storage</filename>, which - should be change to a useful value. - </para> - <para> - For information about the recovery lock please see the - <citetitle>RECOVERY LOCK</citetitle> section in - <citerefentry><refentrytitle>ctdb</refentrytitle> - <manvolnum>7</manvolnum></citerefentry>. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>CTDB_SCRIPT_LOG_LEVEL=<parameter>DEBUGLEVEL</parameter></term> - <listitem> - <para> - Defaults to ERR. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>CTDB_START_AS_DISABLED=yes|no</term> - <listitem> - <para> - Default is no. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>CTDB_START_AS_STOPPED=yes|no</term> - <listitem> - <para> - Default is no. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>CTDB_TRANSPORT=tcp|infiniband</term> - <listitem> - <para> - Defaults to tcp. - </para> - </listitem> - </varlistentry> - - </variablelist> - - </refsect1> - - <refsect1> - <title>FILES</title> - - <simplelist> - <member><filename>/usr/local/etc/ctdb/ctdbd.conf</filename></member> - <member><filename>/etc/sysconfig/ctdb</filename></member> - <member><filename>/etc/default/ctdb</filename></member> - </simplelist> - </refsect1> - - <refsect1> - <title>SEE ALSO</title> - <para> - <citerefentry><refentrytitle>ctdbd</refentrytitle> - <manvolnum>1</manvolnum></citerefentry>, - - <citerefentry><refentrytitle>ctdbd_wrapper</refentrytitle> - <manvolnum>1</manvolnum></citerefentry>, - - <citerefentry><refentrytitle>onnode</refentrytitle> - <manvolnum>1</manvolnum></citerefentry>, - - <citerefentry><refentrytitle>ctdb</refentrytitle> - <manvolnum>7</manvolnum></citerefentry>, - - <citerefentry><refentrytitle>ctdb-tunables</refentrytitle> - <manvolnum>7</manvolnum></citerefentry>, - - <ulink url="http://ctdb.samba.org/"/> - </para> - </refsect1> - - <refentryinfo> - <author> - <contrib> - This documentation was written by - Amitay Isaacs, - Martin Schwenke - </contrib> - </author> - - <copyright> - <year>2007</year> - <holder>Andrew Tridgell</holder> - <holder>Ronnie Sahlberg</holder> - </copyright> - <legalnotice> - <para> - 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. - </para> - <para> - 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. - </para> - <para> - You should have received a copy of the GNU General Public - License along with this program; if not, see - <ulink url="http://www.gnu.org/licenses"/>. - </para> - </legalnotice> - </refentryinfo> - -</refentry> diff --git a/ctdb/doc/ctdbd_wrapper.1.xml b/ctdb/doc/ctdbd_wrapper.1.xml index d717b84d2bd..a1b92e3ef89 100644 --- a/ctdb/doc/ctdbd_wrapper.1.xml +++ b/ctdb/doc/ctdbd_wrapper.1.xml @@ -40,13 +40,6 @@ </para> <para> - ctdbd_wrapper constructs command-line options for ctdbd from - configuration variables specified in - <citerefentry><refentrytitle>ctdbd.conf</refentrytitle> - <manvolnum>5</manvolnum></citerefentry>. - </para> - - <para> See <citerefentry><refentrytitle>ctdb</refentrytitle> <manvolnum>7</manvolnum></citerefentry> for an overview of CTDB. </para> @@ -61,9 +54,6 @@ <citerefentry><refentrytitle>ctdb.sysconfig</refentrytitle> <manvolnum>5</manvolnum></citerefentry>, - <citerefentry><refentrytitle>ctdbd.conf</refentrytitle> - <manvolnum>5</manvolnum></citerefentry>, - <citerefentry><refentrytitle>ctdb</refentrytitle> <manvolnum>7</manvolnum></citerefentry>, diff --git a/ctdb/doc/examples/README b/ctdb/doc/examples/README index fc41d16eb4e..a4ea2228b50 100644 --- a/ctdb/doc/examples/README +++ b/ctdb/doc/examples/README @@ -6,12 +6,6 @@ Sample CTDB configuration files: o 11.natgw.options - Options for the 11.natgw event script o 91.lvs.options - Options for the 91.lvs event script -Sample old-style CTDB cluster configurations - - o cluster.conf - Basic cluster setup - o natgw.conf - Basic cluster setup with NAT gateway feature - o external.conf - Basic cluster setup with externally managed public IP addresses - Sample 60.nfs configuration for NFS ganesha - callout script and .check file diff --git a/ctdb/doc/examples/cluster.conf b/ctdb/doc/examples/cluster.conf deleted file mode 100644 index 2ad9b2b08e3..00000000000 --- a/ctdb/doc/examples/cluster.conf +++ /dev/null @@ -1,87 +0,0 @@ -# -# CTDB configuration for simple cluster -# -# This is the sample configuration for a 3-node CTDB cluster providing file -# services via Samba and NFS. -# -# Cluster details: -# -# internal network (192.168.1.0/24) -# -------+----------------------+-----------------------+---------- -# | | | -# | | | -# eth0 | 192.168.1.1 eth0 | 192.168.1.2 eth0 | 192.168.1.3 -# +-----+-----+ +-----+-----+ +-----+-----+ -# | | | | | | -# | Node 1 | | Node 2 | | Node 3 | -# | | | | | | -# +-----+-----+ +-----+-----+ +-----+-----+ -# eth1 | 10.1.1.1 eth1 | 10.1.1.2 eth1 | 10.1.1.3 -# | | | -# | | | -# -------+----------------------+-----------------------+---------- -# public network (10.1.1.0/24) -# -# -# Storage details: -# -# Each node has a shared storage - /shared -# -# -# Service details: -# -# Cluster provides file services on following IP addresses -# -# 10.1.1.101 - 10.1.1.106 -# -# Each node also has a fixed IP address on public network. This is used to -# communicate to network infrastructure (e.g. DNS, Active Directory, ...). -# Make sure that file services are not available on these fixed IP addresses -# (e.g. network filtering, using cluster hostname instead of IPs) - - -CTDB_RECOVERY_LOCK=/shared/recovery.lock - -# -# Nodes configuration -# -# ---------- /etc/ctdb/nodes ---------- -# 192.168.1.1 -# 192.168.1.2 -# 192.168.1.3 -# ---------- /etc/ctdb/nodes ---------- -# -# -# Public addresses configuration -# -# ---------- /etc/ctdb/public_addresses ---------- -# 10.1.1.101/24 eth1 -# 10.1.1.102/24 eth1 -# 10.1.1.103/24 eth1 -# 10.1.1.104/24 eth1 -# 10.1.1.105/24 eth1 -# 10.1.1.106/24 eth1 -# ---------- /etc/ctdb/public_addresses ---------- -# -# Enable logging to syslog -CTDB_LOGGING=syslog - -# Default log level -CTDB_DEBUGLEVEL=NOTICE - -# Auto start/stop managed services -CTDB_AUTO_STARTSTOP=yes - -# -# Samba configuration -# -CTDB_MANAGES_SAMBA=yes -# CTDB_SAMBA_SKIP_SHARE_CHECK=yes - -CTDB_MANAGES_WINBIND=yes - -# -# NFS configuration -# -CTDB_MANAGES_NFS=yes -CTDB_RPCINFO_LOCALHOST="127.0.0.1" diff --git a/ctdb/doc/examples/lvs.conf b/ctdb/doc/examples/lvs.conf deleted file mode 100644 index e9ade9d5db1..00000000000 --- a/ctdb/doc/examples/lvs.conf +++ /dev/null @@ -1,88 +0,0 @@ -# -# CTDB configuration for simple cluster with LVS -# -# This is the sample configuration for a 3-node CTDB cluster providing file -# services via Samba and NFS. -# -# Cluster details: -# -# internal network (192.168.1.0/24) -# -------+----------------------+-----------------------+---------- -# | | | -# | | | -# eth0 | 192.168.1.1 eth0 | 192.168.1.2 eth0 | 192.168.1.3 -# +-----+-----+ +-----+-----+ +-----+-----+ -# | | | | | | -# | Node 1 | | Node 2 | | Node 3 | -# | | | | | | -# +-----+-----+ +-----+-----+ +-----+-----+ -# eth1 | 10.1.1.1 eth1 | 10.1.1.2 eth1 | 10.1.1.3 -# | | | -# | | | -# -------+----------------------+-----------------------+-----+---- -# public network (10.1.1.0/24) | -# | 10.1.1.254 -# o (router) -# -# Storage details: -# -# Each node has a shared storage - /shared -# -# -# Service details: -# -# Cluster provides file services on single IP address -# -# 10.1.1.101 -# -# Since LVS in CTDB uses direct routing, each node needs to have a static IP -# address on the public network. - - -CTDB_RECOVERY_LOCK=/shared/recovery.lock - -# -# Nodes configuration -# -# ---------- /etc/ctdb/nodes ---------- -# 192.168.1.1 -# 192.168.1.2 -# 192.168.1.3 -# ---------- /etc/ctdb/nodes ---------- -# -# Enable logging to syslog -CTDB_LOGGING=syslog - -# Default log level -CTDB_DEBUGLEVEL=NOTICE - -# Auto start/stop managed services -CTDB_AUTO_STARTSTOP=yes - -# -# Samba configuration -# -CTDB_MANAGES_SAMBA=yes -# CTDB_SAMBA_SKIP_SHARE_CHECK=yes - -CTDB_MANAGES_WINBIND=yes - -# -# NFS configuration -# -CTDB_MANAGES_NFS=yes -CTDB_RPCINFO_LOCALHOST="127.0.0.1" - -# -# LVS configuration -# -# ---------- /etc/ctdb/lvs_nodes ---------- -# 192.168.1.1 -# 192.168.1.2 -# 192.168.1.3 -# ---------- /etc/ctdb/lvs_nodes ---------- -# -CTDB_LVS_NODES=/etc/ctdb/lvs_nodes - -CTDB_LVS_PUBLIC_IP=10.1.1.101 -CTDB_LVS_PUBLIC_IFACE=eth1 diff --git a/ctdb/doc/examples/natgw.conf b/ctdb/doc/examples/natgw.conf deleted file mode 100644 index 5fbb2d16fd4..00000000000 --- a/ctdb/doc/examples/natgw.conf +++ /dev/null @@ -1,104 +0,0 @@ -# -# CTDB configuration for simple cluster with NAT gateway -# -# This is the sample configuration for a 3-node CTDB cluster providing file -# services via Samba and NFS. -# -# Cluster details: -# -# internal network (192.168.1.0/24) -# -------+----------------------+-----------------------+---------- -# | | | -# | | | -# eth0 | 192.168.1.1 eth0 | 192.168.1.2 eth0 | 192.168.1.3 -# +-----+-----+ +-----+-----+ +-----+-----+ -# | | | | | | -# | Node 1 | | Node 2 | | Node 3 | -# | | | | | | -# +-----+-----+ +-----+-----+ +-----+-----+ -# eth1 | eth1 | eth1 | -# | | | -# | | | -# -------+----------------------+-----------------------+-----+---- -# public network (10.1.1.0/24) | -# | 10.1.1.254 -# o (router) -# -# Storage details: -# -# Each node has a shared storage - /shared -# -# -# Service details: -# -# Cluster provides file services on following IP addresses -# -# 10.1.1.101 - 10.1.1.106 -# -# When a node is not hosting any IPs, it cannot connect to network -# infrastructure (e.g. DNS, Active Directory, ...). -# -# Using NAT gateway feature of CTDB allows a node not hosting IPs to connect -# to network infrastructure. - - -CTDB_RECOVERY_LOCK=/shared/recovery.lock - -# -# Nodes configuration -# -# ---------- /etc/ctdb/nodes ---------- -# 192.168.1.1 -# 192.168.1.2 -# 192.168.1.3 -# ---------- /etc/ctdb/nodes ---------- -# -# -# Public addresses configuration -# -# ---------- /etc/ctdb/public_addresses ---------- -# 10.1.1.101/24 eth1 -# 10.1.1.102/24 eth1 -# 10.1.1.103/24 eth1 -# 10.1.1.104/24 eth1 -# 10.1.1.105/24 eth1 -# 10.1.1.106/24 eth1 -# ---------- /etc/ctdb/public_addresses ---------- -# -# Enable logging to syslog -CTDB_LOGGING=syslog - -# Default log level -CTDB_DEBUGLEVEL=NOTICE - -# Auto start/stop managed services -CTDB_AUTO_STARTSTOP=yes - -# -# Samba configuration -# -CTDB_MANAGES_SAMBA=yes -# CTDB_SAMBA_SKIP_SHARE_CHECK=yes - -CTDB_MANAGES_WINBIND=yes - -# -# NFS configuration -# -CTDB_MANAGES_NFS=yes -CTDB_RPCINFO_LOCALHOST="127.0.0.1" - -# -# NAT gateway configuration -# -# ---------- /etc/ctdb/natgw_nodes ---------- -# 192.168.1.1 -# 192.168.1.2 -# 192.168.1.3 -# ---------- /etc/ctdb/natgw_nodes ---------- -# -CTDB_NATGW_PUBLIC_IP=10.1.1.121/24 -CTDB_NATGW_PUBLIC_IFACE=eth1 -CTDB_NATGW_DEFAULT_GATEWAY=10.1.1.254 -CTDB_NATGW_PRIVATE_NETWORK=192.168.1.0/24 -CTDB_NATGW_NODES=/etc/ctdb/natgw_nodes |