<div dir="ltr"><div><div><div><div><div>Hi,<br><br></div>To my understanding, Gluster starts volumes TCP services at port 49152 and then increases the port number with every new volume right? I have a 3 replica test environment with only one volume &quot;TEST&quot;<br></div><br></div>This is what I expected :<br><br></div>server0 : glusterd 24007 + glusterfsd 49152<br>server1 : glusterd 24007 + glusterfsd 49152<br></div><div>server2 : glusterd 24007 + glusterfsd 49152<br></div><div><div><div><div><div><div><div><br></div><div>and this is what I really get :<br><br>server0 : glusterd 24007 + glusterfsd 49156<br>server1 : glusterd 24007 + glusterfsd 49152<br>server2 : glusterd 24007 + glusterfsd 49155<br><br></div><div>I launch all my commands (gluster volume start/stop/status/info) from server1.<br><br></div><div>I checked the configuration files under /var/lib/gluster/glusterd/vols/TEST/bricks and the TCP is &quot;hardcoded&quot; for some servers but not for others.<br><br></div><div>server0 :<br>  server0/listen-port=49156<br>  server1/listen-port=0<br></div><div>  server2/listen-port=0<br><br></div><div>server1 :<br></div><div>  server0/listen-port=0<br>  server1/listen-port=49155<br>  server2/listen-port=0<br><br>server2 :<br>  server0/listen-port=0<br>  server1/listen-port=0<br>  server2/listen-port=49152<br><br></div><div>What&#39;s the cause of this?<br><br></div><div>The &quot;brick&quot; logs on all servers say something specific :<br><br>On &quot;server0&quot; :<br>I [graph.c:269:gf_add_cmdline_options] 0-TEST-server: adding option &#39;listen-port&#39; for<br>volume &#39;TEST-server&#39; with value &#39;49156&#39;<br><br></div><div>On &quot;server1&quot; :<br>I [graph.c:269:gf_add_cmdline_options] 0-TEST-server: adding option &#39;listen-port&#39; for<br>volume &#39;TEST-server&#39; with value &#39;49155&#39;<br></div><div><br></div><div>On &quot;server2&quot; :<br>I [graph.c:269:gf_add_cmdline_options] 0-TEST-server: adding option &#39;listen-port&#39; for<br>volume &#39;TEST-server&#39; with value &#39;49152&#39;<br></div><div><br></div><div>I stopped the volume, I edited each brick config file on each server to set the port to &quot;0&quot; and even changed &quot;listen-port&quot; to &quot;transport.socket.listen-port&quot; (see below). Starting the volume again did reset everything the way it was before my changes, even &quot;listen-port&quot;, so I guess that these &quot;brick&quot; files are dynamically created upon volume start.<br></div><div><br></div><div>Did I understand wrong about the port assignment or is there something off with my test setup?<br></div><div><br></div><div>BTW, they all complain about the same thing :<br><br>W [options.c:898:xl_opt_validate] 0-TEST-server: option &#39;listen-port&#39; is deprecated, preferred is &#39;transport.socket.listen-port&#39;, continuing with correction<br></div><div><br>-- <br><div class="gmail_signature">Unix _IS_ user friendly, it&#39;s just selective about who its friends are.</div>
</div></div></div></div></div></div></div></div>