<div dir="ltr"><div><div><div><div>So I've lost a few follicles today, and found what looks like two subtle differences in config file syntax between 2.8.X and 3.0.X. I have a program that auto-generates the rabbitmq.config file, and I'm trying to make it work equally well with 2.8.X and 3.0.X brokers.<br>
<br></div>I'm looking for verification that I'm understanding things, as well as any gotchas that I should be aware of.<br><br><br></div><b>1) Specifying a node as a 'disc' node in the cluster config</b><br>
<br></div>In <a href="http://previous.rabbitmq.com/clustering.html">http://previous.rabbitmq.com/clustering.html</a>, the cluster node list example looks like this:<br><pre class="">{cluster_nodes, ['rabbit@rabbit1', 'rabbit@rabbit2']},</pre>
In the current 3.0.X clustering.html, it show this:<br><pre class="">{cluster_nodes, {['rabbit@rabbit1', 'rabbit@rabbit2', 'rabbit@rabbit3'], disc}},</pre>Note the addition of the 'disc' near the end.<br>
<br></div><div>Is the 'disc' only allowed in 3.0.X config files? I know 'disc' is the default, but in a 3.0.X cluster, I was seeing a node start as 'ram' unless I specified it. But then trying to start a 2.8.7 broker with 'disc" specified resulted in the inability to start it.<br>
<br><br></div><div><b>2) Configuring the Management API port</b><br><br></div><div>In the <a href="http://previous.rabbitmq.com/management.html">http://previous.rabbitmq.com/management.html</a>, the management port looks to be configured like this:<br>
<br><pre class="">{rabbitmq_mochiweb, [{listeners, [{mgmt, [{port, 55555}]}]}]},</pre><br></div><div>whereas in 3.0.X, it looks like the port is configured like this:<br><br><pre class="">{rabbitmq_management, [{listener, [{port, 12345}]}]},<br>
<br></pre>Is the 2.8.7 syntax not allowed in 3.0.X?<br><br></div><div>Thanks for your help,<br><br>Matt<br></div><div><br></div></div>