[Linux-cluster] Multiple resource dependencies

Lon Hohberger lhh at redhat.com
Fri Sep 18 18:33:03 UTC 2009


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.

rgmanager has explicit ordering guarantees wrt file systems and scripts;
look in /usr/share/cluster/service.sh or at:

http://sources.redhat.com/cluster/wiki/ResourceTrees


-- Lon




More information about the Linux-cluster mailing list