<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor=white lang=EN-US link=blue vlink=purple>
<div class=WordSection1>
<p class=MsoNormal><span style='color:#1F497D'>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?<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>I’m looking specifically at
the Pacemaker/Corosync/drdb HA RabbitMQ cluster configuration.<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>--Steve<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:windowtext'> Vlad Alexandru Ionescu
[mailto:vlad@rabbitmq.com] <br>
<b>Sent:</b> Wednesday, September 15, 2010 8:32 AM<br>
<b>To:</b> Steve Haneman<br>
<b>Cc:</b> rabbitmq-discuss@lists.rabbitmq.com<br>
<b>Subject:</b> Re: [rabbitmq-discuss] HA and database schema changes<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><br>
Hi Steve,<br>
<br>
There is currently no easy way to migrate the database.<br>
<br>
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.<br>
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).<br>
<br>
Hope that answers your question.<br>
<br>
Rgds,<br>
Vlad.<br>
<br>
<br>
<br>
On 09/14/2010 09:28 PM, Steve Haneman wrote: <o:p></o:p></p>
<p class=MsoNormal>Hello,<o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal>I was looking over the release notes for “Release:
RabbitMQ 2.0.0” and saw the following:<o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal style='margin-left:.5in'><a
href="http://lists.rabbitmq.com/pipermail/rabbitmq-announce/attachments/20100825/2c672695/attachment.txt">http://lists.rabbitmq.com/pipermail/rabbitmq-announce/attachments/20100825/2c672695/attachment.txt</a><o:p></o:p></p>
<p class=MsoNormal style='margin-left:.5in'> <o:p></o:p></p>
<p class=MsoNormal style='margin-left:.5in'>Upgrading <br>
========= <br>
The database schema and the format in which persistent messages are <br>
stored have both changed since the last release (1.8.1). When <br>
starting, the RabbitMQ server will detect the existence of an old <br>
database and will move it to a backup location, before creating a <br>
fresh, empty database, and will log a warning. If your RabbitMQ <br>
installation contains important data then we recommend you contact <br>
support@... for assistance with the upgrade.<o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal>We are considering deploying a HA RabbitMQ cluster with
Pacemaker and DRBD. HA is very important for us.<o:p></o:p></p>
<p class=MsoNormal>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?<o:p></o:p></p>
<p class=MsoNormal>Also during the upgrade, how do we maintain durable
exchanges and queues?<o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal>Thanks,<o:p></o:p></p>
<p class=MsoNormal> Steve<o:p></o:p></p>
<pre><o:p> </o:p></pre><pre><o:p> </o:p></pre><pre>_______________________________________________<o:p></o:p></pre><pre>rabbitmq-discuss mailing list<o:p></o:p></pre><pre><a
href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><o:p></o:p></pre><pre><a
href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><o:p></o:p></pre><pre> <o:p></o:p></pre></div>
</body>
</html>