diff options
author | Krishnan Parthasarathi <kparthas@redhat.com> | 2014-05-23 10:18:35 +0530 |
---|---|---|
committer | Niels de Vos <ndevos@redhat.com> | 2014-05-23 07:47:15 -0700 |
commit | 1d8ad8a993a256155032787b34f16d07843482ef (patch) | |
tree | f4552b277b4f366d4095e0fc453e6e22c876df69 /doc | |
parent | 660c5dbba0d639b0ce8a13f69a05771cf895fb64 (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>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/admin-guide/en-US/markdown/admin_settingup_clients.md | 16 |
1 files changed, 10 insertions, 6 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 c271eac67da..30ec4415513 100644 --- a/doc/admin-guide/en-US/markdown/admin_settingup_clients.md +++ b/doc/admin-guide/en-US/markdown/admin_settingup_clients.md @@ -49,13 +49,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** > @@ -121,13 +123,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** > |