<!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="#000000">
Alfredo,<br>
    Thanks!  That was very helpful, although I have a couple more
questions for the list.  What I am trying to do seems well suited for
the existing "depend" and "depend-mode" capability.  Essentially, I'm
trying to use this to "group" services.  So, assume I have 3 services:
A, B, and C (in my case, A is an IP service, B and C both have an fs
and a script resource).  I want B and C to depend on A such that B and
C will only start on the node where A is running.  I assume I can do
this by:<br>
<br>
<tt>   <service autostart="1" name="B" recovery="relocate"
depend="service:A" depend-mode="hard"><br>
      <fs ... /><br>
      <script .../><br>
    </service><br>
<br>
    <service autostart="1" name="C" depend="service:A"
depend-mode="hard"><br>
      <fs .../><br>
      <script .../><br>
    </service><br>
<br>
    <service autostart="1" name="A" recovery="relocate"><br>
      <ip ref="xxx.xxx.xxx.xxx"/><br>
    </service></tt><br>
<br>
Unfortunately, this didn't work as expected.  If I start A on node 1,
services B and C seem perfectly happy to run on any other node.  If a
coerce everybody on the same node, and relocate (or disable A),
services B and C continue on blissfully ignoring the status of A.  Do I
need to write and event handler for this situation (which seems much
simpler than the follow-service script)?<br>
<br>
Again, thanks in advance!<br>
<br>
-- scooter<br>
<br>
Moralejo, Alfredo wrote:
<blockquote
 cite="mid:FD716ADFEE797543AA8B2AB0B3F9148E019E4AB303@rkamsem701.emea.roche.com"
 type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta name="Generator" content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PersonName">
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
  <style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";
        color:black;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EstiloCorreo17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.Section1
        {page:Section1;}
-->
  </style><!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
  </o:SmartTagType>
  <div class="Section1">
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;">Take a look
into<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;"><o:p> </o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;"><a
 moz-do-not-send="true"
 href="https://inquiries.redhat.com/go/redhat/ReferenceArchitectureSAPClusterSuite">https://inquiries.redhat.com/go/redhat/ReferenceArchitectureSAPClusterSuite</a><o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;"><o:p> </o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;">Deploying
Highly Available SAP Servers
using Red Hat Cluster Suite<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;"><o:p> </o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;">Gives some
example about dependencies on
services etc..<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;"><o:p> </o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;">A very good
document<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;"><o:p> </o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;"><o:p> </o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;"><o:p> </o:p></span></font></p>
  <div>
  <div class="MsoNormal" style="text-align: center;" align="center"><font
 color="black" face="Times New Roman" size="3"><span
 style="font-size: 12pt; color: windowtext;" lang="ES">
  <hr tabindex="-1" align="center" size="2" width="100%"></span></font></div>
  <p class="MsoNormal"><b><font color="black" face="Tahoma" size="2"><span
 style="font-size: 10pt; font-family: Tahoma; color: windowtext; font-weight: bold;"
 lang="ES">From:</span></font></b><font color="black" face="Tahoma"
 size="2"><span
 style="font-size: 10pt; font-family: Tahoma; color: windowtext;"
 lang="ES"> <a class="moz-txt-link-abbreviated" href="mailto:linux-cluster-bounces@redhat.com">linux-cluster-bounces@redhat.com</a>
[<a class="moz-txt-link-freetext" href="mailto:linux-cluster-bounces@redhat.com">mailto:linux-cluster-bounces@redhat.com</a>] <b><span
 style="font-weight: bold;">On
Behalf Of </span></b>Scooter Morris<br>
  <b><span style="font-weight: bold;">Sent:</span></b> Thursday, July
23, 2009
11:08 PM<br>
  <b><span style="font-weight: bold;">To:</span></b> <st1:PersonName
 w:st="on">linux clustering</st1:PersonName><br>
  <b><span style="font-weight: bold;">Subject:</span></b>
[Linux-cluster]
Dependencies in resources</span></font><font color="black"><span
 style="color: windowtext;" lang="ES"><o:p></o:p></span></font></p>
  </div>
  <p class="MsoNormal"><font color="black" face="Times New Roman"
 size="3"><span style="font-size: 12pt;"><o:p> </o:p></span></font></p>
  <p class="MsoNormal" style="margin-bottom: 12pt;"><font color="black"
 face="Times New Roman" size="3"><span style="font-size: 12pt;">Hi all,<br>
    I saw in a message on the net about a <b><span
 style="font-weight: bold;">depends="service:xxxx" </span></b>option
for
services in cluster.conf for 5.3beta.  Did this single-level dependency
support make it into the 5.3 release?  It would be really, really
useful
if it did!  If not, can anyone suggest a way that I can have a multiple
services depend on a single IP?<br>
  <br>
Thanks in advance!<br>
  <br>
-- scooter<o:p></o:p></span></font></p>
  </div>
  <pre wrap="">
<hr size="4" width="90%">
--
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>