[rabbitmq-discuss] rabbitmq-server doesn't seem to read my cluster config file

Alexandru Scvorţov alexandru at rabbitmq.com
Thu Nov 25 20:31:37 GMT 2010


Hi Erwan,

The cluster config file was replaced in favour of a cluster_nodes
configuration variable in rabbitmq.config.  See the "Auto-configuration
of a cluster" section in our clustering guide.

http://www.rabbitmq.com/clustering.html

I'll check why the next poster is having trouble.

Cheers,
Alex

On Thu, Nov 25, 2010 at 02:43:11PM -0500, Erwan wrote:
> Hello,
> 
> I'm trying  to configure a 2 nodes cluster setup. It works if I add a node
> with rabbitmqctl cluster rabbit at server, but it doesn't if I use a config
> file.
> 
> Here is my config /etc/rabbitmq/rabbitmq_cluster.config :
> 
> ['rabbit at server-172160237','rabbit at server-172160224']
> 
> 
> /etc/hosts is set up :
> 
> (...)
> 127.0.0.1 server-172160237
> 172.16.0.224 server-172160224
> 
> 
> When I start rabbit-mq server, I have no error, and rabbitmq status returns
> :
> 
> Status of node 'rabbit at server-172160237' ...
> [{running_applications,[{rabbit,"RabbitMQ","2.1.1"},
>                         {os_mon,"CPO  CXC 138 46","2.1.8"},
>                         {sasl,"SASL  CXC 138 11","2.1.5.4"},
>                         {mnesia,"MNESIA  CXC 138 12","4.4.7"},
>                         {stdlib,"ERTS  CXC 138 10","1.15.5"},
>                         {kernel,"ERTS  CXC 138 10","2.12.5"}]},
>  {nodes,[{disc,['rabbit at server-172160237']}]},
>  {running_nodes,['rabbit at server-172160237']}]
> ...done.
> 
> I even tried to pass config file as environment variable :
> 
> RABBITMQ_NODENAME=toto
> RABBITMQ_CLUSTER_CONFIG_FILE=/etc/rabbitmq/rabbitmq_cluster rabbitmq-server
> and
> RABBITMQ_NODENAME=toto
> RABBITMQ_CLUSTER_CONFIG_FILE=/etc/rabbitmq/rabbitmq_cluster.config
> rabbitmq-server
> 
> 
> But same result, except that rabbit has been replaced by toto ...
> 
> Do you see something I may have done wrong ?

> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss



More information about the rabbitmq-discuss mailing list