[rabbitmq-discuss] Rabbitmq upgrade from 2.8.7 version to 3.2.3 version

Simon MacMullen simon at rabbitmq.com
Mon Feb 10 09:28:09 GMT 2014


On 09/02/2014 03:19, sagu prf wrote:
>             I am facing following issue on  mirror queue policy .
>
> rabbitmqctl set_policy -p "VHOST1" ha-all "^DataService\."
> '{"ha-mode":"all"}' --priority "1"
> rabbitmqctl set_policy -p "HOST1" ha-all "^CarrierService\."
> '{"ha-mode":"all"}' --priority "1"
>
>
> First command , set mirror policy for DataService queues .
>
> second command , set mirror policy for CarrierService and it's removed
> first command mirrored policy .

You can't have two policies in the same vhost with the same name (I 
assume "VHOST1" vs "HOST1" is a typo).

So the second command redefines the "ha-all" policy.

Prevent the name clash and you'll be good.

Cheers, Simon


More information about the rabbitmq-discuss mailing list