mcollective with rabbitmq connector with federation for geographical servers management

58 views
Skip to first unread message

rakar...@gmail.com

unread,
Nov 20, 2016, 4:19:07 AM11/20/16
to rabbitmq-users
i have a setup as below,

Rabbitmq central cluster servers with federation:

Canada location cluster servers which used to connect all canada location servers(sub collective name as canada_mcollective):

Texas location cluster servers which used to connect all canada location servers(sub collective name as texas_mcollective):

configured federation upstream on centram cluster as below:
virtual host : /mcollective
ack mode : on-confirm
expirt : 36000000

federation upstream policy:
virtual host : /mcollective
Pattern : ^.*
apply to : all
definition : federation-upstream-set: all
Priority : 0

I created exhanges as below,

mcollective_broadcast -> topic -> durable 
mcollective_directed -> direct -> durable 
mcollective_reply -> direct -> durable 
canada_mcollective_broadcast -> topic -> durable 
canada_mcollective_directed -> direct -> durable 
texas_mcollective_broadcast -> topic -> durable 
texas_mcollective_directed -> direct -> durable 

so when do mco ping am not getting response from all the connected servers and sometimes am getting response from some server. Mean not getting stable response.
I checked on logs and found that exchanges are fordwarded to each location federatiion cluster. 
But if do mco shell for each server name with their identity then am getting proper response. I think am missing something here to work with geographical federation configuration.

also i have added the parameter "plugin.rabbitmq.use_reply_exchange = true" on both server and client cfg file. 

I checked the mcollective log on each servers and looks like all the servers got the message and responded accordingly and consumer is not receiving it properly. 

So I suspect since its cluster it might conflicting between them so I tried configuring HA Proxy as well which also doesn't help. 

Any help please.. 

rakar...@gmail.com

unread,
Dec 8, 2016, 12:02:18 PM12/8/16
to rabbitmq-users
I did more testing and here are the results, 

Test case 1:
------------------
Connected the canada_mcollective location directly without federation, without cluster and everything works fine. 

Test case 2:
------------------
Connected the canada_mcollective location directly without federation, with cluster + HA Procy and everything works fine 

Test case 3 (failed):
-----------------------------
Connected canade_mcollective clusters with central rabbitmq(without cluster) and whatever message I publish it reaches the destination and destination servers will receive those message and response back for that. And this response is not getting back from when I publish message initially. 

Any help pls.. 

khuff

unread,
Dec 8, 2016, 6:04:12 PM12/8/16
to rabbitmq-users
Rakar,
To get a better understanding, when referring to mcollective; are you currently doing so with the puppet connector_rabbitmq plugin: https://docs.puppet.com/mcollective/reference/plugins/connector_rabbitmq.html. Also have you tried the puppetlabs-mcollective setup. 

Thanks,
Kristofer
Reply all
Reply to author
Forward
0 new messages