summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrishnan Parthasarathi <kparthas@redhat.com>2014-05-23 10:18:35 +0530
committerNiels de Vos <ndevos@redhat.com>2014-05-28 04:55:16 -0700
commitfed8145a9e3bafa6cc326bf7487940791b2efb30 (patch)
tree56d3f4bf39d8520bc10181bfae67860dee724a08
parentf901412f5cd36b673ea1a7a4c4ac25299a68ae5a (diff)
doc: fix brick port ranges in admin guide.
Change-Id: Ie6ac43ea435b7b21ac2b7975cbfe38126b170100 BUG: 1095595 Signed-off-by: Krishnan Parthasarathi <kparthas@redhat.com> Reviewed-on: http://review.gluster.org/7855 Reviewed-by: Humble Devassy Chirammal <humble.devassy@gmail.com> Reviewed-by: Niels de Vos <ndevos@redhat.com> Tested-by: Niels de Vos <ndevos@redhat.com> Reviewed-on: http://review.gluster.org/7910
-rw-r--r--doc/admin-guide/en-US/markdown/admin_settingup_clients.md18
1 files changed, 10 insertions, 8 deletions
diff --git a/doc/admin-guide/en-US/markdown/admin_settingup_clients.md b/doc/admin-guide/en-US/markdown/admin_settingup_clients.md
index 85b28c9525f..ee0db974527 100644
--- a/doc/admin-guide/en-US/markdown/admin_settingup_clients.md
+++ b/doc/admin-guide/en-US/markdown/admin_settingup_clients.md
@@ -53,14 +53,15 @@ To install Gluster Native Client on RPM distribution-based systems
2. Ensure that TCP and UDP ports 24007 and 24008 are open on all
Gluster servers. Apart from these ports, you need to open one port
- for each brick starting from port 24009. For example: if you have
- five bricks, you need to have ports 24009 to 24013 open.
+ for each brick starting from port 49152 (instead of 24009 onwards as
+ with previous releases). The brick ports assignment scheme is now
+ compliant with IANA guidelines. For example: if you have
+ five bricks, you need to have ports 49152 to 49156 open.
You can use the following chains with iptables:
`$ sudo iptables -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 24007:24008 -j ACCEPT `
-
- `$ sudo iptables -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 24009:24014 -j ACCEPT`
+ `$ sudo iptables -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 49152:49156 -j ACCEPT`
> **Note**
>
@@ -128,14 +129,15 @@ To install Gluster Native Client on Debian-based distributions
6. Ensure that TCP and UDP ports 24007 and 24008 are open on all
Gluster servers. Apart from these ports, you need to open one port
- for each brick starting from port 24009. For example: if you have
- five bricks, you need to have ports 24009 to 24013 open.
+ for each brick starting from port 49152 (instead of 24009 onwards as
+ with previous releases). The brick ports assignment scheme is now
+ compliant with IANA guidelines. For example: if you have
+ five bricks, you need to have ports 49152 to 49156 open.
You can use the following chains with iptables:
`$ sudo iptables -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 24007:24008 -j ACCEPT `
-
- `$ sudo iptables -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 24009:24014 -j ACCEPT`
+ `$ sudo iptables -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 49152:49156 -j ACCEPT`
> **Note**
>