Dependent resources
Ian Springer
ian.springer at redhat.com
Mon Oct 24 19:47:45 UTC 2011
We should also consider adding a first-class concept of managed resource
lifecycle management. The new plugin API could look something like:
interface LifecycleFacet {
boolean startManagedResource();
boolean stopManagedResource();
}
If we had this, along with defined relationships, either the Server or
the plugin container could orchestrate starting a managed Resource and
all its dependency Resources in the correct order. I think this would
allow us to provide generic support for dependency-aware Resource
lifecycle management, except for the case where the user wants to define
a set of Resources as runtime dependencies of their "application",
where that application is not represented as an RHQ Resource. That case
could require a server plugin and/or even further additions to the
domain model.
On 10/24/2011 02:34 PM, Heiko W.Rupp wrote:
> Am 24.10.2011 um 18:16 schrieb John Mazzitelli:
>
>> I think if we actually implement the relationship service, wouldn't that
>> also be another way to help implement this? Rather than use a server
>> side plugin (and its control operation) ?
> The relationship service could model the dependency graph, but just
> following those links is not enough, as you also need a driver to sit on top
> to drive all the operations to be triggered.
>
> The graph aso needs to be used for alert modeling - the app is down
> if one of its dependencies is down. This could allow for application-centric
> "dashboards", that only show the application - and when this is yellow or
> red, the user can then drill down into the dependent resources.
>
> I will start a wiki page to capture this.
>
> Heiko
>
> _______________________________________________
> rhq-devel mailing list
> rhq-devel at lists.fedorahosted.org
> https://fedorahosted.org/mailman/listinfo/rhq-devel
--
Ian Springer
Principal Software Developer
JBoss Operations Network
Red Hat
ian.springer at redhat.com
More information about the rhq-devel
mailing list