[Linux-cluster] Multiple resource dependencies

Johnson, Eric Eric.Johnson at mtsallstream.com
Mon Sep 14 16:19:07 UTC 2009


Hi Theophanis,

Thank you for the link. That answers my question. The default ordering
of rgmanager should handle what I want (file systems before scripts,
scripts done in the order they appear). I won't even need to use
parent/child relationships.

Eric

>________________________________________
>From: Theophanis Kontogiannis
[mailto:theophanis_kontogiannis at yahoo.com] 
>Sent: Monday, September 14, 2009 10:59 AM
>To: linux clustering
>Cc: Johnson, Eric
>Subject: Re: [Linux-cluster] Multiple resource dependencies
>
>Hello Eric and All,
>
>I think what will solve your problem is resource tree ordering in
>cluster.conf.
>
>You can get all the details that will have you started here:
>
>http://sources.redhat.com/cluster/wiki/ResourceTrees
>
>Hope it helps.
>
>Best Regards,
>
>Theophanis Kontogiannis
>
>
>>On Mon, 2009-09-14 at 10:11 -0500, Johnson, Eric wrote: 
>>
>>I know how to make multiple resources dependent on a single, parent
>>resource, but how is it done the other way around?
>>
>>For example, I have 5 file system resources, and 2 script resources.
In
>>my service description, I want to make sure that the script resources
>>are dependent on all 5 fs resources. In other words, the scripts don't
>>start unless all 5 file systems are mounted, and the file systems
don't
>>attempt to unmount until both script resources have shut down
>>successfully.
>>
>>Thanks,
>>Eric





More information about the Linux-cluster mailing list