<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: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:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
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>Hi all,<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>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 class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>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 class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>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:<br>
<br>
<o:p></o:p></p>
<p class=MsoNormal><rsc_location id="bne-ldirectord-loc"
rsc="bne-ldirectord"><o:p></o:p></p>
<p class=MsoNormal><rule boolean-op="and"
id="bne-ldirectord-loc-rule" score="+INFINITY"><o:p></o:p></p>
<p class=MsoNormal><expression attribute="anycast-server-location"
id="bne-ldirectord-loc-rule-anycast-server-location"
operation="eq" value="brisbane"/><o:p></o:p></p>
<p class=MsoNormal><expression attribute="anycast-server-type" id="bne-ldirectord-loc-rule-anycast-server-type"
operation="eq" value="lb"/><o:p></o:p></p>
<p class=MsoNormal></rule><o:p></o:p></p>
<p class=MsoNormal></rsc_location><o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>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 class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>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 class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Thanks,<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>-Luke<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></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-family:"Arial","sans-serif"'><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-family:"Arial","sans-serif"'><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;color:#5C5C5C'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:8.0pt;color:#5C5C5C'><img border=0
width=251 height=29 id="Picture_x0020_34"
src="cid:image001.jpg@01CA3D2D.BE5514B0" alt=iseekbar.jpg><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:8.0pt;color:#5C5C5C'><o:p> </o:p></span></p>
<p class=MsoNormal><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.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:8.0pt;color:#5C5C5C'><o:p> </o:p></span></p>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>