Eslam, what sort of state do you need to transfer from the old cluster to the new cluster?<div><br></div><div>For messages, you will need to use shovel or a simple client to consume messages from your old cluster and publish them to your new cluster.</div>
<div><br></div><div>If it&#39;s bindings and so on, ideally these are codified in your client code anyway and will be established when the clients connect to the new cluster. If this isn&#39;t the case, you can use the &#39;import/export definitions&#39; functionality from the management interface overview, with possible hand tweaks to the exported json to ensure queue distribution/node locality before importing to the new cluster.</div>
<div><br></div><div>Be aware that if you go the route of copying the�/var/lib/rabbitmq directory as you suggested, the source and destination hostnames of the machines you&#39;re copying from/to need to be identical due to mnesia requirements,�</div>
<div><br></div><div>- Brendan</div><div><br></div><br><div class="gmail_quote">On Thu, Apr 5, 2012 at 9:24 PM, Matthias Radestock <span dir="ltr">&lt;<a href="mailto:matthias@rabbitmq.com">matthias@rabbitmq.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Eslam,<div class="im"><br>
<br>
On 05/04/12 20:19, Eslam Mamdouh wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
mmh, i see but what about old cluster data that exists in<br>
/var/lib/rabbitmq , should i have a copy of them in the new cluster with<br>
version 2.8.1-1<br>
</blockquote>
<br></div>
Yes, you could set up the new cluster with a copy of the old cluster&#39;s data as a starting point. Though you do of course need to consider what to do about any changes made to such data between the time the copy is taken and the switch to the new cluster takes place.<div class="HOEnZb">
<div class="h5"><br>
<br>
Matthias.<br>
______________________________<u></u>_________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.<u></u>rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/<u></u>cgi-bin/mailman/listinfo/<u></u>rabbitmq-discuss</a><br>
</div></div></blockquote></div><br>