Hi,<div><br></div><div>Managing a resource via LSB only checks the PID. If the PID exists the service is running but it's not enough because it doesn't mean that the service is truly functionnal. However OCF agents offer more features like fine monitoring (scripting).</div>


<div>I'm not sure to understand your question about Rabbit-MQ but if the question was: "How do you monitor the connection of each service to Rabbit-MQ?", here is the answer:</div><div><br></div><div>The RA monitors the connection state (ESTABLISHED) between the service (nova-scheduler, nova-cert, nova-consoleauth) and rabbit-MQ according to the PID of the process.</div>


<div><br></div><div>By the way, did you start with the floating IP OCF agent?</div><div><br></div><div>Cheers.<br>
<br><br><div class="gmail_quote">On Tue, Jul 3, 2012 at 12:45 PM, Christian Parpart <span dir="ltr"><<a href="mailto:trapni@gmail.com" target="_blank">trapni@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


Hey,<div><br></div><div>that's great, but how do you handle RabbitMQ in-between?</div><div><br></div><div>I kind of achieved it w/o OCF agents but used native upstart support of Pacemaker, however,</div><div>OCF's are much more nicer, and still, I'd be interested in how you solved the RabbitMQ issue.</div>



<div><br></div><div>Best regards,</div><div>Christian Parpart.</div><div><br><div class="gmail_quote"><div><div>On Mon, Jul 2, 2012 at 7:38 PM, Sébastien Han <span dir="ltr"><<a href="mailto:han.sebastien@gmail.com" target="_blank">han.sebastien@gmail.com</a>></span> wrote:<br>



</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>Hi everyone,
<div><br></div><div>For those of you who want to achieve HA in nova. I wrote some resource agents according to the OCF specification. The RAs available are:</div><div><ul><li>nova-scheduler</li><li>nova-api</li><li>novnc</li>






<li>nova-consoleauth</li><li>nova-cert</li></ul><div>The how-to is available here: <a href="http://www.sebastien-han.fr/blog/2012/07/02/openstack-nova-components-ha/" target="_blank">http://www.sebastien-han.fr/blog/2012/07/02/openstack-nova-components-ha/</a> and the RAs on my Github <a href="https://github.com/leseb/OpenStack-ra" target="_blank">https://github.com/leseb/OpenStack-ra</a></div>






</div><div><br></div><div>Those RAs mainly re-use the structure of the resource agent written by Martin Gerhard Loschwitz from Hastexo.</div><div><br></div><div>Hope it helps!</div><div><br></div><div>Cheers.</div><div><br>






</div><div>~Seb</div><div><br></div>
<br></div></div>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>