s3:utils: Fix 'Usage:' for 'net ads enctypes'
[samba4-gss.git] / ctdb / doc / examples / ctdb.conf
blob3a8ccc658b899a33cab36139c97e40f7d8e5ae73
2 # CTDB configuration for simple cluster
4 # This is the sample configuration for a 3-node CTDB cluster providing file
5 # services via Samba and NFS.
7 # Cluster details:
9 #                internal network (192.168.1.0/24)
10 #   -------+----------------------+-----------------------+----------
11 #          |                      |                       |
12 #          |                      |                       |
13 #     eth0 | 192.168.1.1     eth0 | 192.168.1.2      eth0 | 192.168.1.3
14 #    +-----+-----+          +-----+-----+           +-----+-----+
15 #    |           |          |           |           |           |
16 #    |  Node 1   |          |  Node 2   |           |  Node 3   |
17 #    |           |          |           |           |           |
18 #    +-----+-----+          +-----+-----+           +-----+-----+
19 #     eth1 | 10.1.1.1        eth1 | 10.1.1.2         eth1 | 10.1.1.3
20 #          |                      |                       |
21 #          |                      |                       |
22 #   -------+----------------------+-----------------------+----------
23 #                  public network (10.1.1.0/24)
26 # Storage details:
28 #  Each node has a shared storage - /shared
31 # Service details:
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)
42 [logging]
43         # Enable logging to syslog
44         location = syslog
46         # Default log level
47         log level = NOTICE
49 [cluster]
50         cluster lock = /shared/cluster.lock
53 # Nodes configuration
55 # ---------- /etc/ctdb/nodes ----------
56 # 192.168.1.1
57 # 192.168.1.2
58 # 192.168.1.3
59 # ---------- /etc/ctdb/nodes ----------
62 # Public addresses configuration
64 # ---------- /etc/ctdb/public_addresses ----------
65 # 10.1.1.101/24 eth1
66 # 10.1.1.102/24 eth1
67 # 10.1.1.103/24 eth1
68 # 10.1.1.104/24 eth1
69 # 10.1.1.105/24 eth1
70 # 10.1.1.106/24 eth1
71 # ---------- /etc/ctdb/public_addresses ----------
73 # Event script configuration - see *.options examples