[rabbitmq-discuss] Federated Cluster Issue
Richard Raseley
richard at raseley.com
Tue Apr 23 15:28:58 BST 2013
Simon,
Thank you for your reply.
1) I was trying to obfuscate my actual naming conventions - but they are
named in a similar manner. The general structure though is that in
cluster01 I have an exchange named something like "cluster01.topic" and in
the pattern field I put " ^cluster01\. " (basically everything in
preceeding the "." in the exchange name). Can you confirm that this would
be the correct pattern?
2) I do not see "federate-me" show up in the management UI exchange list -
but I see the policy in the Admin section. Would it show up as a discrete
exchange itself?
Regards,
Richard
On Tue, Apr 23, 2013 at 2:53 AM, Simon MacMullen <simon at rabbitmq.com> wrote:
> On 22/04/13 23:11, Richard Raseley wrote:
>
>> 4) Added a new policy (from the perspective of "cluster-01") with a name
>> of "federate-me", a pattern of "^cluster01\." and a definition of
>> "federation-upstream-set:all".
>>
>
> That pattern is meant to match exchange names - is that how your exchanges
> are named?
>
>
> Based on my understanding I should now see the link listed (whether or
>> not is successful or producing errors) in the federation status page of
>> the management UI. All I see is "... no links ...". Furthermore,
>> executing a " rabbitmqctl eval 'rabbit_federation_status:**status().' "
>> on
>> any of the nodes in the two clusters returns " [] ...done. ".
>>
>> The logs from the servers show no errors related to federated links.
>>
>> Questions:
>>
>> 1) My understanding was that defining the upstream and the policy on a
>> particular vhost was enough to begin instantiation of the federated
>> link. Is this the case?
>>
>
> That should be the case. My guess is that the policy is not matching any
> exchanges and so federation thinks it has nothing to do. Do you see
> "federate-me" show up in the management UI exchange list / "rabbitmqctl
> list_exchanges name policy"?
>
> Cheers, Simon
>
> --
> Simon MacMullen
> RabbitMQ, VMware
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130423/6a123111/attachment.htm>
More information about the rabbitmq-discuss
mailing list