Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: OpenStack: Dev

Nova Pacemaker Resource Agents

 

 

OpenStack dev RSS feed   Index | Next | Previous | View Threaded


han.sebastien at gmail

Jul 2, 2012, 10:38 AM

Post #1 of 5 (161 views)
Permalink
Nova Pacemaker Resource Agents

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


trapni at gmail

Jul 3, 2012, 3:45 AM

Post #2 of 5 (154 views)
Permalink
Re: Nova Pacemaker Resource Agents [In reply to]

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.sebastien [at] gmail>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 [at] lists
> Unsubscribe : https://launchpad.net/~openstack
> More help : https://help.launchpad.net/ListHelp
>
>


han.sebastien at gmail

Jul 3, 2012, 4:35 AM

Post #3 of 5 (154 views)
Permalink
Re: Nova Pacemaker Resource Agents [In reply to]

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 <trapni [at] gmail> 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.sebastien [at] gmail>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 [at] lists
>> Unsubscribe : https://launchpad.net/~openstack
>> More help : https://help.launchpad.net/ListHelp
>>
>>
>


trapni at gmail

Jul 3, 2012, 7:09 AM

Post #4 of 5 (152 views)
Permalink
Re: Nova Pacemaker Resource Agents [In reply to]

On Tue, Jul 3, 2012 at 1:35 PM, Sébastien Han <han.sebastien [at] gmail>wrote:

> 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?
>

Hey,

and yes, I did start already, and have an intial work of it, but since I
did not
yet actually put it into Pacemaker somewhere, I did not share it yet.
But you may feel free in checking: http://trapni.de/~trapni/FloatingIP
In case you do improvements to this script, please share :-)

Cheers,
Christian.


han.sebastien at gmail

Jul 3, 2012, 12:47 PM

Post #5 of 5 (151 views)
Permalink
Re: Nova Pacemaker Resource Agents [In reply to]

Ok thanks! I will have a look :D

We keep in touch ;)


On Tue, Jul 3, 2012 at 4:09 PM, Christian Parpart <trapni [at] gmail> wrote:

> On Tue, Jul 3, 2012 at 1:35 PM, Sébastien Han <han.sebastien [at] gmail>wrote:
>
>> 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?
>>
>
> Hey,
>
> and yes, I did start already, and have an intial work of it, but since I
> did not
> yet actually put it into Pacemaker somewhere, I did not share it yet.
> But you may feel free in checking: http://trapni.de/~trapni/FloatingIP
> In case you do improvements to this script, please share :-)
>
> Cheers,
> Christian.
>

OpenStack dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.