explain why you have to have a real ip address as well as the "virtual"
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Thu, 10 Jul 2008 03:40:00 +0000 (13:40 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Thu, 10 Jul 2008 03:40:00 +0000 (13:40 +1000)
ip address for lvs

doc/ctdbd.1
doc/ctdbd.1.html
doc/ctdbd.1.xml

index 858806b706ae859a0f54726085fa7dfa05afee3a..9d6282199f4a59cab31c4e33e9ddba45b9cc47e0 100644 (file)
@@ -395,6 +395,10 @@ Example:
 .fi
 .RE
 .sp
+.PP
+If you use LVS, you must still have a real/permanent address configured for the public interface on each node. This address must be routable and the cluster nodes must be configured so that all traffic back to client hosts are routed through this interface. This is also required in order to allow samba/winbind on the node to talk to the domain controller. (we can not use the lvs ip address to initiate outgoing traffic)
+.PP
+I.e. make sure that you can "ping" both the domain controller and also all of the clients from the node BEFORE you enable LVS. Also make sure that when you ping these hosts that the traffic is routed out through the eth0 interface.
 .SH "REMOTE CLUSTER NODES"
 .PP
 It is possible to have a CTDB cluster that spans across a WAN link. For example where you have a CTDB cluster in your datacentre but you also want to have one additional CTDB node located at a remote branch site. This is similar to how a WAN accelerator works but with the difference that while a WAN\-accelerator often acts as a Proxy or a MitM, in the ctdb remote cluster node configuration the Samba instance at the remote site IS the genuine server, not a proxy and not a MitM, and thus provides 100% correct CIFS semantics to clients.
index f800ba4287a57ee44be5da017956bd08a64493ea..873b025ca0264fde96ad476830c06ac1521cba77 100644 (file)
@@ -374,7 +374,19 @@ You must also specify the "--lvs" command line argument to ctdbd to activete LVS
        CTDB_PUBLIC_INTERFACE=eth0
        CTDB_LVS_PUBLIC_IP=10.0.0.237
        </pre><p>
-       </p></div></div><div class="refsect1" lang="en"><a name="id2529319"></a><h2>REMOTE CLUSTER NODES</h2><p>
+       </p></div><p>
+    If you use LVS, you must still have a real/permanent address configured
+    for the public interface on each node. This address must be routable
+    and the cluster nodes must be configured so that all traffic back to client
+    hosts are routed through this interface. This is also required in order
+    to allow samba/winbind on the node to talk to the domain controller.
+    (we can not use the lvs ip address to initiate outgoing traffic)
+    </p><p>
+    I.e. make sure that you can "ping" both the domain controller and also
+    all of the clients from the node BEFORE you enable LVS. Also make sure
+    that when you ping these hosts that the traffic is routed out through the
+    eth0 interface.
+    </p></div><div class="refsect1" lang="en"><a name="id2529338"></a><h2>REMOTE CLUSTER NODES</h2><p>
 It is possible to have a CTDB cluster that spans across a WAN link. 
 For example where you have a CTDB cluster in your datacentre but you also
 want to have one additional CTDB node located at a remote branch site.
@@ -403,10 +415,10 @@ CTDB_CAPABILITY_RECMASTER=no
     </p><p>
        Verify with the command "ctdb getcapabilities" that that node no longer
        has the recmaster or the lmaster capabilities.
-    </p></div><div class="refsect1" lang="en"><a name="id2529370"></a><h2>SEE ALSO</h2><p>
+    </p></div><div class="refsect1" lang="en"><a name="id2529389"></a><h2>SEE ALSO</h2><p>
       ctdb(1), onnode(1)
       <a href="http://ctdb.samba.org/" target="_top">http://ctdb.samba.org/</a>
-    </p></div><div class="refsect1" lang="en"><a name="id2529383"></a><h2>COPYRIGHT/LICENSE</h2><div class="literallayout"><p><br>
+    </p></div><div class="refsect1" lang="en"><a name="id2529402"></a><h2>COPYRIGHT/LICENSE</h2><div class="literallayout"><p><br>
 Copyright (C) Andrew Tridgell 2007<br>
 Copyright (C) Ronnie sahlberg 2007<br>
 <br>
index cb82ad27f4eccaf07cf036c8a2fc686dc701d51d..937fec37216d525c2153742c98cc220c4a1bc68e 100644 (file)
@@ -719,6 +719,21 @@ You must also specify the "--lvs" command line argument to ctdbd to activete LVS
        </para>
 
     </refsect2>
+
+    <para>
+    If you use LVS, you must still have a real/permanent address configured
+    for the public interface on each node. This address must be routable
+    and the cluster nodes must be configured so that all traffic back to client
+    hosts are routed through this interface. This is also required in order
+    to allow samba/winbind on the node to talk to the domain controller.
+    (we can not use the lvs ip address to initiate outgoing traffic)
+    </para>
+    <para>
+    I.e. make sure that you can "ping" both the domain controller and also
+    all of the clients from the node BEFORE you enable LVS. Also make sure
+    that when you ping these hosts that the traffic is routed out through the
+    eth0 interface.
+    </para>
   </refsect1>