merge from ronnie
[metze/ctdb/wip.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 # The syntax is one line per public address of the form :
13 #   <ipaddress>/<netmask> <interface>
14 # Example: 10.1.1.1/24 eth0
15 #
16 # CTDB_PUBLIC_ADDRESSES=/etc/ctdb/public_addresses
17
18 # should ctdb manage starting/stopping the Samba service for you?
19 # default is to not manage Samba
20 # CTDB_MANAGES_SAMBA=yes
21
22 # you may wish to raise the file descriptor limit for ctdb
23 # use a ulimit command here. ctdb needs one file descriptor per
24 # connected client (ie. one per connected client in Samba)
25 #  ulimit -n 10000
26
27 # the NODES file must be specified or ctdb won't start
28 # it should contain a list of IPs that ctdb will use
29 # it must be exactly the same on all cluster nodes
30 # defaults to /etc/ctdb/nodes
31 # CTDB_NODES=/etc/ctdb/nodes
32
33 # the directory to put the local ctdb database files in
34 # defaults to /var/ctdb
35 # CTDB_DBDIR=/var/ctdb
36
37 # the directory where service specific event scripts are stored
38 # defaults to /etc/ctdb/events.d
39 # CTDB_EVENT_SCRIPT_DIR=/etc/ctdb/events.d
40
41 # the location of the local ctdb socket
42 # defaults to /tmp/ctdb.socket
43 # CTDB_SOCKET=/tmp/ctdb.socket
44
45 # what transport to use. Only tcp is currently supported
46 # defaults to tcp
47 # CTDB_TRANSPORT="tcp"
48
49 # where to log messages
50 # the default is /var/log/log.ctdb
51 # CTDB_LOGFILE=/var/log/log.ctdb
52
53 # what debug level to run at. Higher means more verbose
54 # the default is 0
55 # CTDB_DEBUGLEVEL=0
56
57 # set any default tuning options for ctdb
58 # use CTDB_SET_XXXX=value where XXXX is the name of the tuning
59 # variable
60 # for example
61 #    CTDB_SET_TRAVERSETIMEOUT=60
62 # you can get a list of variables using "ctdb listvars"
63
64
65 # any other options you might want. Run ctdbd --help for a list
66 # CTDB_OPTIONS=
67