On 05/05/2014 09:24 AM, Thing wrote:> Hi,I am trying to install gluster on rhel7rc, I seem to have done so
> ok, status says gluster is running. I have opened up iptables for
> 24007 and 24009~24012 and portmapper and 34865 : 7
>
> I am unable to probe to peer 2. telnet to 24007 is refused. Gluster
> looks to be running. I have set selinux to permissive.
>
> Im out of ideas why it would be refused...I have looked at the
> troubleshooting guide...cant see anything Ive missed.
>
> Im new to rhel7 so its possible its a miss config on a rhel7 but I
> have nothing to go on.
I am new to iptable rules, so not sure what do you mean by "34865 :
7:".
@ports:
glusterd's management port is 24007/tcp and 24008/tcp if you use rdma.
Bricks (glusterfsd) use 24009 & up for <3.4 and 49152 & up for 3.4.
(Deleted volumes do not reset this counter.) Additionally it will listen
on 38465-38467/tcp for nfs, also 38468 for NLM since 3.3.0. NFS also
depends on rpcbind/portmap on port 111 and 2049 since 3.4.
I installed RHEL RC candidate and performed peer probe (below steps) and
it worked fine for me. So I think it is your iptable rules causing
trouble in your case.
cd /etc/yum.repos.d/
wget
http://download.gluster.org/pub/gluster/glusterfs/LATEST/RHEL/glusterfs-epel.repo
yum install glusterfs-server
setenforce 0
getenforce
iptables -F
gluster v info
systemctl start glusterd
gluster v info
gluster peer probe <IP>
gluster peer status
Thanks,
Lala