[rabbitmq-discuss] newbie rabbitMQ clustering question
Scott Stone
Scott.Stone at servicenow.com
Thu Nov 1 01:57:59 GMT 2012
sorry for the doublepost here - not sure if my other one even got through, since my original subscribed address doesn't match what my sender address goes OUT as.. anyway, that's fixed, so here's my original question:
So, I'm trying to get mcollective to work with a highly-available rabbitMQ cluster. Using SSL (that is actually working), and an F5 bigIP.
So, as long as both of my rabbitmq nodes are up, everything works great. Loadbalancer works, even with SSL turned on, all my mcollective stuff works, everything is happy and good.
I have both of my rabbitmq nodes configured as disc nodes, and they share a common config as such:
(partial config):
[
{rabbit, [
{cluster_nodes, ['rabbit at rabbit01', 'rabbit at rabbit02', 'rabbit at rabbit03', 'rabbit at rabbit04']},
{ssl_listeners, [5671]},
{ssl_options, [{cacertfile,"/etc/rabbitmq/ca/cacert.pem"},
{certfile,"/etc/rabbitmq/servercert/cert.pem"},
{keyfile,"/etc/rabbitmq/servercert/key.pem"},
{verify,verify_none},
{fail_if_no_peer_cert,false}]},
{auth_backends, [rabbit_auth_backend_internal,rabbit_auth_backend_ldap]}
]},
{rabbitmq_stomp, [{ssl_listeners, [6163]}]},
(at the moment, only rabbit01 and rabbit02 are online). So if I list the queues under the /mcollective vhost, everything looks normal (on both nodes).
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?
Scott M. Stone, Sr. Systems Engineer | ServiceNow | Office 425-629-2803 | Mobile 408-857-2973 | www.service-now.com
Transform IT
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20121101/fba5542c/attachment.htm>
More information about the rabbitmq-discuss
mailing list