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

Martin Schwenke martin at meltin.net
Thu Apr 14 10:01:19 UTC 2016


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ctdb.patch
Type: text/x-patch
Size: 119824 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20160414/a74ee1b0/ctdb-0001.bin>


More information about the samba-technical mailing list