[Linux-cluster] independent subtree

Lon Hohberger lhh at redhat.com
Thu Feb 18 20:45:06 UTC 2010

On Sat, 2010-02-13 at 17:16 +0200, Kaloyan Kovachev wrote:
> Hello,
>  when __independent_subtree is used and the resource fails the services is not
> relocated after max_restarts. Is this a bug or is by design?
> Example:
> <service name="Web" domain="Web" autostart="1" max_restarts="2"
> restart_expire_time="1800">
> 	<ip address="" family="inet" monitor_link="1">
> 		<mysql name="Web_SQL" .../>
> 		<apache name="Web_Apache" __independent_subtree="1" .../>
> 	</ip>
> </service>
> the idea here is if MySQL have crashed mysqld_safe will restart it, but if
> there is a problem with Apache - to restart it without stopping MySQL. This
> works OK, but if there is a permanent problem with Apache (no access to the
> file system) it is restarted several times without the service being relocated
> to another node

By design.  There's a bugzilla open about adding per-resource restart
counters, it has not been implemented.

-- Lon

More information about the Linux-cluster mailing list