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