On 2007-10-12T15:36:51, Daniel X Moore <[EMAIL PROTECTED]> wrote:

> Hi All,
>
> I didn't manage to explain myself well enough last time, so I'll try to ask 
> a simpler question.
>
> I'm trying to find a way to implement special behaviour for when an _entire 
> resource group_ is stopped or started.

I think I see what you want. You want the CRM to "aggregate" your
resources automatically, to help handling sub-resources.

Alas, this is not currently possible as such.

If you describe the actual use case & work load, maybe we can make a
suggestion which would be possible?

One possible suggestion:

Use a "base" resource to start the master daemon/umbrella instance
(whatever you want to call it). Use resources which depend on that one
(colocated & ordered) and which correspond to the sub-resources in your
setup (assuming they can be started in parallel).

But yes, what you want seems to be currently only doable w/o the
streamlining and aggregation. The aggregation seems an interesting
feature, but it's not part of the OCF RA interface, so it's hard to
implement generically.

(It could be implemented as a special case of globally_unique clones, I
think. (Andrew will kill me for suggesting that). But, that would either
require you to develop the code and/or pay someone to do it, and I'm
not sure how generally useful it is.)



Regards,
    Lars

-- 
Teamlead Kernel, SuSE Labs, Research and Development
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to