[Linux-cluster] How to configure resource dependency in service
Lon Hohberger
lhh at redhat.com
Thu Oct 25 17:47:36 UTC 2007
On Wed, 2007-10-24 at 15:21 -0400, Vlad Seagal wrote:
> As you see the resource webserver doesn't get started at all.
>
> Here is the snap from the /etc/cluster/cluster.conf:
>
> <service autostart="1" domain="node1-fail" exclusive="0" name="webserver"
> recovery="restart">
> <clusterfs ref="GFS">
> <ip ref="10.17.123.226">
> <script ref="webserver"/>
> </ip>
> </clusterfs>
> </service>
That should work as well. If it doesn't, try running:
clusvcadm -d webserver
rg_test test /etc/cluster/cluster.conf start service webserver
(before re-enabling, run:)
rg_test test /etc/cluster/cluster.conf stop service webserver
-- Lon
More information about the Linux-cluster
mailing list