Hi Christopher,<br><br>We are trying to setup the HA for RabbitMQ with Corosync. We are able to install the corosync but not able to configure with RabbitMQ. We have tried to locate but not able to find where to configure. Please can you provide some pointers of steps to configure the RabbitMQ configuration files with Corosync.<br><br>Thanks in advance,<br>Sateesh B.<br><br>On Friday, January 27, 2012 11:19:05 PM UTC+5:30, Christopher Grebs wrote:<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hey there,<p>today we experimented with some high availability setup featuring <br>RabbitMQ + HA-Queues and Corosync. &nbsp;Currently we have this setup:</p><p>&nbsp; * 2 nodes named mq01ha and mq02ha</p><p>Both nodes have ha-ip addresses that move to the other node that is not <br>down so that all services can proceed, no matter to what node they are <br>connected.</p><p>Our test scenario:</p><p>One producer is pushing to mq01ha and one consumer is consuming from <br>mq01ha, the consumer is a bit slower so that messages pile up unacked.</p><p>Now we kill mq01ha by pusing the virtual power button (virtual maschines <br>are great!), corosync moves the ip from mq01ha to mq02ha and the <br>consumers and producers proceed with their work. &nbsp;This works great and <br>everything is fine again.</p><p>Now (and this is the part where I need your knowledge) we currently have <br>the setup that if mq01 starts up again the ip address moves back to mq01.</p><p>Now mq01 is back up, all consumers and producers are proceeding with <br>their work. &nbsp;But unfortunately in mq01 and mq02 all messages that were <br>unacked while mq01 gone down are still unacked and there is some not <br>existing connection open in the connections view on rabbitmq. This is <br>true for both, the web interface and for rabbitmqctl. Even if I shutdown <br>all consumers and producers this connection exists, so it's not related <br>to any real TCP connection.</p><p>I think that rabbitmq is not designed for this kind of scenario, but <br>maybe you can tell me more about what rabbitmq does. &nbsp;Maybe we found <br>some bug, I don't know.</p><p>What we are now planning is a simple setup with only one ha-ip that <br>moves from host to host only in failover so that - in theory - <br>everything should work properly again. &nbsp;But we have to check if then <br>again we have the problem that unacked messages stay unacked.</p><p>Hopefully I described this stuff clear enough :)</p><p><br>Thanks!</p><p>Cheers,<br>Christopher.</p><p>-- <br>Christopher Grebs<br>Data Processing Developer</p><p>Tel +49-30-611035-1664<br>Fax -49-30-611035-2652<br><a href="mailto:christopher.grebs@native-instruments.de" target="_blank">christopher.grebs@native-<wbr>instruments.de</a></p><p>NATIVE INSTRUMENTS GmbH<br>Schlesische Strasse 29-30<br>10997 Berlin, Germany</p><p><a href="http://www.native-instruments.com" target="_blank">http://www.native-instruments.<wbr>com</a></p><p></p><p>***</p><p>KOMPLETE 8 ULTIMATE - the premium NI producer collection<br>=&gt; &nbsp; <a href="http://www.native-instruments.com/komplete8" target="_blank">http://www.native-instruments.<wbr>com/komplete8</a></p><p>TRAKTOR KONTROL S2 - the professional 2.1 DJ system<br>=&gt; &nbsp; <a href="http://www.native-instruments.com/s2" target="_blank">http://www.native-instruments.<wbr>com/s2</a></p><p>-&gt;&gt;&gt;&gt;&gt;&gt; &nbsp;NATIVE INSTRUMENTS - The Future of Sound&lt;&lt;&lt;&lt;&lt;&lt;-</p><p>Registergericht: Amtsgericht Charlottenburg<br>Registernummer: HRB 72458<br>UST.-ID.-Nr. DE 20 374 7747</p><p>Geschäftsführung: Daniel Haver (CEO), Mate Galic</p><p>______________________________<wbr>_________________<br>rabbitmq-discuss mailing list<br><a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.<wbr>rabbitmq.com</a><br><a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/<wbr>cgi-bin/mailman/listinfo/<wbr>rabbitmq-discuss</a><br></p></blockquote>