[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[Linux-cluster] How to configure resource dependency in service
- From: Vlad Seagal <vseagal liquidnet com>
- To: linux clustering <linux-cluster redhat com>
- Subject: [Linux-cluster] How to configure resource dependency in service
- Date: Wed, 24 Oct 2007 12:00:01 -0400
Title: [Linux-cluster] How to configure resource dependency in service
Hi All,
I’m trying to configure cluster service that would include the following resources:
GFS, IP, script (webserver).
<service autostart="1" domain="node1-fail" exclusive="0" name="webserver" recovery="restart">
<clusterfs ref="GFS"/>
<ip ref="10.17.123.226"/>
<script ref="webserver"/>
</service>
I put them into the service without any dependency and it works, but I need to have a control of which resource starts after which.
I need to have the following dependency: GFS -->IP-->webserver
I tried to add shared resource “IP” to the “GFS” and then added shared resource “webserver” to the “IP” resource.
So it became like that: GFS
|-->IP
|-->Webserver
The cluster starts GFS, then starts IP but doesn’t start webserver.
I tried to run the following scenario: GFS
|-->IP
|-->Webserver
Where “IP” and “Webserver” are children of the “GFS”, but that doesn’t work as well.
Am I doing something wrong or is it a limitation of the cluster?
How to setup the dependency?
Thanks,
Vlad.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]