<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000066">
Hey there Lon,<br>
<br>
May I ask you what exactly it is that provisioning
_independent_subtrees does? Haven't seen it documented (and have read
voraciously...).<br>
<br>
A sincere thank you to you,<br>
<br>
Dusty<br>
<br>
Lon Hohberger wrote:
<blockquote cite="mid:1266525906.23427.1718.camel@localhost.localdomain"
 type="cite">
  <pre wrap="">On Sat, 2010-02-13 at 17:16 +0200, Kaloyan Kovachev wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">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="192.168.1.1" 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
    </pre>
  </blockquote>
  <pre wrap=""><!---->
By design.  There's a bugzilla open about adding per-resource restart
counters, it has not been implemented.

-- Lon

--
Linux-cluster mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Linux-cluster@redhat.com">Linux-cluster@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/linux-cluster">https://www.redhat.com/mailman/listinfo/linux-cluster</a>

  </pre>
</blockquote>
<br>
</body>
</html>