tools/ctdb: Reimplement reloadips
authorMartin Schwenke <martin@meltin.net>
Wed, 28 Aug 2013 05:38:48 +0000 (15:38 +1000)
committerAmitay Isaacs <amitay@gmail.com>
Thu, 19 Sep 2013 02:54:31 +0000 (12:54 +1000)
commitd66a072d9b120c78c47e726e9f29a3c1cfdd87ce
tree7473522811a6ab1d38399619062548273d544339
parent428f800bcdf3dbfe19de8bb36099fbf01ebeaab4
tools/ctdb: Reimplement reloadips

This implementation disables takeover runs on all nodes before trying
to reload IPs.  It also takes "all" or the list of PNNs as an argument
to the command instead of to -n.  -n can still be specified with a
single node indicating that node should be considered the current node
- that might be confusing so could be removed.

This implementation does not use CTDB_SRVID_RELOAD_ALL_IPS, so it can
be removed.

Signed-off-by: Martin Schwenke <martin@meltin.net>
tools/ctdb.c