[PATCH] CTDB - move LVS support out of ctdbd and wholly into scripts

Amitay Isaacs amitay at gmail.com
Fri Apr 15 02:54:12 UTC 2016


On Thu, Apr 14, 2016 at 8:01 PM, Martin Schwenke <martin at meltin.net> wrote:

> Some of CTDB's IP takeover code is complicated by the presence of the
> "single public IP" support for LVS.  It will be easier to separate out
> the IP takeover code without any LVS code in the daemon.
>
> This patch series reworks CTDB's LVS support so that it uses a helper
> script and replies on an LVS nodes configuration file instead of any
> daemon-side support, such as single public IP or the LVS capability.
>
> The only dependency is that the LVS eventscript still requires an
> "ipreallocated" event to trigger LVS service changes.  In the future a
> general call-out might be used instead of this event.
>
> Unit tests are added before any real code changes are made.  Additional
> unit tests are added afterwards.
>
> Please review and maybe push...
>
> peace & happiness,
> martin
>

Pushed with a small fixup to document in the last patch.

diff --git a/ctdb/doc/ctdb.1.xml b/ctdb/doc/ctdb.1.xml
index 20dcba0..7cab96f 100644
--- a/ctdb/doc/ctdb.1.xml
+++ b/ctdb/doc/ctdb.1.xml
@@ -800,7 +800,6 @@ pnn:3 10.0.0.14        OK
       <screen>
 RECMASTER: YES
 LMASTER: YES
-LVS: NO
       </screen>

     </refsect2>


Amitay.


More information about the samba-technical mailing list