[rabbitmq-discuss] HA and database schema changes

Steve Haneman shaneman at adobe.com
Tue Sep 21 19:08:56 BST 2010


Thanks for the reply Vlad.  Is there any possible way to migrate the mnesia db or do live upgrades without bringing down a HA RabbitMQ cluster?
I'm looking specifically at the Pacemaker/Corosync/drdb HA RabbitMQ cluster configuration.

--Steve

From: Vlad Alexandru Ionescu [mailto:vlad at rabbitmq.com]
Sent: Wednesday, September 15, 2010 8:32 AM
To: Steve Haneman
Cc: rabbitmq-discuss at lists.rabbitmq.com
Subject: Re: [rabbitmq-discuss] HA and database schema changes


Hi Steve,

There is currently no easy way to migrate the database.

In general, it is advisable to use the same code which you first used to create the exchanges, queues etc. on the new version of Rabbit to reconstruct your setup.
In order to migrate messages, you would have to use the rabbitmq-shovel plugin, which would consume messages from the old broker and would publish them into the new one (you must come up with a sensible configuration, depending on you setup).

Hope that answers your question.

Rgds,
Vlad.



On 09/14/2010 09:28 PM, Steve Haneman wrote:
Hello,

I was looking over the release notes for "Release: RabbitMQ 2.0.0" and saw the following:

http://lists.rabbitmq.com/pipermail/rabbitmq-announce/attachments/20100825/2c672695/attachment.txt

Upgrading
=========
The database schema and the format in which persistent messages are
stored have both changed since the last release (1.8.1). When
starting, the RabbitMQ server will detect the existence of an old
database and will move it to a backup location, before creating a
fresh, empty database, and will log a warning. If your RabbitMQ
installation contains important data then we recommend you contact
support at ... for assistance with the upgrade.

We are considering deploying a HA RabbitMQ cluster with Pacemaker and DRBD.  HA is very important for us.
If there is a database schema change in the future, specifically what is the process for the upgrade and how does it affect HA during the upgrade?
Also during the upgrade, how do we maintain durable exchanges and queues?

Thanks,
   Steve





_______________________________________________

rabbitmq-discuss mailing list

rabbitmq-discuss at lists.rabbitmq.com<mailto:rabbitmq-discuss at lists.rabbitmq.com>

https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20100921/e512165c/attachment.htm>


More information about the rabbitmq-discuss mailing list