Chapter 3. Considerations for Red Hat Gluster Storage
3.1. Verifying Port Access
This chapter provides information on the ports that must be open for Red Hat Gluster Storage Server and the
glusterd
service.
The Red Hat Gluster Storage glusterFS daemon
glusterd
enables dynamic configuration changes to Red Hat Gluster Storage volumes, without needing to restart servers or remount storage volumes on clients.
Red Hat Gluster Storage Server uses the listed ports. You must ensure that the firewall settings do not prevent access to these ports.
Firewall configuration tools differ between Red Hat Entperise Linux 6 and Red Hat Enterprise Linux 7.
For Red Hat Enterprise Linux 6, use the
iptables
command to open a port:
# iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 5667 -j ACCEPT # service iptables save
For Red Hat Enterprise Linux 7, if default ports are in use, it is usually simpler to add a service rather than open a port:
# firewall-cmd --zone=zone_name --add-service=glusterfs # firewall-cmd --zone=zone_name --add-service=glusterfs --permanent
However, if the default ports are already in use, you can open a specific port with the following command:
# firewall-cmd --zone=zone_name --add-port=5667/tcp # firewall-cmd --zone=zone_name --add-port=5667/tcp --permanent
Port Number | Usage |
---|---|
22 | For sshd used by geo-replication. |
111 | For rpc port mapper. |
139 | For netbios service. |
445 | For CIFS protocol. |
2049 | For glusterFS's exports (nfsd process). |
24007 | For glusterd (for management). |
24009 - 24108 | For client communication with Red Hat Gluster Storage 2.0. |
38465 | For gluster-NFS mount protocol. |
38466 | For gluster-NFS mount protocol. |
38468 | For gluster-NFS Network Lock Manager (NLM). |
38469 | For gluster-NFS's ACL support. |
39543 | For oVirt (Red Hat Gluster Storage Console). |
49152 - 49251 | For client communication with Red Hat Gluster Storage 2.1 and for brick processes depending on the availability of the ports. The total number of ports required to be open depends on the total number of bricks exported on the machine. |
54321 | For VDSM (Red Hat Gluster Storage Console). |
55863 | For oVirt (Red Hat Gluster Storage Console). |
Port Number | Usage |
---|---|
443 | For HTTPS request. |
6010 | For Object Server. |
6011 | For Container Server. |
6012 | For Account Server. |
8080 | For Proxy Server. |
Port Number | Usage |
---|---|
80 | For HTTP protocol (required only if Nagios server is running on a Red Hat Gluster Storage node). |
443 | For HTTPS protocol (required only for Nagios server). |
5667 | For NSCA service (required only if Nagios server is running on a Red Hat Gluster Storage node). |
5666 | For NRPE service (required in all Red Hat Gluster Storage nodes). |
Port Number | Usage |
---|---|
111 | For RPC Bind. |
For more information regarding port and firewall details for NFS-Ganesha, refer Section 6.2.3.2.1, “Port and Firewall Information for NFS-Ganesha”