[rabbitmq-discuss] Config file syntax changes between 2.8.7 and 3.0.X
Matt Pietrek
mpietrek at skytap.com
Wed Feb 6 22:12:57 GMT 2013
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.
I'm looking for verification that I'm understanding things, as well as any
gotchas that I should be aware of.
*1) Specifying a node as a 'disc' node in the cluster config*
In http://previous.rabbitmq.com/clustering.html, the cluster node list
example looks like this:
{cluster_nodes, ['rabbit at rabbit1', 'rabbit at rabbit2']},
In the current 3.0.X clustering.html, it show this:
{cluster_nodes, {['rabbit at rabbit1', 'rabbit at rabbit2', 'rabbit at rabbit3'], disc}},
Note the addition of the 'disc' near the end.
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.
*2) Configuring the Management API port*
In the http://previous.rabbitmq.com/management.html, the management port
looks to be configured like this:
{rabbitmq_mochiweb, [{listeners, [{mgmt, [{port, 55555}]}]}]},
whereas in 3.0.X, it looks like the port is configured like this:
{rabbitmq_management, [{listener, [{port, 12345}]}]},
Is the 2.8.7 syntax not allowed in 3.0.X?
Thanks for your help,
Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130206/75527090/attachment.htm>
More information about the rabbitmq-discuss
mailing list