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)
commit6f1935ea6ddfce431eade6a59176e3f05c062989
tree1759de25a591ff647ddaea8ff2c2c6f9c46a9d09
parente7cc998570164222c4a6004dd904b16977bd684e
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>
(This used to be ctdb commit d66a072d9b120c78c47e726e9f29a3c1cfdd87ce)
ctdb/tools/ctdb.c