[rabbitmq-discuss] Clustering problem

Pursanov Dmitry pursanovd at gmail.com
Wed Nov 16 08:07:25 GMT 2011


Thank you, Matthias,
did as you told:

C:\Program Files (x86)\RabbitMQ  
Server\rabbitmq_server-2.7.0\sbin>rabbitmqctl cl
uster rabbit at r2
Clustering node rabbit at R1 with [rabbit at r2] ...
Error: {no_running_cluster_nodes,[rabbit at r2],[rabbit at r2]}

still no luck.
Here is what i did on R2 server, before starting configuring clustering on  
R1:

C:\Program Files (x86)\RabbitMQ  
Server\rabbitmq_server-2.6.0\sbin>rabbitmq-serve
r -detached
Activating RabbitMQ plugins ...
1 plugins activated:
* rabbitmq_management_agent-2.6.0

node with name "rabbit" already running on "R2"
diagnostics:
- nodes and their ports on R2:  
[{rabbit,49214},{rabbitmqprelaunch11002,49335}]
- current node: rabbitmqprelaunch11002 at r2
- current node home dir: C:\Users\Administrator
- current node cookie hash: QsJXNAJ4kikETB6oLkVJbw==

C:\Program Files (x86)\RabbitMQ  
Server\rabbitmq_server-2.6.0\sbin>rabbitmqctl st
op_app
Stopping node rabbit at R2 ...
...done.

C:\Program Files (x86)\RabbitMQ  
Server\rabbitmq_server-2.6.0\sbin>rabbitmqctl re
set
Resetting node rabbit at R2 ...
...done.

C:\Program Files (x86)\RabbitMQ  
Server\rabbitmq_server-2.6.0\sbin>rabbitmqctl st
art_app
Starting node rabbit at R2 ...
...done.


BTW, hope these are not problems, because of versioning conflicts(r1-2.7,  
r2-2.6)?


On Wed, 16 Nov 2011 12:01:52 +0400, Matthias Radestock  
<matthias at rabbitmq.com> wrote:

> Dmitry,
>
> On 16/11/11 07:52, Pursanov Dmitry wrote:
>> Added RABBITMQ_CONSOLE_LOG to env variables, set to reuse(and new after
>> some tries), restarted service. But `RabbitMQ.debug` is not being
>> created in %APPDATA%\RabbitMQ.
>
> Restarting the service is not enough; you need to re-install the service  
> with rabbitmq-service.bat. See  
> http://www.rabbitmq.com/install.html#running-windows-service
>
>> C:\Program Files (x86)\RabbitMQ
>> Server\rabbitmq_server-2.7.0\sbin>rabbitmqctl stop_app
>> Stopping node rabbit at R1 ...
>> ...done.
>>
>> C:\Program Files (x86)\RabbitMQ
>> Server\rabbitmq_server-2.7.0\sbin>rabbitmqctl reset
>> Resetting node rabbit at R1 ...
>> ...done.
>>
>> C:\Program Files (x86)\RabbitMQ
>> Server\rabbitmq_server-2.7.0\sbin>rabbitmqctl start_app
>> Starting node rabbit at R1 ...
>> ...done.
>>
>> C:\Program Files (x86)\RabbitMQ
>> Server\rabbitmq_server-2.7.0\sbin>rabbitmqctl cluster rabbit at r2
>> Clustering node rabbit at R1 with [rabbit at r2] ...
>> Error: mnesia_unexpectedly_running
>
> The last two steps are reversed - you need to configure the cluster  
> before starting the app.
>
> Regards,
>
> Matthias.


-- 
DPursanov


More information about the rabbitmq-discuss mailing list