[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: GlusterFS



http://www.gluster.org/community/documentation/index.php/Basic_Gluster_Troubleshooting
Тут в первом пункте намекают: if you have 4 bricks in a volume, port 24009 – 24012 would be used.
Т.е. первый brick - порт 24009, второй - порт 24010.

А вот выдержка из моего макроса shorewall

#GlusterFS fun

######################################################################################
#TARGET  SOURCE         DEST            PROTO   DEST SOURCE     RATE
#                                               PORT PORT(S)    LIMIT


# 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 INPUT -m state --state NEW -m tcp -p tcp --dport 24007:24047 -j ACCEPT
# iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 111 -j ACCEPT
# iptables -A INPUT -m state --state NEW -m udp -p udp --dport 111 -j ACCEPT
# iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 38465:38467 -j ACCEPT

PARAM   -               -               tcp     111,24007:24010
PARAM   -               -               udp     111

#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE


Reply to: