summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPrasanna Kumar Kalever <prasanna.kalever@redhat.com>2017-08-24 12:13:39 +0530
committerPrasanna Kumar Kalever <prasanna.kalever@redhat.com>2017-08-24 12:13:39 +0530
commit91d9da62ce95a14264950aaf2c100e089c455646 (patch)
treea3d09ce07e8301740ae15230d9530a84470d3a84
parent5194949db28a91d9aa592f5983e8fb7737401c07 (diff)
rpc: use port 24010 for all gluster-blockd management
It looks like 24006 port is already registered by some other service, and from [1] it looks like 24007 - 24241 are unassigned. Currently, 24007 -> glusterd (tcp) 24008 -> glusterd (rdma) 24009 -> glustereventsd so for gluster-blockd communications lets choose port 24010 [1] https://goo.gl/B2A4RU Change-Id: I7d9f14b9897e479cececd2271ebf8a975d26ef71 Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
-rw-r--r--README.md2
-rw-r--r--utils/utils.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 7f66080..1205a20 100644
--- a/README.md
+++ b/README.md
@@ -62,7 +62,7 @@ managing the command ring buffers
------
**Prerequisites:** *this guide assume we already have*
- [x] *A gluster volume with name 'block-test'*
-- [x] *Open 24007(for glusterd) 24006(gluster-blockd) 3260(iscsi targets) 111(rpcbind) ports and glusterfs service in your firewall*
+- [x] *Open 24007(for glusterd) 24010(gluster-blockd) 3260(iscsi targets) 111(rpcbind) ports and glusterfs service in your firewall*
<b>Daemon</b>: run gluster-blockd on all the nodes
```script
diff --git a/utils/utils.h b/utils/utils.h
index 8e951fd..43ce065 100644
--- a/utils/utils.h
+++ b/utils/utils.h
@@ -30,7 +30,7 @@
# define GB_LOCK_FILE GB_INFODIR "/gluster-blockd.lock"
# define GB_UNIX_ADDRESS GB_INFODIR "/gluster-blockd.socket"
-# define GB_TCP_PORT 24006
+# define GB_TCP_PORT 24010
# define GFAPI_LOG_LEVEL 7