ctdb-scripts: Call out to ctdb_lvs helper from 91.lvs
authorMartin Schwenke <martin@meltin.net>
Fri, 8 Apr 2016 06:21:08 +0000 (16:21 +1000)
committerAmitay Isaacs <amitay@samba.org>
Fri, 15 Apr 2016 03:57:17 +0000 (05:57 +0200)
commitce33a7cb1e6d91b56bc9261efb4bf6d53371f77e
tree7f8c3f918771814734c61b62272b9e3f77cea97d
parentb7376861cbbcdddff9764f622f8c0bc9526b6690
ctdb-scripts: Call out to ctdb_lvs helper from 91.lvs

To keep this commit comprehensible, 91.lvs and the CTDB CLI tool are
temporarily inconsistent.  The tool will be made consistent in a
subsequent commit.

LVS now uses a configuration file specified by CTDB_LVS_NODES and
supports the same slave-only syntax as CTDB_NATGW_NODES.  LVS also
uses new variable CTDB_LVS_PUBLIC_IFACE instead of
CTDB_PUBLIC_INTERFACE.

Update unit tests and documentation.

Note that the --lvs and --single-public-ip daemon options are no
longer used.  These will be removed and relevant documentation
updated in a subsequent commit.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/config/ctdbd_wrapper
ctdb/config/events.d/91.lvs
ctdb/doc/ctdb.7.xml
ctdb/doc/ctdbd.conf.5.xml
ctdb/tests/eventscripts/scripts/local.sh
ctdb/tests/eventscripts/stubs/ctdb
ctdb/tests/eventscripts/stubs/ctdb_lvs [new file with mode: 0755]