[rabbitmq-discuss] Mirrored queue policies not applying.

Chris Nicel Chris.Nicel at 15below.com
Wed May 22 15:01:22 BST 2013


Thanks Simon. That's fixed it...

I was attempting to solve a problem with regular expressions and found myself with two problems...

Cheers

Chris

-----Original Message-----
From: Simon MacMullen [mailto:simon at rabbitmq.com]
Sent: 22 May 2013 14:53
To: Discussions about RabbitMQ
Cc: Chris Nicel
Subject: Re: [rabbitmq-discuss] Mirrored queue policies not applying.

The pattern needs to be a regular expression that will match queue names. Your pattern appears to be "*" (including quotes). That won't match anything. If you want to match all queues, use .* (without quotes).

Cheers, Simon

On 22/05/13 14:41, Chris Nicel wrote:
> Hi All,
>
> I am having trouble with some mirrored queue policies.
>
> The set-up is a simple two node cluster. I am attempting to mirror the
> queues which currently exist on both nodes. I'd like to use the
> ha-mode exactly so I can add further nodes as performance requires
> later down the line.
>
> This is the policy as shown in the admin web interface.
>
> *Virtual Host***
>
>
>
> *Name***
>
>
>
> *Pattern***
>
>
>
> *Definition***
>
>
>
> *Priority***
>
> zp
>
>
>
> zp HA
> <http://rabbitmq.zorrillo.aws:15672/#/policies/zorrillo.platform/Zorri
> llo%20HA>
>
>
>
> "*"
>
>
>
> *ha-mode:***
>
>
>
> exactly
>
> *ha-params:***
>
>
>
> 2
>
> *ha-sync-mode:***
>
>
>
> automatic
>
>
>
> 0
>
> But the queues are not showing as using the policy on the queues screen.
>
> *Overview***
>
>
>
> *Messages***
>
>
>
> *Message rates***
>
> *Virtual host***
>
>
>
> *Name***
>
>
>
> *Node***
>
>
>
> *Exclusive***
>
>
>
> *Parameters***
>
>
>
> *Policy***
>
>
>
> *Status***
>
>
>
> *Ready***
>
>
>
> *Unacked***
>
>
>
> *Total***
>
>
>
> *incoming***
>
>
>
> *deliver / get * **
>
>
>
> *ack***
>
> zp
>
>
>
> control.mediator:control.commands/f907b124
> <http://rabbitmq.zorrillo.aws:15672/#/queues/zorrillo.platform/control
> .mediator%3Acontrol.commands%2Ff907b124>
>
>
>
> rabbit at rabbitmq2
>
>
>
> Owner
> <http://rabbitmq.zorrillo.aws:15672/#/connections/10.0.1.15%3A59042%20
> -%3E%2010.0.1.11%3A5672>
>
>
>
>
> AD
>
>
>
> Idle
>
>
>
> 0.00/s
>
>
>
> 0.00/s
>
>
>
> zp
>
>
>
> control.mediator:control.requests/f907b124
> <http://rabbitmq.zorrillo.aws:15672/#/queues/zorrillo.platform/control
> .mediator%3Acontrol.requests%2Ff907b124>
>
>
>
> rabbit at rabbitmq2
>
>
>
> Owner
> <http://rabbitmq.zorrillo.aws:15672/#/connections/10.0.1.15%3A59042%20
> -%3E%2010.0.1.11%3A5672>
>
>
>
>
> AD
>
>
>
> Idle
>
>
>
> 0.00/s
>
>
>
> 0.00/s
>
>
>
> As I understand it, the ha policies can be changed and queues will
> update themselves accordingly. So in principle what I am attempting
> feels right...
>
> Does anyone have any ideas where I may be going wrong?
>
> Cheers
>
> *Chris Nicel*
>
> Senior Systems Engineer
>
> 15below ltd : 15below Australia pty. ltd.
>
> *t:***+44 1273 764230
>
> *e*: chris.nicel at 15below.com <mailto:chris.nicel at 15below.com>
> *w:*15below.com <http://www.15below.com/>
>
> *@15below_travel <https://twitter.com/#!/15below_travel>
>
>
> 15below Limited: Company registered in England and Wales No 3945289
> Registered Office: Lyndean House, 43-46 Queens Road, Brighton BN1 3XB,
> United Kingdom
>
> 15below Australia Pty Limited: ABN 25 132 716 379 Level 50, 120
> Collins Street, Melbourne, Victoria 3000, Australia
>
> Please think about the environment before printing this email.
>
> **********************************************************************
> ** This email and any attachments may be confidential and/or legally
> privileged and are solely for the use of the intended recipient. If
> you have received this email in error please contact the sender. Any
> views or opinions expressed within this e-mail are solely those of the
> sender, and do not necessarily represent those of 15below unless
> otherwise specifically stated. Although 15below has taken every
> reasonable precaution to ensure that any attachment to this e-mail has
> been checked for viruses, it is strongly recommended that you carry
> out your own virus check before opening any attachment, as we cannot
> accept liability for any damage sustained as a result of software virus infection.
>
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>


--
Simon MacMullen
RabbitMQ, Pivotal

 15below Limited: Company registered in England and Wales No 3945289
Registered Office: Lyndean House, 43-46 Queens Road, Brighton BN1 3XB, United Kingdom

15below Australia Pty Limited: ABN 25 132 716 379
Level 50, 120 Collins Street, Melbourne, Victoria 3000, Australia

Please think about the environment before printing this email.

************************************************************************
This email and any attachments may be confidential and/or legally privileged and are solely for the use of the intended recipient.  If you have received this email in error please contact the sender.  Any views or opinions expressed within this e-mail are solely those of the sender, and do not necessarily represent those of 15below unless otherwise specifically stated.  Although 15below has taken every reasonable precaution to ensure that any attachment to this e-mail has been checked for viruses, it is strongly recommended that you carry out your own virus check before opening any attachment, as we cannot accept liability for any damage sustained as a result of software virus infection.


More information about the rabbitmq-discuss mailing list