<div dir="auto"><div><br><div class="gmail_extra"><br><div class="gmail_quote">On 28-Jun-2017 10:02 PM, "Rafał Radecki" <<a href="mailto:radecki.rafal@gmail.com">radecki.rafal@gmail.com</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi All.<div><br></div><div>I am spawning gluster clusters in docker containers and in current architecture for every volume we want to spawn different set of containers possibly on the same group of servers. Ports used by glusterd/glusterfsd/glusterfs are:</div><div><br></div><div>24007</div><div>24008</div><div>49152 and higher</div><div><br></div><div>There is a problem once I try to spawn a second gluster container on the same server since by default i tries to allocate the same ports as above.</div><div><br></div><div>For ports used by bricks (49152 and higher) I found in /etc/glusterfs/glusterd.<wbr>vol:</div><div><br></div><div>option base-port 49152<br></div><div><br></div><div>But I do not see in manpage and help info of glusterd/glusterfsd/glusterfs options to change 24007 and 24008 ports. Is there a known way to do it or is port forwading my only option?</div></div></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">They are not configurable. I also don't see how port forwarding would help you. </div><div dir="auto"><br></div><div dir="auto">What works is giving a different IP to each container and that allows all glusterd processes to bind on 24007.</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>Thanks!</div><div><br></div><div>BR,</div><div>Rafal.</div></div>
<br>______________________________<wbr>_________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://lists.gluster.org/<wbr>mailman/listinfo/gluster-users</a><br></blockquote></div><br></div></div></div>