merge from tridge
[sahlberg/ctdb.git] / config / ctdb.sysconfig
1 # Options to ctdbd. This is read by /etc/init.d/ctdb
2
3 # you must specify the location of a shared lock file across all the
4 # nodes. This must be on shared storage
5 # there is no default
6 # CTDB_RECOVERY_LOCK="/some/place/on/shared/storage"
7
8 # should ctdb do IP takeover? If it should, then specify a file
9 # containing the list of public IP addresses that ctdb will manage
10 # Note that these IPs must be different from those in $NODES above
11 # there is no default
12 # CTDB_PUBLIC_ADDRESSES=/etc/ctdb/public_addresses
13
14 # when doing IP takeover you also must specify what network interface
15 # to use for the public addresses
16 # there is no default
17 # CTDB_PUBLIC_INTERFACE=eth0
18
19 # should ctdb manage starting/stopping the Samba service for you?
20 # default is to not manage Samba
21 # CTDB_MANAGES_SAMBA=yes
22
23 # you may wish to raise the file descriptor limit for ctdb
24 # use a ulimit command here. ctdb needs one file descriptor per
25 # connected client (ie. one per connected client in Samba)
26 #  ulimit -n 10000
27
28 # the NODES file must be specified or ctdb won't start
29 # it should contain a list of IPs that ctdb will use
30 # it must be exactly the same on all cluster nodes
31 # defaults to /etc/ctdb/nodes
32 # CTDB_NODES=/etc/ctdb/nodes
33
34 # the directory to put the local ctdb database files in
35 # defaults to /var/ctdb
36 # CTDB_DBDIR=/var/ctdb
37
38 # the script to run when ctdb needs to ask the OS for help,
39 # such as when a IP address needs to be taken or released
40 # defaults to /etc/ctdb/events
41 # CTDB_EVENT_SCRIPT=/etc/ctdb/events
42
43 # the location of the local ctdb socket
44 # defaults to /tmp/ctdb.socket
45 # CTDB_SOCKET=/tmp/ctdb.socket
46
47 # what transport to use. Only tcp is currently supported
48 # defaults to tcp
49 # CTDB_TRANSPORT="tcp"
50
51 # where to log messages
52 # the default is /var/log/log.ctdb
53 # CTDB_LOGFILE=/var/log/log.ctdb
54
55 # what debug level to run at. Higher means more verbose
56 # the default is 0
57 # CTDB_DEBUGLEVEL=0
58
59 # set any default tuning options for ctdb
60 # use CTDB_SET_XXXX=value where XXXX is the name of the tuning
61 # variable
62 # for example
63 #    CTDB_SET_TRAVERSETIMEOUT=60
64 # you can get a list of variables using "ctdb listvars"
65
66
67 # any other options you might want. Run ctdbd --help for a list
68 # CTDB_OPTIONS=
69