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 # 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 implement a single public ip address across the entire cluster
25 # and multiplex incoming connections across the connected nodes
26 # When using a single public ip you must also specify the public interface!
27 # This makes all incoming traffic go through a single ctdb node which
28 # will then forward the packets out acros the other nodes. This will 
29 # impact performance.
30 # CTDB_SINGLE_PUBLIC_IP=10.1.1.1
31
32 # should ctdb manage starting/stopping the Samba service for you?
33 # default is to not manage Samba
34 # CTDB_MANAGES_SAMBA=yes
35
36 # you may wish to raise the file descriptor limit for ctdb
37 # use a ulimit command here. ctdb needs one file descriptor per
38 # connected client (ie. one per connected client in Samba)
39 #  ulimit -n 10000
40
41 # the NODES file must be specified or ctdb won't start
42 # it should contain a list of IPs that ctdb will use
43 # it must be exactly the same on all cluster nodes
44 # defaults to /etc/ctdb/nodes
45 # CTDB_NODES=/etc/ctdb/nodes
46
47 # the directory to put the local ctdb database files in
48 # defaults to /var/ctdb
49 # CTDB_DBDIR=/var/ctdb
50
51 # the directory to put the local persistent ctdb database files in
52 # defaults to /var/ctdb/persistent
53 # CTDB_DBDIR_PERSISTENT=/var/ctdb/persistent
54
55 # the directory where service specific event scripts are stored
56 # defaults to /etc/ctdb/events.d
57 # CTDB_EVENT_SCRIPT_DIR=/etc/ctdb/events.d
58
59 # the location of the local ctdb socket
60 # defaults to /tmp/ctdb.socket
61 # CTDB_SOCKET=/tmp/ctdb.socket
62
63 # what transport to use. Only tcp is currently supported
64 # defaults to tcp
65 # CTDB_TRANSPORT="tcp"
66
67 # where to log messages
68 # the default is /var/log/log.ctdb
69 # CTDB_LOGFILE=/var/log/log.ctdb
70
71 # what debug level to run at. Higher means more verbose
72 # the default is 0
73 # CTDB_DEBUGLEVEL=0
74
75 # set any default tuning options for ctdb
76 # use CTDB_SET_XXXX=value where XXXX is the name of the tuning
77 # variable
78 # for example
79 #    CTDB_SET_TRAVERSETIMEOUT=60
80 # you can get a list of variables using "ctdb listvars"
81
82
83 # any other options you might want. Run ctdbd --help for a list
84 # CTDB_OPTIONS=
85