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

Re: [Linux-cluster] How to configure resource dependency in service



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



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