On Wed, Jan 25, 2012 at 06:11:50PM +0530, Rahul C S wrote:
> I think we somehow missed it, I have opened a bugzilla for it.
> 
> http://bugzilla.redhat.com/show_bug.cgi?id=784576

Cheers. Is bugzilla the preferred way to submit documentation errata, rather
than [email protected] ?
http://download.gluster.com/pub/gluster/glusterfs/3.2/Documentation/AG/html/pr01s04.html

I noticed that the firewall examples at
http://download.gluster.com/pub/gluster/glusterfs/3.2/Documentation/IG/html/chap-Installation_Guide-Installing.html#sect-Installation_Guide-Installing-RPM
and at
http://download.gluster.com/pub/gluster/glusterfs/3.2/Documentation/IG/html/sect-Installation_Guide-Installing-Source.html
appear to contradict each other.

The first says:

"Ensure that TCP ports 111, 24007, 24008, 24009 (24009 + number of bricks 
across all volumes) are open on all Gluster servers. If you will be using NFS, 
open additional ports 38465 to 38467.
You can use the following chains with iptables:
$ iptables -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 
24007:24047 -j ACCEPT 
$ iptables -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 
111 -j ACCEPT 
$ iptables -A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 
111 -j ACCEPT 
$ iptables -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 
38465:38467 -j ACCEPT
$ service iptables save
$ service iptables restart

Note
You need one open port, starting at 24009 for each brick. This example opens 
enough ports for 20 storage servers and three bricks."

The second says:

"Ensure that TCP ports 111, 24007,24008, 24009-(24009 + number of bricks across 
all volumes) are open on all Gluster servers. If you will be using NFS, open 
additional ports 38465-(38465 + number of Gluster servers).
You can use the following chains with iptables:
$ iptables -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 
24007:24011 -j ACCEPT 
$ iptables -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 
111 -j ACCEPT 
$ iptables -A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 
111 -j ACCEPT 
$ iptables -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 
38465:38485 -j ACCEPT
$ service iptables save
$ service iptables restart
Note
You need one open port, starting at 38465 and incrementing sequentially for 
each Gluster storage server, and one port, starting at 24009 for each bricks. 
This example opens enough ports for 20 storage servers and three bricks."

The iptables examples disagree both on the range of ports required from
24009 (41 vs 5) and the number of ports required from 38465 (3 vs 21)

I also think it would be clearer if it said "20 storage servers each with 3
bricks" rather than "20 storage servers and 3 bricks"

Regards,

Brian.
_______________________________________________
Gluster-users mailing list
[email protected]
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users

Reply via email to