<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial">hi ,<div><span class="Apple-tab-span" style="white-space:pre">        </span>I am running 1 virtual machines with 1 rabbitMQ server on each.</div><div>And follow the auto configration cluster guide ,I found my cluster doesn't work without any error .</div><div><br></div><div><div>----------------------------</div><div>here is the clear-up script.</div><div>rabbitMQ-cluster-reset.bat</div><div>----------------------------</div><div><div> </div><div>cd %rabbit_bin_home% </div><div>call rabbitmqctl cluster_status</div><div>call rabbitmqctl stop_app</div><div>call rabbitmqctl force_reset</div><div>call rabbitmqctl stop</div></div></div><div><br></div><div>-------------------------------</div><div>here is my running script :</div><div>rabbitMQ-cluster-start.bat</div><div>-------------------------------</div><div><div>echo off</div><div>set RABBITMQ_NODENAME=rabbit</div><div>set RABBITMQ_CLU
STER_CONFIG_FILE=E:\servers\rabbitMQ\rabbitmq</div><div>set RABBITMQ_CONFIG_FILE=%RABBITMQ_CLUSTER_CONFIG_FILE%</div><div>set RABBITMQ_CONSOLE_LOG=new</div><div>rabbitmq-server -detached</div><div>pause</div><div><br></div><div>-------------------</div><div>the rabbitmq.config file </div><div>-------------------</div><div>[{rabbit,[{cluster_nodes,['rabbit@rabbit2','rabbit@rabbit3']}]}].</div><div>----------------------------------------------------------------------------</div><div>run </div><div>rabbitMQ-cluster-reset.bat</div><div>and </div><div>rabbitMQ-cluster-start.bat
</div><div>on each node.</div><div>the result :</div><div><br></div><div><div>rabbt3>C:\Program Files\RabbitMQ Server\rabbitmq_server-2.8.5\sbin>rabbitmqctl cluster_</div><div>status</div><div>Cluster status of node rabbit@rabbit3 ...</div><div>[{nodes,[{disc,[rabbit@rabbit3]}]},{running_nodes,[rabbit@rabbit3]}]</div><div>...done.</div></div><div><br></div><div><div>rabbit2>C:\Program Files\RabbitMQ Server\rabbitmq_server-2.8.5\sbin>rabbitmqctl cluster_</div><div>status</div><div>Cluster status of node rabbit@rabbit2 ...</div><div>[{nodes,[{disc,[rabbit@rabbit2]}]},{running_nodes,[rabbit@rabbit2]}]</div><div>...done.</div></div><div><br></div><div>this is not the correct cluster msg .</div><div>then i try to modify script likes</div><div>---</div><div>set RABBITMQ_CLUSTER_CONFIG_FILE=E:\servers\rabbitMQ\rabbitmq
</div><div><--></div><div>set RABBITMQ_CLUSTER_CONFIG_FILE=E:\servers\rabbitMQ\rabbitmq.config</div><div>---</div><div>[{rabbit,[{cluster_nodes,['rabbit@rabbit2','rabbit@rabbit3',rabbit@RABBIT2','rabbit@RABBIT3']}]}].
</div><div><--></div><div>[{rabbit,[{cluster_nodes,['rabbit@rabbit2','rabbit@rabbit3'']}]}].</div><div>---</div><div>but it still doesn't work.</div><div><br></div><div>i am sure these nodes can ping each other successfully...</div><div><br></div><div>what wrong with the cluster configration ? </div><div>please help me and thanks.</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">                                                                                                                                                </span>allchin.</div><div><br></div><div> </div></div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>