【发布时间】:2019-05-02 15:16:43
【问题描述】:
我有一个有 2 个节点的集群,它们都没有使用 FQDN:rabbit@server1 和 rabbit@server2。现在我添加了第三个 rabbitmq 节点,它使用 FQDN:rabbit@server3.mycompany.com。当我运行rabbitmqctl join_cluster rabbit@server1
Clustering node 'rabbit@server3.mycompany.com' with rabbit@server1 ...
Error: unable to connect to nodes [rabbit@server1]: nodedown
DIAGNOSTICS
===========
attempted to contact: [rabbit@server1]
rabbit@server1:
* connected to epmd (port 4369) on server1
* epmd reports node 'rabbit' running on port 25672
* TCP connection succeeded but Erlang distribution failed
* suggestion: hostname mismatch?
* suggestion: is the cookie set correctly?
* suggestion: is the Erlang distribution using TLS?
current node details:
- node name: 'rabbitmq-cli-65@server3.mycompany.com'
- home dir: /home/rabbitmq
- cookie hash: 6P4hzwN1u+rBCLZkYA2zUQ==
我已经使用了所有的 cookie,所有 3 台服务器都相同。还有什么问题?
【问题讨论】:
标签: rabbitmq rabbitmqctl