[Gluster-users] firewall and brick ports

Marco Zanger mzanger at hexacta.com
Mon Nov 18 20:03:16 UTC 2013


Hello everyone,

I'm trying to enable the firewall and open the ports needed for the volumes that I'll be creating.

We've an script that configures certain amount of volumes across some servers, starting them and mounting them. (Gluster v3.3)

Gluster says that the ports used by the volume bricks are from 24009 up to the amount of bricks... but that doesn't seem to be my Gluster case.

When I create my volumes the ports used are far away from that:

Gluster process  					Port  
------------------------------------------------------------------------------
Brick <SOME-IP>.54:/upload_path                                    	24189  
Brick <SOME-IP>.55:/upload_path                                  	24123 
------------------------------------------------------------------------------
Brick <SOME-IP>.54:/custom_music                         	24190  
Brick <SOME-IP>.55:/custom_music                         	24124  
------------------------------------------------------------------------------
Brick <SOME-IP>.54:/greetings                            		24191  
Brick <SOME-IP>.55:/greetings                            		24125 
------------------------------------------------------------------------------
Brick <SOME-IP>.54:/ivr_greetings                        		24192  
Brick <SOME-IP>.55:/ivr_greetings                        		24126  
------------------------------------------------------------------------------
Brick <SOME-IP>.54:/license_path                                   	24193  
Brick <SOME-IP>.55:/license_path                                   	24127  
------------------------------------------------------------------------------
Brick <SOME-IP>.54:/default_storage                      	24194
Brick <SOME-IP>.55:/default_storage                      	24128  

And If I clear everything and start from scratch again I get other ports for the same volume bricks. So there is no way for me in advance to know which ports will be used. 

Is there any way I can force gluster to use ports from 24009 all the time and use the rest sequentially?

Regards,
Marco



More information about the Gluster-users mailing list