Re: only one service fails-over out of two depended services.

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

 



>        <service autostart="1" exclusive="0" name="service1"
> recovery="relocate" priority="1">
>            <ip ref="10.1.1.1"/>
>            <lvm ref="lvm1"/>
>            <fs ref="fs1"/>
>        </service>
>        <service autostart="1" exclusive="0" name="service2"
> recovery="relocate" depend="service:service1" depend_mode="hard"
> priority="2">
>            <script ref="scriptsresource"/>
>        </service>

If I change the order of the services in cluster.conf I get "better" results.

I put the dependent service first (service2 before service1).

No at least  when the active node fails, the cluster tries to start
service2. Since it can't start without service1 (the startup script
returns -1) it puts it in failed state. Then it tries to start
service1, and after starting it successfully it starts service2.

-- 
Glisha

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