Hi, 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). 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:
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. By the way, did you start with the floating IP OCF agent? Cheers. On Tue, Jul 3, 2012 at 12:45 PM, Christian Parpart <tra...@gmail.com> wrote: > Hey, > > that's great, but how do you handle RabbitMQ in-between? > > I kind of achieved it w/o OCF agents but used native upstart support of > Pacemaker, however, > OCF's are much more nicer, and still, I'd be interested in how you solved > the RabbitMQ issue. > > Best regards, > Christian Parpart. > > On Mon, Jul 2, 2012 at 7:38 PM, Sébastien Han <han.sebast...@gmail.com>wrote: > >> Hi everyone, >> >> 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: >> >> - nova-scheduler >> - nova-api >> - novnc >> - nova-consoleauth >> - nova-cert >> >> The how-to is available here: >> http://www.sebastien-han.fr/blog/2012/07/02/openstack-nova-components-ha/ and >> the RAs on my Github https://github.com/leseb/OpenStack-ra >> >> Those RAs mainly re-use the structure of the resource agent written by >> Martin Gerhard Loschwitz from Hastexo. >> >> Hope it helps! >> >> Cheers. >> >> ~Seb >> >> >> _______________________________________________ >> Mailing list: https://launchpad.net/~openstack >> Post to : openstack@lists.launchpad.net >> Unsubscribe : https://launchpad.net/~openstack >> More help : https://help.launchpad.net/ListHelp >> >> >
_______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp