How to configure resource dependency in service

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Title: 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.
--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux