On 28-Jun-2017 10:02 PM, "Rafał Radecki" <radecki.rafal@xxxxxxxxx> wrote:
Hi All.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:240072400849152 and higherThere 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.For ports used by bricks (49152 and higher) I found in /etc/glusterfs/glusterd.vol: option base-port 49152But 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?
They are not configurable. I also don't see how port forwarding would help you.
What works is giving a different IP to each container and that allows all glusterd processes to bind on 24007.
Thanks!BR,Rafal.
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://lists.gluster.org/mailman/listinfo/gluster-users
_______________________________________________ Gluster-users mailing list Gluster-users@xxxxxxxxxxx http://lists.gluster.org/mailman/listinfo/gluster-users