我設立一個RabbitMQ的集羣,並在過程中的一個步驟中遇到了一個問題。它直接出自rabbitmq集羣指南。的Mnesia無法連接到另一個節點
[email protected]:~# rabbitmqctl status
Status of node [email protected] ...
[{pid,20410},
{running_applications,[{rabbit,"RabbitMQ","2.5.1"},
{os_mon,"CPO CXC 138 46","2.2.4"},
{sasl,"SASL CXC 138 11","2.1.8"},
{mnesia,"MNESIA CXC 138 12","4.4.12"},
{stdlib,"ERTS CXC 138 10","1.16.4"},
{kernel,"ERTS CXC 138 10","2.13.4"}]},
{os,{unix,linux}},
{erlang_version,"Erlang R13B03 (erts-5.7.4) [source] [64-bit] [smp:4:4] [rq:4] [async-threads:30] [hipe] [kernel-poll:true]\n"},
{memory,[{total,25296704},
{processes,9680280},
{processes_used,9662720},
{system,15616424},
{atom,1099393},
{atom_used,1082732},
{binary,89768},
{code,11606637},
{ets,726848}]}]
...done.
[email protected]:~# rabbitmqctl cluster_status
Cluster status of node [email protected] ...
[{nodes,[{disc,[[email protected]]}]},{running_nodes,[[email protected]]}]
...done.
[email protected]:~# rabbitmqctl stop_app
Stopping node [email protected] ...
...done.
[email protected]:~# rabbitmqctl reset
Resetting node [email protected] ...
...done.
[email protected]:~# rabbitmqctl cluster [email protected]
Clustering node [email protected] with [[email protected]] ...
Error: {failed_to_cluster_with,[[email protected]],
"Mnesia could not connect to some nodes."}
一個節點無法連接到另一個節點的可能原因是什麼?
這裏是我下面的指南:http://www.rabbitmq.com/clustering.html
我不認爲這是禁忌接受你自己的答案,特別是因爲它是一個很好的一個。 – scvalex
哎呦 - 忘了那個:P – Shakakai