Ich bin neu bei RabbitMQ und Linux. Ich verfolge Clustering bei https://www.rabbitmq.com/clustering.htmlKann nicht bei rabbitMQ cluster: Fehler: nodedown
Ich habe drei Knoten alle CentOS 7 ausgeführt wird (auf virtuellen Maschinen mit Statik IPs).
Ich habe den Erlang Cookie auf alle Maschinen kopiert.
Ich habe in Wirten gesetzt hosts-Datei als die folgende Diese auf Maschine 2
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.198.100 rabbit1
127.0.0.1 rabbit2
192.168.198.102 rabbit3
Aber Henne versucht rabbit2 beitreten rabbit1 mit
rabbitmqctl join_cluster [email protected]
bekomme ich folgende Fehler
Clustering node [email protected] with [email protected] ...
Error: unable to connect to nodes [[email protected]]: nodedown
DIAGNOSTICS
===========
attempted to contact: [[email protected]]
[email protected]:
* connected to epmd (port 4369) on rabbit1
* 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: '[email protected]'
- home dir: /var/lib/rabbitmq
- cookie hash: YlXmRhqgpV9H7lgqXslI1g==
Könnte mir jemand helfen, herauszufinden, was damit nicht stimmt?
Kannst du 'rabbit1' von' rabbit2' pingen? –
@DavinTryon: Ja kann ich. –