source: vendor/current/ctdb/doc/examples/external.conf

Last change on this file was 988, checked in by Silvan Scherrer, 9 years ago

Samba Server: update vendor to version 4.4.3

File size: 2.9 KB
Line 
1#
2# CTDB configuration for cluster with externally managed public IP addresses
3#
4# This is the sample configuration for a 3-node CTDB cluster providing file
5# services via Samba and NFS.
6#
7# Cluster details:
8#
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)
24#
25#
26# Storage details:
27#
28# Each node has a shared storage - /shared
29#
30#
31# Service details:
32#
33# Cluster provides file services on following IP addresses
34#
35# 10.1.1.101 - 10.1.1.106
36#
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)
41
42
43CTDB_RECOVERY_LOCK=/shared/recovery.lock
44
45#
46# Nodes configuration
47#
48# ---------- /etc/ctdb/nodes ----------
49# 192.168.1.1
50# 192.168.1.2
51# 192.168.1.3
52# ---------- /etc/ctdb/nodes ----------
53#
54CTDB_NODES=/etc/ctdb/nodes
55
56#
57# Public addresses configuration
58#
59# ---------- /etc/ctdb/public_addresses ----------
60# 10.1.1.101/24 eth1
61# 10.1.1.102/24 eth1
62# 10.1.1.103/24 eth1
63# 10.1.1.104/24 eth1
64# 10.1.1.105/24 eth1
65# 10.1.1.106/24 eth1
66# ---------- /etc/ctdb/public_addresses ----------
67#
68CTDB_PUBLIC_ADDRESSES=/etc/ctdb/public_addresses
69
70#
71# Externally managed public IP addresses:
72#
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
77# correctly.
78#
79CTDB_SET_DisableIPFailover=1
80#
81# Also:
82# ctdb disablescript 10.interface
83# ctdb enablescript 10.external
84#
85
86# Enable logging to syslog
87CTDB_LOGGING=syslog
88
89# Default log level
90CTDB_DEBUGLEVEL=NOTICE
91
92# Auto start/stop managed services
93CTDB_AUTO_STARTSTOP=yes
94
95#
96# Samba configuration
97#
98CTDB_MANAGES_SAMBA=yes
99# CTDB_SAMBA_SKIP_SHARE_CHECK=yes
100
101CTDB_MANAGES_WINBIND=yes
102
103#
104# NFS configuration
105#
106CTDB_MANAGES_NFS=yes
107CTDB_RPCINFO_LOCALHOST="127.0.0.1"
Note: See TracBrowser for help on using the repository browser.