[Openstack] High Available queues in rabbitmq

Jay Pipes jaypipes at gmail.com
Mon Jul 23 18:27:38 UTC 2012


On 07/23/2012 09:02 AM, Alessandro Tagliapietra wrote:
> Hi guys,
> 
> just an idea, i'm deploying Openstack trying to make it HA.
> The missing thing is rabbitmq, which can be easily started in
> active/active mode, but it needs to declare the queues adding an
> x-ha-policy entry.
> http://www.rabbitmq.com/ha.html
> It would be nice to add a config entry to be able to declare the queues
> in that way.
> If someone know where to edit the openstack code, else i'll try to do
> that in the next weeks maybe.

https://github.com/openstack/openstack-common/blob/master/openstack/common/rpc/impl_kombu.py

You'll need to add the config options there and the queue is declared
here with the options supplied to the ConsumerBase constructor:

https://github.com/openstack/openstack-common/blob/master/openstack/common/rpc/impl_kombu.py#L114

Best,
-jay




More information about the Openstack mailing list