<div dir="ltr">Hy Simon,<div><br></div><div>Sorry but my knowledge of mnesia, erlang is close to nothing so I dont understand your answer. My goal is to extract message and put them back un RabbitMQ.</div><div>I know nothing about erlang, do you please tell my how to extract message. If I have datas I can arrange them in json to use RabbitMQ submit api.</div>
<div><br></div><div>Thank you for your help.</div><div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/8/8 Simon MacMullen <span dir="ltr"><<a href="mailto:simon@rabbitmq.com" target="_blank">simon@rabbitmq.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You can pull records out of Mnesia, but bear in mind that messages are stored in RabbitMQ's message store, not Mnesia. And really RabbitMQ is the only thing that can read that in a practical sense.<br>
<br>
Cheers, Simon<div class="im"><br>
<br>
On 08/08/2013 1:08PM, Guillaume Vernat wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Ok. I will try and let you know...<br>
<br>
And my other question is there a way to export datas from mnesia db ?<br>
<br>
<br></div>
2013/8/8 Simon MacMullen <<a href="mailto:simon@rabbitmq.com" target="_blank">simon@rabbitmq.com</a> <mailto:<a href="mailto:simon@rabbitmq.com" target="_blank">simon@rabbitmq.com</a>>><div class="im"><br>
<br>
Hi.<br>
<br>
It looks like we managed to release a version 3.1.4 which is not<br>
compatible with other 3.1.x versions in the same cluster. Damn.<br>
<br>
So if you upgrade *all* the nodes in the cluster to 3.1.4, and<br>
restore the /var/lib/rabbitmq/mnesia on all the nodes, then things<br>
should work.<br>
<br>
Cheers, Simon<br>
<br>
<br>
On 08/08/2013 11:54AM, Guillaume Vernat wrote:<br>
<br>
Hy Simon,<br>
<br>
I really needed this cluster up. So, after making a copy of<br>
/var/lib/rabbitmq/mnesia I rebuild cluster.<br>
Now it's ok going on 3.1.4<br>
<br>
How can I export messages from the copy in order to have them<br>
back in<br>
the cluster ?<br>
<br>
Guillaume VERNAT<br>
<br>
<br>
2013/8/8 Guillaume Vernat <<a href="mailto:verenate@verenate.com" target="_blank">verenate@verenate.com</a><br>
<mailto:<a href="mailto:verenate@verenate.com" target="_blank">verenate@verenate.com</a>><br></div>
<mailto:<a href="mailto:verenate@verenate.com" target="_blank">verenate@verenate.com</a> <mailto:<a href="mailto:verenate@verenate.com" target="_blank">verenate@verenate.com</a>><u></u>>__><div class="im">
<br>
<br>
<br>
Hy Simmons, thank you for your answer.<br>
<br>
The cluster was : amqp105/amqp107 and amqp108 (ram). Main<br>
node is<br>
105 and I stated update with it.<br>
107 and 108 were runnning during update. I join the log file<br>
starting errors where :<br>
<br>
Error description:<br></div>
{error,{incompatible_bytecode,<u></u>__"Incompatible Erlang<div class="im"><br>
bytecode<br>
found on nodes"}}<br>
<br>
<br>
<br>
<br>
2013/8/8 Simon MacMullen <<a href="mailto:simon@rabbitmq.com" target="_blank">simon@rabbitmq.com</a><br>
<mailto:<a href="mailto:simon@rabbitmq.com" target="_blank">simon@rabbitmq.com</a>><br></div>
<mailto:<a href="mailto:simon@rabbitmq.com" target="_blank">simon@rabbitmq.com</a> <mailto:<a href="mailto:simon@rabbitmq.com" target="_blank">simon@rabbitmq.com</a>>>><div class="im"><br>
<br>
<br>
Huh. You should not need to stop the cluster to do a minor<br>
version upgrade like that. What error are you seeing?<br>
<br>
Cheers, Simon<br>
<br>
<br>
On 08/08/2013 9:25AM, Guillaume Vernat wrote:<br>
<br>
Hy,<br>
<br>
I try to up upgrade a cluster from 3.1.3 to 3.1.4<br>
on debian<br>
wheezy.<br>
apt-get update<br>
apt-get dist-upgrade<br>
<br>
but upgrade fail because I did not stop the cluster<br>
nodes :(<br>
I finally stop the other cluster nodes but it was<br>
too late<br>
for the first<br>
one.<br>
<br>
How can I start back the first node ?<br>
I already touch<br>
<br></div>
/var/lib/rabbitmq/mnesia/<____<u></u>node>/nodes_running_at_____<u></u>shutdown,<div class="im"><br>
<br>
rabbit_serial, cluster_nodes.config but it fail again.<br>
<br>
Guillaume<br>
<br>
<br></div>
______________________________<u></u>_____________________<br>
rabbitmq-discuss mailing list<br>
rabbitmq-discuss@lists.__<a href="http://rabbi__tmq.com" target="_blank">rabbi<u></u>__tmq.com</a><br>
<<a href="http://rabbitmq.com" target="_blank">http://rabbitmq.com</a>><br>
<mailto:<a href="mailto:rabbitmq-discuss@" target="_blank">rabbitmq-discuss@</a>__<a href="http://lists.rabbitmq.com" target="_blank">lis<u></u>ts.rabbitmq.com</a><br>
<mailto:<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@<u></u>lists.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>
<<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>><div class="im">
<br>
<br>
<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>
<<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>
<br>
<br>
--<br>
Simon MacMullen<br>
RabbitMQ, Pivotal<br>
<br>
</div></blockquote><div class="HOEnZb"><div class="h5">
<br>
-- <br>
Simon MacMullen<br>
RabbitMQ, Pivotal</div></div></blockquote></div>
</div></div></div>