FW: Clustering Issue

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

FW: Clustering Issue

Ritesh Mehta-3

Hi ALL,

 

Please see the draft below

 

Hi,

 

We are currently testing out clustering on RabbitMQ on two servers running on Windows. However I am not able to do so. The

Following is the error I get when I try to cluster with an existing server:

 

ERROR REPORT==== 22-Jun-2009::15:09:45 ===
** Connection attempt from disallowed node rabbit@PC09023 **

 

The following are the steps that we implemented:

  1. Save a common cookie file (We tried at different locations i.e. C:\Windows, C:\Documents and Settings\<User_Name>\Application Data, C:\Documents and Settings\<User_Name>\Application Data\RabbitMQ as we were not sure which is the right location)
  2. C:\Program Files\erl5.5.5\lib\rabbitmq_server-1.5.4\sbin>rabbitmq-server.bat –detached
  3. C:\Program Files\erl5.5.5\lib\rabbitmq_server-1.5.4\sbin>rabbitmqctl.bat status
  4. C:\Program Files\erl5.5.5\lib\rabbitmq_server-1.5.4\sbin>rabbitmqctl.bat stop_app
  5. C:\Program Files\erl5.5.5\lib\rabbitmq_server-1.5.4\sbin>rabbitmqctl.bat reset
  6. C:\Program Files\erl5.5.5\lib\rabbitmq_server-1.5.4\sbin>rabbitmqctl cluster  rabbit@2269x rabbit@PC09023

 

I also tried implementing it as a service and I had no luck there as well. Following is log when I used it as a service

 

 

=INFO REPORT==== 23-Jun-2009::10:38:14 ===

    application: rabbit

    exited: {{unable_to_join_cluster,

                 [rabbit@2269x,rabbit@PC09023],

                 {merge_schema_failed,

                     "Incompatible schema cookies. Please, restart from old backup.rabbit@2269x = [{name,schema},{type,set},{ram_copies,[]},{disc_copies,[rabbit@apicsubuntu,rabbit@2269x]},{disc_only_copies,[]},{load_order,0},{access_mode,read_write},{index,[]},{snmp,[]},{local_content,false},{record_name,schema},{attributes,[table,cstruct]},{user_properties,[]},{frag_properties,[]},{cookie,{{1245,704290,424002},rabbit@2269x}},{version,{{16,0},{rabbit@apicsubuntu,{1245,706725,297168}}}}], rabbit@PC09023 = [{name,schema},{type,set},{ram_copies,[]},{disc_copies,[rabbit@PC09023]},{disc_only_copies,[]},{load_order,0},{access_mode,read_write},{index,[]},{snmp,[]},{local_content,false},{record_name,schema},{attributes,[table,cstruct]},{user_properties,[]},{frag_properties,[]},{cookie,{{1245,702205,450004},rabbit@PC09023}},{version,{{2,0},[]}}]\n"}},

             {rabbit,start,[normal,[]]}}

    type: temporary

 

 

I would appreciate any suggestions on how we could resolve this issue as clustering is extremely critical for successfully launching out applications.


_______________________________________________
rabbitmq-discuss mailing list
[hidden email]
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Reply | Threaded
Open this post in threaded view
|

Re: FW: Clustering Issue

Matthias Radestock-2
Ritesh,

Ritesh Mehta wrote:

> We are currently testing out clustering on RabbitMQ on two servers
> running on Windows. However I am not able to do so.
> [...]
> I also tried implementing it as a service and I had no luck there as
> well. Following is log when I used it as a service
>
> =INFO REPORT==== 23-Jun-2009::10:38:14 ===
>     application: rabbit
>     exited: {{unable_to_join_cluster,
>                  [rabbit@2269x,rabbit@PC09023],
>                  {merge_schema_failed,
>                      "Incompatible schema cookies. Please, restart from
> old backup.rabbit@2269x =
> [...]

The above indicates that the basic erlan communication must have been
working, unlike in your non-service example. The problem above is most
likely due to not having 'reset' the db of the node you are joining to
the cluster. I'd recommend starting from a clean install, set up the two
nodes as windows services, ensure that they are working properly, and
then run the stop_app, reset, cluster, start_app sequence on one of the
nodes.

Regards,

Matthias

_______________________________________________
rabbitmq-discuss mailing list
[hidden email]
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss