Thank you it works !<div><br></div><div>I tried rabbit_config.config earlier, but it didn't work. I don't know what is different now in my config ! Anyway, maybe rabbitMQ should have raise an exception and it didn't ?</div>
<div><br></div><div>Thank you.</div><div><br><div class="gmail_quote">On Thu, Nov 25, 2010 at 3:31 PM, Alexandru Scvorţov <span dir="ltr"><<a href="mailto:alexandru@rabbitmq.com">alexandru@rabbitmq.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Erwan,<br>
<br>
The cluster config file was replaced in favour of a cluster_nodes<br>
configuration variable in rabbitmq.config. See the "Auto-configuration<br>
of a cluster" section in our clustering guide.<br>
<br>
<a href="http://www.rabbitmq.com/clustering.html" target="_blank">http://www.rabbitmq.com/clustering.html</a><br>
<br>
I'll check why the next poster is having trouble.<br>
<br>
Cheers,<br>
Alex<br>
<div><div></div><div class="h5"><br>
On Thu, Nov 25, 2010 at 02:43:11PM -0500, Erwan wrote:<br>
> Hello,<br>
><br>
> I'm trying to configure a 2 nodes cluster setup. It works if I add a node<br>
> with rabbitmqctl cluster rabbit@server, but it doesn't if I use a config<br>
> file.<br>
><br>
> Here is my config /etc/rabbitmq/rabbitmq_cluster.config :<br>
><br>
> ['rabbit@server-172160237','rabbit@server-172160224']<br>
><br>
><br>
> /etc/hosts is set up :<br>
><br>
> (...)<br>
> 127.0.0.1 server-172160237<br>
> 172.16.0.224 server-172160224<br>
><br>
><br>
> When I start rabbit-mq server, I have no error, and rabbitmq status returns<br>
> :<br>
><br>
> Status of node 'rabbit@server-172160237' ...<br>
> [{running_applications,[{rabbit,"RabbitMQ","2.1.1"},<br>
> {os_mon,"CPO CXC 138 46","2.1.8"},<br>
> {sasl,"SASL CXC 138 11","2.1.5.4"},<br>
> {mnesia,"MNESIA CXC 138 12","4.4.7"},<br>
> {stdlib,"ERTS CXC 138 10","1.15.5"},<br>
> {kernel,"ERTS CXC 138 10","2.12.5"}]},<br>
> {nodes,[{disc,['rabbit@server-172160237']}]},<br>
> {running_nodes,['rabbit@server-172160237']}]<br>
> ...done.<br>
><br>
> I even tried to pass config file as environment variable :<br>
><br>
> RABBITMQ_NODENAME=toto<br>
> RABBITMQ_CLUSTER_CONFIG_FILE=/etc/rabbitmq/rabbitmq_cluster rabbitmq-server<br>
> and<br>
> RABBITMQ_NODENAME=toto<br>
> RABBITMQ_CLUSTER_CONFIG_FILE=/etc/rabbitmq/rabbitmq_cluster.config<br>
> rabbitmq-server<br>
><br>
><br>
> But same result, except that rabbit has been replaced by toto ...<br>
><br>
> Do you see something I may have done wrong ?<br>
<br>
</div></div><div><div></div><div class="h5">> _______________________________________________<br>
> rabbitmq-discuss mailing list<br>
> <a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
> <a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br>
</div></div></blockquote></div><br></div>