<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 12 (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]--><style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
 /* List Definitions */
 @list l0
        {mso-list-id:1041636917;
        mso-list-type:hybrid;
        mso-list-template-ids:-1270072328 110026736 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
        {mso-level-start-at:12;
        mso-level-number-format:bullet;
        mso-level-text:-;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Calibri","sans-serif";
        mso-fareast-font-family:Calibri;
        mso-bidi-font-family:"Times New Roman";}
@list l0:level2
        {mso-level-tab-stop:1.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level3
        {mso-level-tab-stop:1.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level4
        {mso-level-tab-stop:2.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level5
        {mso-level-tab-stop:2.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level6
        {mso-level-tab-stop:3.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level7
        {mso-level-tab-stop:3.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level8
        {mso-level-tab-stop:4.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level9
        {mso-level-tab-stop:4.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
-->
</style><!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="3074" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="Section1">
<p class="MsoNormal"><span style="color:#1F497D">So, it seems that res-a is actually being promoted to Master _<i>before</i>_ res-b or res-c actually finish starting. The start operation is issued for both of them, but the promotion should not occur until they
 actually finish starting. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Also, this is accepted by the validation system:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">      <rsc_colocation id="res-a-not-master-on-node1-if-res-b-stopped" score="-INFINITY"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">        <resource_set id="res-a-not-master-on-node1-set-1" role="Master"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">          <resource_ref id="res-a"/><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">        </resource_set><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">        <resource_set id="res-a-not-master-on-node1-set-2" role="Stopped"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">          <resource_ref id="res-b"/><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">        </resource_set><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">      </rsc_colocation><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">However, it does not actually work the way I would expect. It simply prevents res-a from starting on node1 at all. Coupled with the previous discovery, this seems to indicate that the role=”Started” and role=”Stopped”
 are both completely ignored. I cannot find anything in the documentation that says it is supported, but it parses properly.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">It would be really nice to support this.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D">Eliot Gable<br>
Senior Engineer<br>
1228 Euclid Ave, Suite 390<br>
Cleveland, OH 44115<br>
<br>
Direct: 216-373-4808<br>
Fax: 216-373-4657<br>
</span><span style="font-size:12.0pt;font-family:"Times New Roman","serif";
color:#1F497D"><a href="mailto:egable@broadvox.net"><span style="font-size:
10.0pt;font-family:"Arial","sans-serif"">egable@broadvox.net</span></a><br>
<br>
</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";
color:#1F497D"><img border="0" width="180" height="57" id="_x0000_i1027" src="cid:image001.gif@01C9C9C3.1154B6E0" alt="cid:212454920@11022008-1E22"></span><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Arial","sans-serif";
color:#1F497D">CONFIDENTIAL COMMUNICATION.  This e-mail and any files transmitted with it are confidential and are intended solely for the use of the individual or entity
 to whom it is addressed. If you are not the intended recipient, please call me immediately.  BROADVOX is a registered trademark of Broadvox, LLC.<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Eliot Gable [mailto:egable@broadvox.net]
<br>
<b>Sent:</b> Thursday, April 30, 2009 5:58 PM<br>
<b>To:</b> pacemaker@clusterlabs.org<br>
<b>Subject:</b> [Pacemaker] Force a Master resource off a node if another resource fails<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Let’s say I have these requirements: <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo2"><![if !supportLists]><span style="mso-list:Ignore">-<span style="font:7.0pt "Times New Roman"">         
</span></span><![endif]>a master/slave resource called res-a<o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo2"><![if !supportLists]><span style="mso-list:Ignore">-<span style="font:7.0pt "Times New Roman"">         
</span></span><![endif]>a normal resource called res-b that runs on node1 only<o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo2"><![if !supportLists]><span style="mso-list:Ignore">-<span style="font:7.0pt "Times New Roman"">         
</span></span><![endif]>a normal resource called res-c that runs on node2 only<o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo2"><![if !supportLists]><span style="mso-list:Ignore">-<span style="font:7.0pt "Times New Roman"">         
</span></span><![endif]>res-b and res-c both do the same thing, but they are configured as separate resources so I can refer to each individually<o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo2"><![if !supportLists]><span style="mso-list:Ignore">-<span style="font:7.0pt "Times New Roman"">         
</span></span><![endif]>res-a must be started before res-b or res-c start<o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo2"><![if !supportLists]><span style="mso-list:Ignore">-<span style="font:7.0pt "Times New Roman"">         
</span></span><![endif]>res-a can only be promoted to Master on node1 if res-b is running<o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo2"><![if !supportLists]><span style="mso-list:Ignore">-<span style="font:7.0pt "Times New Roman"">         
</span></span><![endif]>res-a can only be promoted to Master on node2 if res-c is running<o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo2"><![if !supportLists]><span style="mso-list:Ignore">-<span style="font:7.0pt "Times New Roman"">         
</span></span><![endif]>res-a prefers node1 to be Master<o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo2"><![if !supportLists]><span style="mso-list:Ignore">-<span style="font:7.0pt "Times New Roman"">         
</span></span><![endif]>If res-a is Master on node1 and res-b fails, res-a should move to node2 if res-c is running<o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo2"><![if !supportLists]><span style="mso-list:Ignore">-<span style="font:7.0pt "Times New Roman"">         
</span></span><![endif]>If res-a is Master on node2 and res-c fails, res-a should move to node1 if res-b is running<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">How would I set up the constraints? <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">This should make res-a prefer node1 over node2, but allow res-a to fail over to node2:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">      <rsc_location id="res-a-location" rsc="res-a"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">        <rule id="res-a-location-rule-1" score="500"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">          <expression id="res-a-location-rule-1-exp" attribute="#uname" operation="eq" value="node1"/><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">        </rule><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">        <rule id="res-a-location-rule-2" score="0"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">          <expression id="res-a-location-rule-2-exp" attribute="#uname" operation="eq" value="node2"/><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">        </rule><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">      </rsc_location><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal">This should make res-b run only on node1:<o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">      <rsc_location id="res-b-location" rsc="res-b"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">        <rule id="res-b-location-rule-1" score="INFINITY"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">          <expression id="res-b-location-rule-1-exp" attribute="#uname" operation="eq" value="node1"/><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">        </rule><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">        <rule id="res-b-location-rule-2" score="-INFINITY"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">          <expression id="res-b-location-rule-2-exp" attribute="#uname" operation="eq" value="node2"/><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">        </rule><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">      </rsc_location><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal">This should make res-c run only on node2:<o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">      <rsc_location id="res-c-location" rsc="res-c"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">        <rule id="res-c-location-rule-1" score="-INFINITY"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">          <expression id="res-c-location-rule-1-exp" attribute="#uname" operation="eq" value="node1"/><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">        </rule><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">        <rule id="res-c-location-rule-2" score="INFINITY"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">          <expression id="res-c-location-rule-2-exp" attribute="#uname" operation="eq" value="node2"/><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">        </rule><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">      </rsc_location><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal">This should make res-a start before res-b starts:<o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">      <rsc_order id="order-res-a-first-then-b"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">        <resource_set id="res-a-set-1" sequential="true"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">          <resource_ref id="res-a"/><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">        </resource_set><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">        <resource_set id="res-b-set" sequential="false"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">          <resource_ref id="res-b"/><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">        </resource_set><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">      </rsc_order><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal">This should make res-a start before res-c starts:<o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">      <rsc_order id="order-res-a-first-then-c"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">        <resource_set id="res-a-set-2" sequential="true"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">          <resource_ref id="res-a"/><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">        </resource_set><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">        <resource_set id="res-c-set" sequential="false"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">          <resource_ref id="res-c"/><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">        </resource_set><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">      </rsc_order><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal">This should make res-a only run as Master on node1 if res-b is started and make it prefer node1:<o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">      <rsc_colocation id="res-a-prefers-node1" score="500"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">        <resource_set id="res-a-prefers-node1-set-1" role="Master"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">          <resource_ref id="res-a"/><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">        </resource_set><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">        <resource_set id="res-a-prefers-node1-set-2" role="Started"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">          <resource_ref id="res-b"/><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">        </resource_set><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">      </rsc_colocation><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal">This should make res-a only run as Master on node1 if res-c is started and make it not prefer node2:<o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">      <rsc_colocation id="res-a-not-prefer-node2" score="250"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">        <resource_set id="res-a-not-prefer-node2-set-1" role="Master"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">          <resource_ref id="res-a"/><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">        </resource_set><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">        <resource_set id="res-a-not-prefer-node2-set-2" role="Started"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">          <resource_ref id="res-c"/><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">        </resource_set><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">      </rsc_colocation><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I do see res-a starting before b and c, and I do see it being promoted to master on node1. I also see res-b starting on node1 only and res-c on node2 only.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">However, based on these constraints, I would expect that if I forced res-b to fail when res-a is Master on node1, then res-a should switch to Master on node2. Once that is done, then I would expect res-b to restart on node1 and res-a to
 stay Master on node2 (because of stickiness). <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Instead, if I cause res-b to fail, it simply restarts res-b. Is there something I am missing in this logic? Do I need another constraint to force it over to node2 if res-b fails? Do I need another constraint to force it to node1 if res-c
 fails on node2?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks for any assistance you can provide.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D">Eliot Gable<br>
Senior Engineer<br>
1228 Euclid Ave, Suite 390<br>
Cleveland, OH 44115<br>
<br>
Direct: 216-373-4808<br>
Fax: 216-373-4657<br>
</span><span style="font-size:12.0pt;font-family:"Times New Roman","serif";
color:#1F497D"><a href="mailto:egable@broadvox.net"><span style="font-size:
10.0pt;font-family:"Arial","sans-serif"">egable@broadvox.net</span></a><br>
<br>
</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";
color:#1F497D"><img border="0" width="180" height="57" id="Picture_x0020_1" src="cid:image001.gif@01C9C9C3.1154B6E0" alt="cid:212454920@11022008-1E22"></span><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Arial","sans-serif"">CONFIDENTIAL COMMUNICATION.  This e-mail and any files transmitted with it are confidential and are intended solely for the use of the individual or entity to whom it is addressed.
 If you are not the intended recipient, please call me immediately.  BROADVOX is a registered trademark of Broadvox, LLC.<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><o:p> </o:p></span></p>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">
<hr size="2" width="100%" align="center">
</span></div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial","sans-serif";
color:gray">CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient.</span><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><o:p></o:p></span></p>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1">CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient.<br>
</font>
</body>
</html>