On 06/09/2011 10:58 AM, Steven Dake wrote:
On 06/09/2011 05:56 AM, Mark McLoughlin wrote:
> > gOn Thu, 2011-06-09 at 08:45 -0400, Perry Myers wrote:
>> >> I've got Deployable with 3 Assemblies, and I want to monitor
specific
>> >> services/daemons for availability (a web server, a database, etc)
>> >>
>> >> The template defines things like "install httpd on this
assembly" and
>> >> the build/boot 'services' may do things like "configure
httpd to run on
>> >> the assembly", but nowhere is there a specification for
>> >>
>> >> * what daemons/services to I continually monitor on the running VM?
>> >> * what script do I use to monitor that daemon/service?
>> >> + by default might be an init script on Linux, but could also be a
>> >> Resource Agent
>> >> + By default would be 'net status' command on Windows, but
might need
>> >> a different command for certain applications
>> >>
>> >> So it seems like what we need are 3 things:
>> >>
>> >> * build time configuration scripts (called 'services' already)
>> >> * post-boot configuration scripts (called 'services' already)
>> >> * runtime services that need to be monitored for availability
>> >> + this could be called a service or a resource, so if we want to
>> >> differentiate here we could just use the term resource which is
>> >> what it's called in most cluster stacks anyhow)
> >
> > I've never heard runtime system service availability monitoring
> > discussed in the context of deployables or templates before now.
> >
> > Am I missing some context here?
> >
Active monitoring of services, assemblies, and deployables is a critical
feature...
Have a look at:
http://www.pacemaker-cloud.org
I.e. Steven should be able to add an HA 'service' descriptor to
assemblies and deployable indicating this deployable is HA or conforms
to one of the policies on slide 28 of the deck at the link.
I.e. once the info is there for post boot, he should be able to define
his service types and then add in the testing of his HA pieces. Steve
also needs the DeltaCloudAPI integrated onto Conductor.
Carl.