Merge commit 'ronnie/master'
[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 present the cluster using a single public ip address to clients
25 # and multiplex clients across all CONNECTED nodes ?
26 # This is based on LVS 
27 # When this is enabled, the entire cluster will present one single ip address
28 # which clients will connect to.
29 # CTDB_LVS_PUBLIC_IP=10.1.1.1
30
31
32 # IPMUX : OBSOLETE use LVS instead
33 # Should ctdb implement a single public ip address across the entire cluster
34 # and multiplex incoming connections across the connected nodes
35 # When using a single public ip you must also specify the public interface!
36 # This makes all incoming traffic go through a single ctdb node which
37 # will then forward the packets out acros the other nodes. This will 
38 # impact performance.
39 # CTDB_SINGLE_PUBLIC_IP=10.1.1.1
40
41 # should ctdb manage starting/stopping the Samba service for you?
42 # default is to not manage Samba
43 # CTDB_MANAGES_SAMBA=yes
44
45 # should we skip the check of whether the shares that samba is exporting
46 # is available or not. This may be useful if there are a huge number of shares
47 # since checking each one of them might take a long time.
48 # CTDB_SAMBA_SKIP_SHARE_CHECK="yes"
49
50 # should we skip checking smb.conf for consistency
51 # CTDB_SAMBA_SKIP_CONF_CHECK="yes"
52
53 # specify which ports we should check that there is a daemon listening to
54 # by default we use testparm and look in smb.conf to figure out.
55 # CTDB_SAMBA_CHECK_PORTS="445"
56
57 # should ctdb manage starting/stopping Winbind service?
58 # if left comented out then it will be autodetected based on smb.conf
59 # CTDB_MANAGES_WINBIND=yes
60
61 # should ctdb manage starting/stopping the VSFTPD service
62 # CTDB_MANAGES_VSFTPD=yes
63
64 # should ctdb manage starting/stopping the ISCSI service
65 # CTDB_MANAGES_ISCSI=yes
66
67 # should ctdb manage starting/stopping the NFS service
68 # CTDB_MANAGES_NFS=yes
69
70
71 # you may wish to raise the file descriptor limit for ctdb
72 # use a ulimit command here. ctdb needs one file descriptor per
73 # connected client (ie. one per connected client in Samba)
74 #  ulimit -n 10000
75
76 # the NODES file must be specified or ctdb won't start
77 # it should contain a list of IPs that ctdb will use
78 # it must be exactly the same on all cluster nodes
79 # defaults to /etc/ctdb/nodes
80 # CTDB_NODES=/etc/ctdb/nodes
81
82 # the directory to put the local ctdb database files in
83 # defaults to /var/ctdb
84 # CTDB_DBDIR=/var/ctdb
85
86 # the directory to put the local persistent ctdb database files in
87 # defaults to /var/ctdb/persistent
88 # CTDB_DBDIR_PERSISTENT=/var/ctdb/persistent
89
90 # the directory where service specific event scripts are stored
91 # defaults to /etc/ctdb/events.d
92 # CTDB_EVENT_SCRIPT_DIR=/etc/ctdb/events.d
93
94 # the location of the local ctdb socket
95 # defaults to /tmp/ctdb.socket
96 # CTDB_SOCKET=/tmp/ctdb.socket
97
98 # what transport to use. Only tcp is currently supported
99 # defaults to tcp
100 # CTDB_TRANSPORT="tcp"
101
102 # When set, this variable makes ctdb monitor the amount of free memory
103 # in the system (the second number in the buffers/cache output from free -m).
104 # If the amount of free memory drops below this treshold the node will become
105 # unhealthy and ctdb and all managed services will be shutdown.
106 # Once this occurs, the administrator needs to find the reason for the OOM
107 # situation, rectify it and restart ctdb with "service ctdb start"
108 # The unit is MByte
109 # CTDB_MONITOR_FREE_MEMORY=100
110
111 # When set to yes, the CTDB node will start in DISABLED mode and not host
112 # any public ip addresses. The administrator needs to explicitely enable
113 # the node with "ctdb enable"
114 # CTDB_START_AS_DISABLED="yes"
115
116 # LMASTER and RECMASTER capabilities.
117 # By default all nodes are capable of both being LMASTER for records and
118 # also for taking the RECMASTER role and perform recovery.
119 # These parameters can be used to disable these two roles on a node.
120 # Note: If there are NO available nodes left in a cluster that can perform
121 # the RECMASTER role, the cluster will not be able to recover from a failure
122 # and will remain in RECOVERY mode until an RECMASTER capable node becomes
123 # available. Same for LMASTER.
124 # These parametersd are useful for scenarios where you have one "remote" node
125 # in a cluster and you do not want the remote node to be fully participating
126 # in the cluster and slow things down.
127 # For that case, set both roles to "no" for the remote node on the remote site
128 # but leave the roles default to "yes" on the primary nodes in the central
129 # datacentre.
130 # CTDB_CAPABILITY_RECMASTER=yes
131 # CTDB_CAPABILITY_LMASTER=yes
132
133 # where to log messages
134 # the default is /var/log/log.ctdb
135 # CTDB_LOGFILE=/var/log/log.ctdb
136
137 # what debug level to run at. Higher means more verbose
138 # the default is 2
139 CTDB_DEBUGLEVEL=2
140
141 # set any default tuning options for ctdb
142 # use CTDB_SET_XXXX=value where XXXX is the name of the tuning
143 # variable
144 # for example
145 #    CTDB_SET_TRAVERSETIMEOUT=60
146 # you can get a list of variables using "ctdb listvars"
147
148
149 # any other options you might want. Run ctdbd --help for a list
150 # CTDB_OPTIONS=
151