Re: How to configure resource dependency in service

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

 



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


--
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