<div dir="ltr">I've managed to workaround the second issue I encountered but am not sure why what I did was required. Once I modified the pattern (as you suggested) the links came up, attempted to start several times and then sat in a "shutdown" mode.<div>
<br></div><div style>The error was telling me that the user I had specified (not sure if in the URI or the "local username") didn't have access to a "federation:queue_name" where "queue_name" was one of the queues attached to the exchange I was federating. Granting that user the .* Configure permission. Is this permission strictly required when federating a link? If so - I should consider using a username that is different than the one that producers and consumers use so that I don't grant them more permissions than appropriate (as we don't allow dynamic queue creation, etc.).</div>
<div style><br></div><div style>Regards,</div><div style><br></div><div style>Richard</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Apr 25, 2013 at 9:30 AM, Richard Raseley <span dir="ltr"><<a href="mailto:richard@raseley.com" target="_blank">richard@raseley.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Simon,<div><br></div><div>Thank you so much for pointing out the error I made. I think the issue came down to my lack of understanding on how the expressions are structured (don't know very much about regular expressions). I had been thinking that a pattern like " ^this\. " would cover everything that had "this" in it (e.g. thisthat.andtheother). Yet another thing I need to brush up on. =] </div>
<div><br></div><div>The links now are sitting in a perpetual "starting" state so I may have another issue to deal with as well. I will try to troubleshoot that and post back if I hit any walls. Thank you.</div>
<div><br></div><div>Regards,</div><div><br></div><div>Richard</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Apr 25, 2013 at 3:44 AM, Simon MacMullen <span dir="ltr"><<a href="mailto:simon@rabbitmq.com" target="_blank">simon@rabbitmq.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks. In the cases where you've defined a federation policy its pattern is defined as "^expense\.", but the exchanges are named like "expensepay.topic". I suspect you want to change the pattern to "^expensepay\.".<br>
<br>
Cheers, Simon<div><br>
<br>
On 24/04/13 23:56, Richard Raseley wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Simon,<br>
<br><div>
I will go ahead and send you the requested output directly. Thank you.<br>
<br>
Regards,<br>
<br>
Richard<br>
<br>
<br>
On Wed, Apr 24, 2013 at 6:24 AM, Simon MacMullen <<a href="mailto:simon@rabbitmq.com" target="_blank">simon@rabbitmq.com</a><br></div><div>
<mailto:<a href="mailto:simon@rabbitmq.com" target="_blank">simon@rabbitmq.com</a>>> wrote:<br>
<br>
Hi. I mainly just wanted to check the policies against the exchanges<br>
- so the lists of all policies and all exchanges should be enough.<br>
Also feel free to excise anything you think is sensitive and send it<br>
privately.<br>
<br>
Cheers, Simon<br>
<br>
<br>
On 23/04/13 20:16, Richard Raseley wrote:<br>
<br>
Simon,<br>
<br>
I did not include the leading and trailing spaces when entering the<br>
pattern in the management UI - just did it here for readability<br>
purposes.<br>
<br>
I have the output of "rabbitmqctl report" from the 4 nodes in<br>
question<br>
(two per cluster) - were there specific items that you wanted to<br>
look at<br>
(I'd rather not share the entire output for security reasons)? I<br>
can see<br>
that for the vhosts in question it is listing the federate-me policy<br>
(not sure if that is what you were looking for).<br>
<br>
Regards,<br>
<br>
Richard<br>
<br>
<br>
On Tue, Apr 23, 2013 at 7:36 AM, Simon MacMullen<br>
<<a href="mailto:simon@rabbitmq.com" target="_blank">simon@rabbitmq.com</a> <mailto:<a href="mailto:simon@rabbitmq.com" target="_blank">simon@rabbitmq.com</a>><br></div><div><div>
<mailto:<a href="mailto:simon@rabbitmq.com" target="_blank">simon@rabbitmq.com</a> <mailto:<a href="mailto:simon@rabbitmq.com" target="_blank">simon@rabbitmq.com</a>>>> wrote:<br>
<br>
On 23/04/13 15:28, Richard Raseley wrote:<br>
<br>
Simon,<br>
<br>
Thank you for your reply.<br>
<br>
1) I was trying to obfuscate my actual naming<br>
conventions - but<br>
they are<br>
named in a similar manner. The general structure though<br>
is that in<br>
cluster01 I have an exchange named something like<br>
"cluster01.topic" and<br>
in the pattern field I put " ^cluster01\. " (basically<br>
everything in<br>
preceeding the "." in the exchange name). Can you<br>
confirm that this<br>
would be the correct pattern?<br>
<br>
<br>
In the quotation marks you have leading and trailing spaces<br>
which<br>
would obviously stop the match from working. But other than<br>
that it<br>
looks fine.<br>
<br>
<br>
2) I do not see "federate-me" show up in the management UI<br>
exchange list<br>
- but I see the policy in the Admin section. Would it<br>
show up as a<br>
discrete exchange itself?<br>
<br>
<br>
Some federation-related infrastructure (including<br>
exchanges) would<br>
show up once federation starts, but if you don't see<br>
"federate-me"<br>
in the policy column for any exchange then the policy is not<br>
matching and nothing will happen.<br>
<br>
If you can post the results of "rabbitmqctl report" then I<br>
can look<br>
at why the policy pattern is not matching.<br>
<br>
<br>
Cheers, Simon<br>
<br>
--<br>
Simon MacMullen<br>
RabbitMQ, VMware<br>
<br>
<br>
<br>
<br>
--<br>
Simon MacMullen<br>
RabbitMQ, VMware<br>
<br>
<br>
</div></div></blockquote><div><div>
<br>
<br>
-- <br>
Simon MacMullen<br>
RabbitMQ, VMware<br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>