2 # CTDB configuration for cluster with externally managed public IP addresses
4 # This is the sample configuration for a 3-node CTDB cluster providing file
5 # services via Samba and NFS.
9 # internal network (192.168.1.0/24)
10 # -------+----------------------+-----------------------+----------
13 # eth0 | 192.168.1.1 eth0 | 192.168.1.2 eth0 | 192.168.1.3
14 # +-----+-----+ +-----+-----+ +-----+-----+
16 # | Node 1 | | Node 2 | | Node 3 |
18 # +-----+-----+ +-----+-----+ +-----+-----+
19 # eth1 | 10.1.1.1 eth1 | 10.1.1.2 eth1 | 10.1.1.3
22 # -------+----------------------+-----------------------+----------
23 # public network (10.1.1.0/24)
28 # Each node has a shared storage - /shared
33 # Cluster provides file services on following IP addresses
35 # 10.1.1.101 - 10.1.1.106
37 # Each node also has a fixed IP address on public network. This is used to
38 # communicate to network infrastructure (e.g. DNS, Active Directory, ...).
39 # Make sure that file services are not available on these fixed IP addresses
40 # (e.g. network filtering, using cluster hostname instead of IPs)
43 CTDB_RECOVERY_LOCK=/shared/recovery.lock
48 # ---------- /etc/ctdb/nodes ----------
52 # ---------- /etc/ctdb/nodes ----------
54 CTDB_NODES=/etc/ctdb/nodes
57 # Public addresses configuration
59 # ---------- /etc/ctdb/public_addresses ----------
66 # ---------- /etc/ctdb/public_addresses ----------
68 CTDB_PUBLIC_ADDRESSES=/etc/ctdb/public_addresses
71 # Externally managed public IP addresses:
73 # This indicates that CTDB will not host/failover public IP addresses.
74 # The addresses will need to be assigned/failed-over via some external
75 # means. Use "ctdb moveip" to inform CTDB of the IP
76 # assignment/failover so that CTDB can do connection tracking/killing
79 CTDB_SET_DisableIPFailover=1
82 # ctdb disablescript 10.interface
83 # ctdb enablescript 10.external
86 # Enable logging to syslog
90 CTDB_DEBUGLEVEL=NOTICE
92 # Auto start/stop managed services
93 CTDB_AUTO_STARTSTOP=yes
98 CTDB_MANAGES_SAMBA=yes
99 # CTDB_SAMBA_SKIP_SHARE_CHECK=yes
101 CTDB_MANAGES_WINBIND=yes
107 CTDB_RPCINFO_LOCALHOST="127.0.0.1"
108 # CTDB_MONITOR_NFS_THREAD_COUNT=yes