[rabbitmq-discuss] Windows RabbitMQ Cluster
Wouter Bosland
wbosland.prive at gmail.com
Tue Apr 22 07:56:22 BST 2014
Your 2nd suggestion solved it. Thank you very much :)
I changed the host file and it now uses the name of my nodes.
How do I change the node name via console?
2014-04-22 8:26 GMT+02:00 Matthias Radestock <matthias at rabbitmq.com>:
> On 21/04/14 15:24, Wouter Bosland wrote:
>
>> 6. run the command: ''rabbitmqctl join_cluster rabbit at master'' on
>> machine 2 (slave)
>>
>> Clustering node 'rabbit at WIN-PK8SONHOIBH' with rabbit at master ...
>> Error: unable to connect to nodes [rabbit at master]: nodedown
>> [...]
>> *If I try the other way around clustering master to slave I get:*
>>
>> Clustering node 'rabbit at WIN-2BQPAJ1S03R' with rabbit at slave ...
>> Error: unable to connect to nodes [rabbit at slave]: nodedown
>> [...]
>> * suggestion: hostname mismatch?
>> * suggestion: is the cookie set correctly?
>> [...]
>> *The cookie hash is the same so what could be the problem?*
>>
>
> See the 2nd suggestion :)
>
> It appears that your nodes know themselves as rabbit at WIN-<...>, but you
> attempt to address them as rabbit@{master,slave}.
>
> Now, evidently master/slave do resolve, since rabbitmqctl can find the
> machine, but for communication to succeed the name of the node must match
> how it is being addressed.
>
> So either address nodes by their WIN-<...> name or alter the node name on
> startup by setting RABBITMQ_NODENAME.
>
> Matthias.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140422/3894bfc6/attachment.html>
More information about the rabbitmq-discuss
mailing list