summaryrefslogtreecommitdiffstats
path: root/ctdb/include
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2013-08-27 15:04:40 +1000
committerAmitay Isaacs <amitay@gmail.com>2013-09-19 12:54:31 +1000
commit5f0913d321aef2ea349f28b072aa97adf4b818df (patch)
tree487237768cb7d0cab6b1d62a037805a919d2edff /ctdb/include
parente79b750e5e4dcf4862fd0ccb4cee88471fd2fa87 (diff)
downloadsamba-5f0913d321aef2ea349f28b072aa97adf4b818df.tar.gz
samba-5f0913d321aef2ea349f28b072aa97adf4b818df.tar.xz
samba-5f0913d321aef2ea349f28b072aa97adf4b818df.zip
recoverd: New SRVID message CTDB_SRVID_DISABLE_TAKEOVER_RUNS
This implements a superset of CTDB_SRVID_DISABLE_IP_CHECK. It stops the IP checks but also causes any attempted takeover runs to fail and be rescheduled. This is meant to completely stop IP movements. Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 00db4de53a0d86013e79e6577e7e6cf3ef864e56)
Diffstat (limited to 'ctdb/include')
-rw-r--r--ctdb/include/ctdb_protocol.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ctdb/include/ctdb_protocol.h b/ctdb/include/ctdb_protocol.h
index 7b8298b4db..bce00e1b89 100644
--- a/ctdb/include/ctdb_protocol.h
+++ b/ctdb/include/ctdb_protocol.h
@@ -152,6 +152,9 @@ struct ctdb_call_info {
*/
#define CTDB_SRVID_RELOAD_ALL_IPS 0xFB02000000000000LL
+/* A message handler ID to stop takeover runs from occurring */
+#define CTDB_SRVID_DISABLE_TAKEOVER_RUNS 0xFB03000000000000LL
+
/* A message id to ask the recovery daemon to temporarily disable the
public ip checks
*/