Hello,<div><br></div><div>I'm trying to configure a 2 nodes cluster setup. It works if I add a node with rabbitmqctl cluster rabbit@server, but it doesn't if I use a config file.</div><div><br></div><div>Here is my config /etc/rabbitmq/rabbitmq_cluster.config :</div>
<div><div><br></div><div><div><font class="Apple-style-span" face="'courier new', monospace">['rabbit@server-172160237','rabbit@server-172160224']</font></div></div></div><div><br></div><div><br></div>
<div>/etc/hosts is set up :</div><div><br></div><div><font class="Apple-style-span" face="'courier new', monospace">(...)</font></div><div><div><font class="Apple-style-span" face="'courier new', monospace">127.0.0.1</font><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" face="'courier new', monospace">        <span class="Apple-style-span" style="white-space: normal; ">server</span></font></span><font class="Apple-style-span" face="'courier new', monospace">-172160237</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">172.16.0.224</font><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" face="'courier new', monospace">        <span class="Apple-style-span" style="white-space: normal; ">server</span></font></span><font class="Apple-style-span" face="'courier new', monospace">-172160224</font></div>
</div><div><br></div><div><br></div><div>When I start rabbit-mq server, I have no error, and rabbitmq status returns :</div><div><br></div><div><div><font class="Apple-style-span" face="'courier new', monospace">Status of node 'rabbit@server-172160237' ...</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">[{running_applications,[{rabbit,"RabbitMQ","2.1.1"},</font></div><div><font class="Apple-style-span" face="'courier new', monospace"> {os_mon,"CPO CXC 138 46","2.1.8"},</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"> {sasl,"SASL CXC 138 11","2.1.5.4"},</font></div><div><font class="Apple-style-span" face="'courier new', monospace"> {mnesia,"MNESIA CXC 138 12","4.4.7"},</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"> {stdlib,"ERTS CXC 138 10","1.15.5"},</font></div><div><font class="Apple-style-span" face="'courier new', monospace"> {kernel,"ERTS CXC 138 10","2.12.5"}]},</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"> {nodes,[{disc,['rabbit@server-172160237']}]},</font></div><div><font class="Apple-style-span" face="'courier new', monospace"> {running_nodes,['rabbit@server-172160237']}]</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">...done.</font></div></div><div><br></div><div>I even tried to pass config file as environment variable :</div><meta http-equiv="content-type" content="text/html; charset=utf-8"><span class="Apple-style-span" style="font-family: 'courier new', monospace; "><br class="Apple-interchange-newline">
RABBITMQ_NODENAME=toto RABBITMQ_CLUSTER_CONFIG_FILE=/etc/rabbitmq/rabbitmq_cluster rabbitmq-server</span><div><font class="Apple-style-span" face="arial, helvetica, sans-serif">and</font></div><div><span class="Apple-style-span" style="font-family: 'courier new', monospace; ">RABBITMQ_NODENAME=toto RABBITMQ_CLUSTER_CONFIG_FILE=/etc/rabbitmq/rabbitmq_cluster.config rabbitmq-server</span><div>
<br></div></div><div><br></div><div>But same result, except that rabbit has been replaced by toto ...</div><div><br></div><div>Do you see something I may have done wrong ?</div>