[rabbitmq-discuss] newbie rabbitMQ clustering question

Scott Stone Scott.Stone at servicenow.com
Thu Nov 1 18:39:24 GMT 2012


yes, sorry, clustered, with both nodes as disc nodes:

[rabbit01.sea1:/root]# rabbitmqctl cluster_status
Cluster status of node rabbit at rabbit01 ...
[{nodes,[{disc,[rabbit at rabbit02,rabbit at rabbit01]}]},
 {running_nodes,[rabbit at rabbit02,rabbit at rabbit01]}]
...done.

[rabbit02.sea1:/root]# rabbitmqctl cluster_status
Cluster status of node rabbit at rabbit02 ...
[{nodes,[{disc,[rabbit at rabbit02,rabbit at rabbit01]}]},
 {running_nodes,[rabbit at rabbit01,rabbit at rabbit02]}]
...done.

I think your question of "are the queues declared as HA" might be the key to this, though - from what I understand, the application itself (in this case, mcollective) would have to declare that at the time the queue is created, yes?  I suppose I *can* modify mcollective to do this, but I was hoping I didn't have to.  Any pointers on how you would do that from, say, a ruby application? :)

I appreciate everyone's help with this.  This same question has been asked a couple of times on the mcollective forums, to which  R.I.Pienaar replies simply, "Use ActiveMQ," and that's not an option for me… so I thought I'd have more success asking the question here.

Scott M. Stone, Sr. Systems Engineer | ServiceNow | Office 425-629-2803 | Mobile 408-857-2973 | www.service-now.com
Transform IT

From: Tim Watson <watson.timothy at gmail.com<mailto:watson.timothy at gmail.com>>
Reply-To: Discussions about RabbitMQ <rabbitmq-discuss at lists.rabbitmq.com<mailto:rabbitmq-discuss at lists.rabbitmq.com>>
Date: Thu, 1 Nov 2012 10:00:25 +0000
To: Discussions about RabbitMQ <rabbitmq-discuss at lists.rabbitmq.com<mailto:rabbitmq-discuss at lists.rabbitmq.com>>
Cc: "rabbitmq-discuss at lists.rabbitmq.com<mailto:rabbitmq-discuss at lists.rabbitmq.com>" <rabbitmq-discuss at lists.rabbitmq.com<mailto:rabbitmq-discuss at lists.rabbitmq.com>>
Subject: Re: [rabbitmq-discuss] newbie rabbitMQ clustering question
Resent-From: "scott.stone" <scott.stone at servicenow.com<mailto:scott.stone at servicenow.com>>

Hi Scott,

Sent from my iPhone.

On 1 Nov 2012, at 01:57, Scott Stone <Scott.Stone at servicenow.com<mailto:Scott.Stone at servicenow.com>> wrote:


If I stop rabbit02, no problem, everything still works.

If I stop rabbit01, everything breaks.  rabbitmqctl list_queues -p /mcollective shows almost nothing - the main mcollective queue and almost every child just magically disappears.

As I said, I'm kind of new to this; what is going on here?  Is it because mcollective isn't creating the queues as 'mirrored' and rabbit01 is elected as the master?  or is something else going on?  If my assumption is correct, is there anything I can do about this?

You haven't said what your setup is. Are the nodes clustered? Are the queues declared as HA?


Scott M. Stone, Sr. Systems Engineer | ServiceNow | Office 425-629-2803 | Mobile 408-857-2973 | www.service-now.com<http://www.service-now.com>
Transform IT
_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss at lists.rabbitmq.com<mailto:rabbitmq-discuss at lists.rabbitmq.com>
https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
_______________________________________________ rabbitmq-discuss mailing list rabbitmq-discuss at lists.rabbitmq.com<mailto:rabbitmq-discuss at lists.rabbitmq.com> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20121101/fce7b1c6/attachment.htm>


More information about the rabbitmq-discuss mailing list