summaryrefslogtreecommitdiffstats
path: root/ctdb/include
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronniesahlberg@gmail.com>2009-10-06 12:11:32 +1100
committerRonnie Sahlberg <ronniesahlberg@gmail.com>2009-10-06 12:11:32 +1100
commit166b1c97b4cebd54d07ef49ff6c06cb8e1bb9b9c (patch)
treede2272cbfc03a2401092d9c892f3c06300a7a942 /ctdb/include
parent617e393f6b956b123c19f5b932ccc05848083c8e (diff)
downloadsamba-166b1c97b4cebd54d07ef49ff6c06cb8e1bb9b9c.tar.gz
samba-166b1c97b4cebd54d07ef49ff6c06cb8e1bb9b9c.tar.xz
samba-166b1c97b4cebd54d07ef49ff6c06cb8e1bb9b9c.zip
add a new message to ask the recovery daemon to temporarily disable checking ip address consistency.
This is useful when we are moving addresses using moveip in the cluster since otherwise if we collide with the recovery daemons own check we could cause a recovery (This used to be ctdb commit 9c63858c0b22c81eaccb9865a414af0bbb2833d4)
Diffstat (limited to 'ctdb/include')
-rw-r--r--ctdb/include/ctdb.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ctdb/include/ctdb.h b/ctdb/include/ctdb.h
index bf689dc8ab..23d73fbf1d 100644
--- a/ctdb/include/ctdb.h
+++ b/ctdb/include/ctdb.h
@@ -101,7 +101,10 @@ struct ctdb_call_info {
*/
#define CTDB_SRVID_TAKEOVER_RUN 0xFB00000000000000LL
-
+/* A message id to ask the recovery daemon to temporarily disable the
+ public ip checks
+*/
+#define CTDB_SRVID_DISABLE_IP_CHECK 0xFC00000000000000LL
/* used on the domain socket, send a pdu to the local daemon */
#define CTDB_CURRENT_NODE 0xF0000001