<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
We are revisiting geo-replication on some Centos7 systems running
3.8 so I am not sure this observation will help with something
newer.<br>
<br>
But we were getting burned by the systems connect locally using ::1
as the localhost as opposed to 127.0.0.1.<br>
<br>
This was caused by the hosts file having an IPv6 localhost line.<br>
<br>
<br>
<div class="moz-cite-prefix">On 2023-11-03 06:13, Aravinda wrote:<br>
</div>
<blockquote type="cite"
cite="mid:18b94acd017.54278cde50367.4018017295510401631@kadalu.tech">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<div style="font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10pt;">
<div>While creating the Geo-replication session it mounts the
secondary Volume to see the available size. To mount the
secondary volume in Primary, port 24007 and 49152-49664 of the
secondary volume needs to be accessible from the Primary (Only
in the node from where the Geo-rep create command is
executed). This need to be changed to use SSH(bug).
Alternatively use georep setup tool from <a target="_blank"
data-zeanchor="true"
href="https://github.com/aravindavk/gluster-georep-tools"
moz-do-not-send="true" class="moz-txt-link-freetext">https://github.com/aravindavk/gluster-georep-tools</a>.
This tool only uses Port 22 of SSH.<br>
</div>
<div><br>
</div>
<div>Once the Geo-rep session is created, all the communication
and the data transfer happens via SSH(Default port: 22). <br>
</div>
<div><br>
</div>
<div id="Zm-_Id_-Sgn" data-zbluepencil-ignore="true"
data-sigid="3848334000000010003">
<div>Aravinda<br>
</div>
<div>Kadalu Technologies<br>
</div>
<div><a class="moz-txt-link-freetext" href="https://kadalu.tech">https://kadalu.tech</a></div>
</div>
<div><br>
</div>
<div class="zmail_extra_hr" style="border-top: 1px solid
rgb(204, 204, 204); height: 0px; margin-top: 10px;
margin-bottom: 10px; line-height: 0px;"><br>
</div>
<div class="zmail_extra" data-zbluepencil-ignore="true">
<div><br>
</div>
<div id="Zm-_Id_-Sgn1">---- On Tue, 31 Oct 2023 08:40:17 +0530
<b>dev devops <a class="moz-txt-link-rfc2396E" href="mailto:dev.devops12@gmail.com"><dev.devops12@gmail.com></a></b> wrote ---<br>
</div>
<div><br>
</div>
<blockquote id="blockquote_zmail" style="margin: 0px;">
<div>
<div dir="ltr">
<div><span class="highlight"
style="background-color:rgb(248, 248, 248)"><span
class="colour" style="color:rgb(29, 28, 29)"><span
class="font" style="font-family:Slack-Lato,
Slack-Fractions, appleLogo, sans-serif"><span
class="size" style="font-size:15px">Hi All, </span></span></span></span><br>
</div>
<span class="highlight" style="background-color:rgb(248,
248, 248)"><span class="colour" style="color:rgb(29,
28, 29)"><span class="font"
style="font-family:Slack-Lato, Slack-Fractions,
appleLogo, sans-serif"><span class="size"
style="font-size:15px">What are the ports needed
to be opened for Gluster Geo replication ? We
have a very closed setup, I could gather below
info, does all of these ports need to be open on
master and slave for inter communication or just
22 would work since it's using the rsync over
ssh for actual data push ?</span></span></span></span><br
style="box-sizing : inherit; color : rgb(29,28,29);
font-family : Slack-Lato, Slack-Fractions, appleLogo,
sans-serif; font-size : 15px; background-color :
rgb(248,248,248);">
<b style="box-sizing : inherit; color : rgb(29,28,29);
font-family : Slack-Lato, Slack-Fractions, appleLogo,
sans-serif; font-size : 15px; background-color :
rgb(248,248,248);">•</b><span class="highlight"
style="background-color:rgb(248, 248, 248)"><span
class="colour" style="color:rgb(29, 28, 29)"><span
class="font" style="font-family:Slack-Lato,
Slack-Fractions, appleLogo, sans-serif"><span
class="size" style="font-size: 15px; box-sizing:
inherit;"> </span></span></span></span><b
style="box-sizing : inherit; color : rgb(29,28,29);
font-family : Slack-Lato, Slack-Fractions, appleLogo,
sans-serif; font-size : 15px; background-color :
rgb(248,248,248);">Port 22 (TCP):</b><span
class="highlight" style="background-color:rgb(248,
248, 248)"><span class="colour" style="color:rgb(29,
28, 29)"><span class="font"
style="font-family:Slack-Lato, Slack-Fractions,
appleLogo, sans-serif"><span class="size"
style="font-size:15px"> Used by SSH for secure
data communication in Geo-replication.</span></span></span></span><br
style="box-sizing : inherit; color : rgb(29,28,29);
font-family : Slack-Lato, Slack-Fractions, appleLogo,
sans-serif; font-size : 15px; background-color :
rgb(248,248,248);">
<span class="highlight" style="background-color:rgb(248,
248, 248)"><span class="colour" style="color:rgb(29,
28, 29)"><span class="font"
style="font-family:Slack-Lato, Slack-Fractions,
appleLogo, sans-serif"><span class="size"
style="font-size: 15px; box-sizing: inherit;"> </span></span></span></span><b
style="box-sizing : inherit; color : rgb(29,28,29);
font-family : Slack-Lato, Slack-Fractions, appleLogo,
sans-serif; font-size : 15px; background-color :
rgb(248,248,248);">•</b><span class="highlight"
style="background-color:rgb(248, 248, 248)"><span
class="colour" style="color:rgb(29, 28, 29)"><span
class="font" style="font-family:Slack-Lato,
Slack-Fractions, appleLogo, sans-serif"><span
class="size" style="font-size: 15px; box-sizing:
inherit;"> </span></span></span></span><b
style="box-sizing : inherit; color : rgb(29,28,29);
font-family : Slack-Lato, Slack-Fractions, appleLogo,
sans-serif; font-size : 15px; background-color :
rgb(248,248,248);">Port 24007 (TCP):</b><span
class="highlight" style="background-color:rgb(248,
248, 248)"><span class="colour" style="color:rgb(29,
28, 29)"><span class="font"
style="font-family:Slack-Lato, Slack-Fractions,
appleLogo, sans-serif"><span class="size"
style="font-size:15px"> Used by the Gluster
daemon (glusterd) for management and to
intercommunicate with other glusterd instances.</span></span></span></span><br
style="box-sizing : inherit; color : rgb(29,28,29);
font-family : Slack-Lato, Slack-Fractions, appleLogo,
sans-serif; font-size : 15px; background-color :
rgb(248,248,248);">
<span class="highlight" style="background-color:rgb(248,
248, 248)"><span class="colour" style="color:rgb(29,
28, 29)"><span class="font"
style="font-family:Slack-Lato, Slack-Fractions,
appleLogo, sans-serif"><span class="size"
style="font-size: 15px; box-sizing: inherit;"> </span></span></span></span><b
style="box-sizing : inherit; color : rgb(29,28,29);
font-family : Slack-Lato, Slack-Fractions, appleLogo,
sans-serif; font-size : 15px; background-color :
rgb(248,248,248);">•</b><span class="highlight"
style="background-color:rgb(248, 248, 248)"><span
class="colour" style="color:rgb(29, 28, 29)"><span
class="font" style="font-family:Slack-Lato,
Slack-Fractions, appleLogo, sans-serif"><span
class="size" style="font-size: 15px; box-sizing:
inherit;"> </span></span></span></span><b
style="box-sizing : inherit; color : rgb(29,28,29);
font-family : Slack-Lato, Slack-Fractions, appleLogo,
sans-serif; font-size : 15px; background-color :
rgb(248,248,248);">Ports 24008 & 24009 (TCP):</b><span
class="highlight" style="background-color:rgb(248,
248, 248)"><span class="colour" style="color:rgb(29,
28, 29)"><span class="font"
style="font-family:Slack-Lato, Slack-Fractions,
appleLogo, sans-serif"><span class="size"
style="font-size:15px"> Used for GlusterFS data
and metadata operations.</span></span></span></span><br
style="box-sizing : inherit; color : rgb(29,28,29);
font-family : Slack-Lato, Slack-Fractions, appleLogo,
sans-serif; font-size : 15px; background-color :
rgb(248,248,248);">
<span class="highlight" style="background-color:rgb(248,
248, 248)"><span class="colour" style="color:rgb(29,
28, 29)"><span class="font"
style="font-family:Slack-Lato, Slack-Fractions,
appleLogo, sans-serif"><span class="size"
style="font-size: 15px; box-sizing: inherit;"> </span></span></span></span><b
style="box-sizing : inherit; color : rgb(29,28,29);
font-family : Slack-Lato, Slack-Fractions, appleLogo,
sans-serif; font-size : 15px; background-color :
rgb(248,248,248);">•</b><span class="highlight"
style="background-color:rgb(248, 248, 248)"><span
class="colour" style="color:rgb(29, 28, 29)"><span
class="font" style="font-family:Slack-Lato,
Slack-Fractions, appleLogo, sans-serif"><span
class="size" style="font-size: 15px; box-sizing:
inherit;"> </span></span></span></span><b
style="box-sizing : inherit; color : rgb(29,28,29);
font-family : Slack-Lato, Slack-Fractions, appleLogo,
sans-serif; font-size : 15px; background-color :
rgb(248,248,248);">Port 49152 to 49664 (TCP):</b><span
class="highlight" style="background-color:rgb(248,
248, 248)"><span class="colour" style="color:rgb(29,
28, 29)"><span class="font"
style="font-family:Slack-Lato, Slack-Fractions,
appleLogo, sans-serif"><span class="size"
style="font-size:15px"> Used by GlusterFS for
client connections.<br>
I see some monitoring happening on the tcp ports
for slave volume, is this communication secure
? </span></span></span></span></div>
________<br>
<br>
<br>
<br>
Community Meeting Calendar: <br>
<br>
Schedule - <br>
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC <br>
Bridge: <a href="https://meet.google.com/cpu-eiue-hvk"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">https://meet.google.com/cpu-eiue-hvk</a>
<br>
Gluster-users mailing list <br>
<a href="mailto:Gluster-users@gluster.org" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">Gluster-users@gluster.org</a>
<br>
<a
href="https://lists.gluster.org/mailman/listinfo/gluster-users"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">https://lists.gluster.org/mailman/listinfo/gluster-users</a>
<br>
</div>
</blockquote>
</div>
<div><br>
</div>
</div>
<br>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">________
Community Meeting Calendar:
Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: <a class="moz-txt-link-freetext" href="https://meet.google.com/cpu-eiue-hvk">https://meet.google.com/cpu-eiue-hvk</a>
Gluster-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>
<a class="moz-txt-link-freetext" href="https://lists.gluster.org/mailman/listinfo/gluster-users">https://lists.gluster.org/mailman/listinfo/gluster-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Alvin Starr || land: (647)478-6285
Netvel Inc. || Cell: (416)806-0133
<a class="moz-txt-link-abbreviated" href="mailto:alvin@netvel.net">alvin@netvel.net</a> ||
</pre>
</body>
</html>