summaryrefslogtreecommitdiffstats
path: root/ctdb/include/ctdb_protocol.h
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronniesahlberg@gmail.com>2012-02-28 06:56:04 +1100
committerRonnie Sahlberg <ronniesahlberg@gmail.com>2012-02-28 06:56:04 +1100
commitef2bd0b016f4ff9971e93f3e8ff922afccac46b9 (patch)
tree5077324b2230cd79a476d9820c5d5f74a7e32207 /ctdb/include/ctdb_protocol.h
parent91c9371f2dcae686527c73d4812ade3de63483c4 (diff)
downloadsamba-ef2bd0b016f4ff9971e93f3e8ff922afccac46b9.tar.gz
samba-ef2bd0b016f4ff9971e93f3e8ff922afccac46b9.tar.xz
samba-ef2bd0b016f4ff9971e93f3e8ff922afccac46b9.zip
When adding ips to nodes, set up a deferred rebalance for the whole node to trigger after 60 seconds in case the normal ipreallocated is not sufficient to trigger rebalance.
(This used to be ctdb commit 4340263b219d75c39f8de22abe3f6f1c1ee63ea2)
Diffstat (limited to 'ctdb/include/ctdb_protocol.h')
-rw-r--r--ctdb/include/ctdb_protocol.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ctdb/include/ctdb_protocol.h b/ctdb/include/ctdb_protocol.h
index 4cf27893ff..3e466d83db 100644
--- a/ctdb/include/ctdb_protocol.h
+++ b/ctdb/include/ctdb_protocol.h
@@ -130,6 +130,11 @@ struct ctdb_call_info {
*/
#define CTDB_SRVID_TAKEOVER_RUN 0xFB00000000000000LL
+/* request recovery daemon to rebalance ips for a node.
+ input is uint32_t for the node id.
+*/
+#define CTDB_SRVID_REBALANCE_NODE 0xFB01000000000000LL
+
/* A message id to ask the recovery daemon to temporarily disable the
public ip checks
*/