[rabbitmq-discuss] Question about configs

John Smith gb10hkzo-rabbitmq at yahoo.co.uk
Fri May 30 17:22:06 BST 2014


Hello list,

On a slightly more promising note now I've got a working version of rabbit (I think !!)....

I'm trying to get my head around configs and more specifically their volatility (yes, TFM still needs to be R'd but there's a lot of text there to go through !)

So, if I go :

"rabbitmqctl join_cluster rabbit at rabbit2"

This appears to be a persistent change because I rebooted the rabbit service and it came back up fully clustered.

For good measure I tried creating a basic config file containing :

"[{rabbit,
  [{cluster_nodes, {['rabbit at ww3-ukc','rabbit at ww3-ukc-sby'], disc}}]}]."

But all that does is cause rabbit to complain :


/usr/lib/rabbitmq/bin/rabbitmqctl: 1: /etc/rabbitmq/rabbitmq-env.conf: [{rabbit,: not found
/usr/lib/rabbitmq/bin/rabbitmqctl: 2: /etc/rabbitmq/rabbitmq-env.conf: [{cluster_nodes,: not found

I'm guessing that's to do with the syntax of my config file ?  But I'm only following the simple example in the manual that says that one line is all that's needed "if this were the only field we needed to set".



More information about the rabbitmq-discuss mailing list