From 09a08b0da38dfea62f7d1351769e347285eff0a9 Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Mon, 13 Sep 2010 15:06:43 +1000 Subject: [PATCH] define and reserve a range of ctdb message ports for use by nfs and iscsi servers (This used to be ctdb commit 84a44ac8ee74dd7af15e378c6cafbedb95feec60) --- ctdb/include/ctdb_protocol.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/ctdb/include/ctdb_protocol.h b/ctdb/include/ctdb_protocol.h index 8c90675ede8..ab6e9f29046 100644 --- a/ctdb/include/ctdb_protocol.h +++ b/ctdb/include/ctdb_protocol.h @@ -135,6 +135,18 @@ struct ctdb_call_info { */ #define CTDB_SRVID_SAMBA_NOTIFY 0xFE00000000000000LL +/* A range of ports reserved for a CTDB NFS server (top 32 bits) + * All ports matching the 32 top bits are reserved for exclusive use by + * NFS server + */ +#define CTDB_SRVID_NFSD_RANGE 0xFE01000000000000LL + +/* A range of ports reserved for a CTDB ISCSI server (top 32 bits) + * All ports matching the 32 top bits are reserved for exclusive use by + * ISCSI server + */ +#define CTDB_SRVID_ISCSID_RANGE 0xFE02000000000000LL + /* used on the domain socket, send a pdu to the local daemon */ #define CTDB_CURRENT_NODE 0xF0000001 /* send a broadcast to all nodes in the cluster, active or not */