<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:m="http://schemas.microsoft.com/office/2004/12/omml" 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:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@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:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","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
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="2050" />
</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-AU link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Thanks Andrew, the Heartbeat ldirectord RA isn't the best, I've
modified it for my purposes and will submit a patch to Linux HA.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><b><span lang=EN-US style='font-size:14.0pt;font-family:
"Arial","sans-serif";color:#0B53B6'>Luke Bigum<o:p></o:p></span></b></p>
<p class=MsoNormal><b><span lang=EN-US style='font-size:9.0pt;font-family:"Arial","sans-serif";
color:#3989F3'>Systems Administrator<o:p></o:p></span></b></p>
<p class=MsoNormal><span lang=EN-US style='font-size:8.0pt;font-family:"Arial","sans-serif";
color:#5C5C5C'> (p) 1300 661 668<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:8.0pt;font-family:"Arial","sans-serif";
color:#5C5C5C'> (f) 1300 661 540<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:8.0pt;font-family:"Arial","sans-serif";
color:#5C5C5C'>(e) </span><span style='font-size:11.0pt;font-family:"Arial","sans-serif";
color:#1F497D'><a href="mailto:lbigum@iseek.com.au"><span lang=EN-US
style='font-size:8.0pt;color:#3989F3'>lbigum@iseek.com.au</span></a></span><span
lang=EN-US style='font-size:8.0pt;font-family:"Arial","sans-serif";color:#5C5C5C'><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";
color:#1F497D'><a href="http://www.iseek.com.au/"><span lang=EN-US
style='font-size:8.0pt;color:#3989F3'>http://www.iseek.com.au</span></a></span><span
lang=EN-US style='font-size:8.0pt;font-family:"Arial","sans-serif";color:#3989F3'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:8.0pt;font-family:"Arial","sans-serif";
color:#5C5C5C'>Level 1, 100 Ipswich Road Woolloongabba QLD 4102<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:8.0pt;font-family:"Calibri","sans-serif";
color:#5C5C5C'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:8.0pt;font-family:"Calibri","sans-serif";
color:#5C5C5C'><img border=0 width=251 height=29 id="Picture_x0020_34"
src="cid:image001.jpg@01CA4033.1BF03FC0" alt=iseekbar.jpg><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:8.0pt;font-family:"Calibri","sans-serif";
color:#5C5C5C'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:8.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>This e-mail and any files transmitted with it may contain
confidential and privileged material for the sole use of the intended
recipient. Any review, use, distribution or disclosure by others is strictly
prohibited. If you are not the intended recipient (or authorised to receive for
the recipient), please contact the sender by reply e-mail and delete all copies
of this message.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:8.0pt;font-family:"Calibri","sans-serif";
color:#5C5C5C'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> Andrew Beekhof [mailto:andrew@beekhof.net] <br>
<b>Sent:</b> Thursday 24 September 2009 4:51 PM<br>
<b>To:</b> pacemaker@oss.clusterlabs.org<br>
<b>Subject:</b> Re: [Pacemaker] cluster attempting to stop resources that
aren't installed<o:p></o:p></span></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>The RA needs to return $OCF_ERR_INSTALLED instead of any
other erorr code.<o:p></o:p></p>
<div>
<p class=MsoNormal style='margin-bottom:12.0pt'>Check the configuration
explained doc for what the error codes mean and how they're handled. <o:p></o:p></p>
<div>
<p class=MsoNormal>On Thu, Sep 24, 2009 at 7:53 AM, Luke Bigum <<a
href="mailto:lbigum@iseek.com.au">lbigum@iseek.com.au</a>> wrote:<o:p></o:p></p>
<div>
<div>
<p>Hi all,<o:p></o:p></p>
<p> <o:p></o:p></p>
<p>I have a problem with a four node asymmetric CentOS 5 pacemaker 1.0.5 /
heartbeat 3.0.0 cluster.<o:p></o:p></p>
<p> <o:p></o:p></p>
<p>Two nodes are for ldirectord, the other two for services, currently only DNS
while testing. My problem is that CRM / LRM thinks that an
ocf:heartbeat:ldirectord resource is running on the dns nodes and is attempting
to stop / cleanup the resource when there isn't any ldirectord software
installed or configured on these nodes. This fails, putting the resource in an
unmanaged state. Reset fail counts and clean it up again and it repeats
the same thing - tries to stop the resource and goes unmanaged.<o:p></o:p></p>
<p> <o:p></o:p></p>
<p style='margin-bottom:12.0pt'>At the moment there's no location constraint so
the resource shouldn't try run anywhere (asymmetric), however I did have one
before with the same result: the cluster would attempt to do
"something" with ldirectord on the DNS nodes and get itself
unmanaged. This is the XML I had for that constraint:<o:p></o:p></p>
<p><rsc_location id="bne-ldirectord-loc"
rsc="bne-ldirectord"><o:p></o:p></p>
<p><rule boolean-op="and" id="bne-ldirectord-loc-rule"
score="+INFINITY"><o:p></o:p></p>
<p><expression attribute="anycast-server-location"
id="bne-ldirectord-loc-rule-anycast-server-location"
operation="eq" value="brisbane"/><o:p></o:p></p>
<p><expression attribute="anycast-server-type"
id="bne-ldirectord-loc-rule-anycast-server-type"
operation="eq" value="lb"/><o:p></o:p></p>
<p></rule><o:p></o:p></p>
<p></rsc_location><o:p></o:p></p>
<p> <o:p></o:p></p>
<p>I've experimented with lrmadmin -D on the offending nodes but no success.
Basically the only way I can return the cluster to a nicely managed state is to
install ldirectord on the DNS nodes and touch an empty configuration file, but
I don't really want to do this, especially if I plan on putting many different
kinds of services on this cluster.<o:p></o:p></p>
<p> <o:p></o:p></p>
<p>I vaguely remember reading about someone with a similar problem but I can't
find that post. Attached is a hb_report if you'd like to peruse. Any help is
greatly appreciated.<o:p></o:p></p>
<p> <o:p></o:p></p>
<p>Thanks,<o:p></o:p></p>
<p> <o:p></o:p></p>
<p>-Luke<o:p></o:p></p>
<p> <o:p></o:p></p>
<p><b><span lang=EN-US style='font-size:14.0pt;color:#0B53B6'>Luke Bigum</span></b><o:p></o:p></p>
<p><b><span lang=EN-US style='font-size:9.0pt;color:#3989F3'>Systems
Administrator</span></b><o:p></o:p></p>
<p><span lang=EN-US style='font-size:8.0pt;color:#5C5C5C'> (p) 1300 661
668</span><o:p></o:p></p>
<p><span lang=EN-US style='font-size:8.0pt;color:#5C5C5C'> (f) 1300
661 540</span><o:p></o:p></p>
<p><span lang=EN-US style='font-size:8.0pt;color:#5C5C5C'>(e) </span><a
href="mailto:lbigum@iseek.com.au" target="_blank"><span lang=EN-US
style='font-size:8.0pt;color:#3989F3'>lbigum@iseek.com.au</span></a><o:p></o:p></p>
<p><a href="http://www.iseek.com.au/" target="_blank"><span lang=EN-US
style='font-size:8.0pt;color:#3989F3'>http://www.iseek.com.au</span></a><o:p></o:p></p>
<p><span lang=EN-US style='font-size:8.0pt;color:#5C5C5C'>Level 1, 100 Ipswich
Road Woolloongabba QLD 4102</span><o:p></o:p></p>
<p><span lang=EN-US style='font-size:8.0pt;color:#5C5C5C'> </span><o:p></o:p></p>
<p><span style='font-size:8.0pt;color:#5C5C5C'><img border=0 width=251
height=29 id="_x0000_i1025" src="cid:image001.jpg@01CA4033.1BF03FC0"
alt=iseekbar.jpg></span><o:p></o:p></p>
<p><span style='font-size:8.0pt;color:#5C5C5C'> </span><o:p></o:p></p>
<p><span style='font-size:8.0pt;color:#1F497D'>This e-mail and any files
transmitted with it may contain confidential and privileged material for the
sole use of the intended recipient. Any review, use, distribution or disclosure
by others is strictly prohibited. If you are not the intended recipient (or
authorised to receive for the recipient), please contact the sender by reply
e-mail and delete all copies of this message.</span><o:p></o:p></p>
<p><span lang=EN-US style='font-size:8.0pt;color:#5C5C5C'> </span><o:p></o:p></p>
<p> <o:p></o:p></p>
</div>
</div>
<p class=MsoNormal style='margin-bottom:12.0pt'><br>
_______________________________________________<br>
Pacemaker mailing list<br>
<a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><o:p></o:p></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</div>
</body>
</html>