A guiding principle for cluser suite is that an ha service (resource group) 
should be able to fail over w/o impacting any other RG. 

To accomplish what you want, simply put your init scripts in a single RG. For a 
complex scenario, you will probably need to write a custom script that combines 
the individual init scripts.

And: consider whether your goal is really the best approach. It may be, but 
then again it may have the ultimate impact of reducing availability. This 
reduction is a byproduct of failure outcomes.

Hth,
-paul

Sent via BlackBerry by AT&T

-----Original Message-----
From: Gianluca Cecchi <[email protected]>

Date: Thu, 5 Feb 2009 10:30:07 
To: <[email protected]>
Subject: [Linux-cluster] interdependency between different services possible?


Can I have parent-child relations between different services of a cluster?
Can I have placement policies relations between different services?
It seems this is not covered inside the manuals, at least for rh el 5.2

An example could be if I have:
service 1 with several fs resources on it and a virtual ip
service 2 with an application insisting on the file systems and ip
defined in service1, so that I want service 2 to start on the same
node of service 1 or not at all

I would like to keep the app resource of service 2 separate form the
ones in service 1, for example to be able to stop the app but keeping
the shared file systems and ip still accessible
(if the app is a db I could do a backup of its files disabling service
2, but it applies also for maintenance operations)
In this way I could run a
clusvcadm -d service2
and make what I want on the still mounted filesystems provided by
service1, accessing them with the cluster ip from a client

Any hints on making this or something similar?
Thanks,
Gianluca

--
Linux-cluster mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-cluster

--
Linux-cluster mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-cluster

Reply via email to