diff options
| author | Michael Adam <obnox@samba.org> | 2009-03-23 10:07:44 +0100 |
|---|---|---|
| committer | Michael Adam <obnox@samba.org> | 2009-03-23 10:07:44 +0100 |
| commit | a83ed1d7430d96fa2648796ac3520d4e3dce01c9 (patch) | |
| tree | fc81d1cb6eba8efde744d5242b689f456f305999 /ctdb/config/ctdb.sysconfig | |
| parent | fd7121371755d5c693ca85ed4581dd9a4b2f0718 (diff) | |
| parent | 629d5ee1fa9b84150c25c151b3bf0690cb787a90 (diff) | |
| download | samba-a83ed1d7430d96fa2648796ac3520d4e3dce01c9.tar.gz samba-a83ed1d7430d96fa2648796ac3520d4e3dce01c9.tar.xz samba-a83ed1d7430d96fa2648796ac3520d4e3dce01c9.zip | |
Merge commit 'ctdb-ronnie/master'
(This used to be ctdb commit 39a972b0d6d0d70282c25c54a124b67431467e77)
Diffstat (limited to 'ctdb/config/ctdb.sysconfig')
| -rw-r--r-- | ctdb/config/ctdb.sysconfig | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/ctdb/config/ctdb.sysconfig b/ctdb/config/ctdb.sysconfig index 1d0fc4eeed..c3b5f16b14 100644 --- a/ctdb/config/ctdb.sysconfig +++ b/ctdb/config/ctdb.sysconfig @@ -146,6 +146,38 @@ # CTDB_CAPABILITY_RECMASTER=yes # CTDB_CAPABILITY_LMASTER=yes +# NAT-GW configuration +# Some services running on nthe CTDB node may need to originate traffic to +# remote servers before the node is assigned any IP addresses, +# This is problematic since before the node has public addresses the node might +# not be able to route traffic to the public networks. +# One solution is to have static public addresses assigned with routing +# in addition to the public address interfaces, thus guaranteeing that +# a node always can route traffic to the external network. +# This is the most simple solution but it uses up a large number of +# additional ip addresses. +# +# A more complex solution is NAT-GW. +# In this mode we only need one additional ip address for the cluster from +# the exsternal public network. +# One of the nodes in the cluster is elected to be hosting this ip address +# so it can reach the external services. This node is also configured +# to use NAT MASQUERADING for all traffic from the internal private network +# to the external network. This node is the NAT-GW node. +# +# All other nodes are set up with a default rote with a metric of 10 to point +# to the nat-gw node. +# +# The effect of this is that only when a node does not have a public address +# and thus no proper routes to the external world it will instead +# route all packets through the nat-gw node. +# +# NATGW_PUBLIC_IP=10.0.0.227/24 +# NATGW_PUBLIC_IFACE=eth0 +# NATGW_DEFAULT_GATEWAY=10.0.0.1 +# NATGW_PRIVATE_IFACE=eth1 +# NATGW_PRIVATE_NETWORK=10.1.1.0/24 + # where to log messages # the default is /var/log/log.ctdb # CTDB_LOGFILE=/var/log/log.ctdb |
