diff options
author | Martin Schwenke <martin@meltin.net> | 2014-01-22 17:12:09 +1100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2016-07-28 05:00:17 +0200 |
commit | 87b49c913f8e0a334221706976254d852dbb9bfe (patch) | |
tree | 264c6d8c2dde425739c2d38b4c1e5f49dc991943 /ctdb/doc | |
parent | 0a759bc3ff3887671981e03e1898acf5da692bc2 (diff) | |
download | samba-87b49c913f8e0a334221706976254d852dbb9bfe.tar.gz |
ctdb-daemon: Deletion of IPs is deferred until the next takeover run
This drastically simplifies the code. "ctdb reloadips" behaves the
same, since it causes a takeover run immediately after IPs are
deleted. "ctdb delip" now needs to be followed with an explicit "ctdb
ipreallocate".
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'ctdb/doc')
-rw-r--r-- | ctdb/doc/ctdb.1.xml | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/ctdb/doc/ctdb.1.xml b/ctdb/doc/ctdb.1.xml index 8a5278eb938..7878c4c2b15 100644 --- a/ctdb/doc/ctdb.1.xml +++ b/ctdb/doc/ctdb.1.xml @@ -1044,12 +1044,19 @@ DB Statistics: locking.tdb <refsect2> <title>delip <parameter>IPADDR</parameter></title> <para> - This command is used to remove a public ip from a node during runtime. - If this public ip is currently hosted by the node it being removed from, the ip will first be failed over to another node, if possible, before it is removed. - </para> - <para> - Note that this only updates the runtime instance of ctdb. Any changes will be lost next time ctdb is restarted and the public addresses file is re-read. - If you want this change to be permanent you must also update the public addresses file manually. + This command flags IPADDR for deletion from a node at runtime. + It should be followed by a <command>ctdb + ipreallocate</command>. If IPADDR is currently hosted by the + node it is being removed from, this ensures that the IP will + first be failed over to another node, if possible, and that it + is then actually removed. + </para> + <para> + Note that this only updates the runtime instance of CTDB. Any + changes will be lost next time CTDB is restarted and the + public addresses file is re-read. If you want this change to + be permanent you must also update the public addresses file + manually. </para> </refsect2> |