[Pacemaker] Upstart resources

Jake Smith jsmith at argotec.com
Tue Feb 21 16:56:25 UTC 2012


Florian,

Np thanks for adding - I was asking because the exit codes on the upstart jobs I'm using didn't align (I believe) with the LSB spec and I wasn't sure if they were supposed to.  Haven't really seen the level of documentation (as LSB resource) for upstart resources.  I would assume since they are Ubuntu specific.  Mine seems to be working OK so far but haven't stressed it yet. 

----- Original Message -----
> From: "Florian Haas" <florian at hastexo.com>
> To: "The Pacemaker cluster resource manager" <pacemaker at oss.clusterlabs.org>
> Sent: Tuesday, February 21, 2012 10:30:27 AM
> Subject: Re: [Pacemaker] Upstart resources
> 
> Jake,
> 
> sorry, I missed your original post due to travel; let me toss in one
> more thing here:
> 
> On Tue, Feb 21, 2012 at 3:32 PM, Jake Smith <jsmith at argotec.com>
> wrote:
> >> > Are upstart jobs expected to conform to the LSB spec with
> >> > regards
> >> > to exit codes, etc?
> >> > Is there any reference documentation using upstart resources in
> >> > Pacemaker?
> >> > Or any good advice :-)
> >>
> >> Newer versions of pacemaker and lrmd are able to deal with upstart
> >> resources via dbus.
> 
> Only if the LRM is compiled with --enable-upstart, of course. Which,
> to the best of my knowledge, is only set on the Ubuntu builds (and
> Ubuntu builds are currently the only ones for which this makes sense
> to set, obviously).
> 
> This, however, requires that you run with an updated libglib2 package

Don't I know it - this one caused other issues for me too when it wasn't properly updated!

> (again, only on Ubuntu). All of that should be available either in
> the
> upstream Ubuntu repos or, for the current LTS, in the
> ubuntu-ha-maintainers PPA.[1]

LTS - yes, PPA - yes, ask why - only if it's missing on the next LTS! :-)

Jake 

> 
> Hope this helps.
> 
> Cheers,
> Florian
> 
> [1] "Why do I need to use a PPA if this release is ostensibly on
> long-term support?" Don't ask me, ask someone from Canonical. :)
> 
> --
> Need help with High Availability?
> http://www.hastexo.com/now
> 
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started:
> http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
> 
> 




More information about the Pacemaker mailing list