- 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 # should ctdb manage starting/stopping Winbind service?
37 # if left comented out then it will be autodetected based on smb.conf
38 # CTDB_MANAGES_WINBIND=yes
39
40 # you may wish to raise the file descriptor limit for ctdb
41 # use a ulimit command here. ctdb needs one file descriptor per
42 # connected client (ie. one per connected client in Samba)
43 #  ulimit -n 10000
44
45 # the NODES file must be specified or ctdb won't start
46 # it should contain a list of IPs that ctdb will use
47 # it must be exactly the same on all cluster nodes
48 # defaults to /etc/ctdb/nodes
49 # CTDB_NODES=/etc/ctdb/nodes
50
51 # the directory to put the local ctdb database files in
52 # defaults to /var/ctdb
53 # CTDB_DBDIR=/var/ctdb
54
55 # the directory to put the local persistent ctdb database files in
56 # defaults to /var/ctdb/persistent
57 # CTDB_DBDIR_PERSISTENT=/var/ctdb/persistent
58
59 # the directory where service specific event scripts are stored
60 # defaults to /etc/ctdb/events.d
61 # CTDB_EVENT_SCRIPT_DIR=/etc/ctdb/events.d
62
63 # the location of the local ctdb socket
64 # defaults to /tmp/ctdb.socket
65 # CTDB_SOCKET=/tmp/ctdb.socket
66
67 # what transport to use. Only tcp is currently supported
68 # defaults to tcp
69 # CTDB_TRANSPORT="tcp"
70
71 # where to log messages
72 # the default is /var/log/log.ctdb
73 # CTDB_LOGFILE=/var/log/log.ctdb
74
75 # what debug level to run at. Higher means more verbose
76 # the default is 0
77 # CTDB_DEBUGLEVEL=0
78
79 # set any default tuning options for ctdb
80 # use CTDB_SET_XXXX=value where XXXX is the name of the tuning
81 # variable
82 # for example
83 #    CTDB_SET_TRAVERSETIMEOUT=60
84 # you can get a list of variables using "ctdb listvars"
85
86
87 # any other options you might want. Run ctdbd --help for a list
88 # CTDB_OPTIONS=
89