<br><br><div class="gmail_quote">2009/11/12 äÉÍÉÔßÒ âÏÊΠ<span dir="ltr"><<a href="mailto:dboyn@postpath.com">dboyn@postpath.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">










<div lang="EN-US" link="blue" vlink="purple">

<div>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Thanks, Andrew!</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">/sbin/dlm_controld is provided by cman-2.0.115-1.el5_4.2.x86_64</span></p></div></div></blockquote><div><br></div><div>That version is not compatible with pacemaker. Sorry.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div lang="EN-US" link="blue" vlink="purple"><div>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">However I am getting in /var/log/messages a lot of:</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">“Nov 12 19:36:14 gppst1pbf001 dlm_controld[31980]: connect
to ccs error -111, check ccsd or cluster status”</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">And from ccsd:</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">“Nov 12 19:38:33 gppst1pbf001 ccsd[16673]: Cluster is not
quorate.  Refusing connection.</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Nov 12 19:38:33 gppst1pbf001 ccsd[16673]: Error while processing
connect: Connection refused</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Nov 12 19:38:34 gppst1pbf001 ccsd[16673]: Unable to connect to
cluster infrastructure after 2280 seconds.”</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">My speculation here is that while my cluster is Pacemaker the defaults
in CentOS expect RedHat clustering.</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Do you know how to rewire what is provided by RedHat to the Pacemaker
context?</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">In addition following RedHat cLVMD guide I configured in my
lvm.conf:</span></p>

<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">#
Miscellaneous global LVM2 settings</span></p>

<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">global
{</span></p>

<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">   
library_dir = "/usr/lib64"</span></p>

<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">   
locking_library = "liblvm2clusterlock.so"</span></p>

<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">… 
< text deleted > …</span></p>

<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">   
locking_type = 2</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">“</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">But I could find </span><span style="font-size:10.0pt;font-family:"Courier New"">liblvm2clusterlock.so</span><span style="font-size:11.0pt;color:#1F497D"> installed –
neither can yum find this provided by any package? </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Thanks once again!</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">./Dimitar Boyn</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">

<p class="MsoNormal" style="margin-left:36.0pt"><b><span style="font-size:10.0pt">From:</span></b><span style="font-size:10.0pt"> Andrew Beekhof [mailto:<a href="mailto:andrew@beekhof.net" target="_blank">andrew@beekhof.net</a>] <br>

<b>Sent:</b> Thursday, November 12, 2009 6:01 AM<br>
<b>To:</b> <a href="mailto:pacemaker@clusterlabs.org" target="_blank">pacemaker@clusterlabs.org</a><br>
<b>Cc:</b> <a href="mailto:pacemaker@clusterlabs.org" target="_blank">pacemaker@clusterlabs.org</a><br>
<b>Subject:</b> Re: [Pacemaker] Pacemaker+LVM2+DLM+CLVMD under CentOS 5.3</span></p>

</div><div><div></div><div class="h5">

<p class="MsoNormal" style="margin-left:36.0pt"> </p>

<p class="MsoNormal" style="margin-right:0cm;margin-bottom:12.0pt;margin-left:36.0pt"> </p>

<div>

<p class="MsoNormal" style="margin-left:36.0pt">2009/11/11 äÉÍÉÔßÒ âÏÊΠ<<a href="mailto:dboyn@postpath.com" target="_blank">dboyn@postpath.com</a>></p>

<div>

<div>

<p class="MsoNormal" style="margin-left:36.0pt">Hi,</p>

<p class="MsoNormal" style="margin-left:36.0pt">Has anybody successfully configured Pacemaker+LVM2+DLM+CLVMD
under CentOS 5.3?</p>

</div>

</div>

<div>

<p class="MsoNormal" style="margin-left:36.0pt"> </p>

</div>

<div>

<p class="MsoNormal" style="margin-left:36.0pt">I don't think the kernel for 5.3
is recent enough.</p>

</div>

<div>

<p class="MsoNormal" style="margin-left:36.0pt">The DLM needs 2.6.27 or greater.</p>

</div>

<div>

<p class="MsoNormal" style="margin-left:36.0pt"> </p>

</div>

<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">

<div>

<div>

<p class="MsoNormal" style="margin-left:36.0pt">I am running pacemaker-1.0.4-23.1 previously available
 from  <span style="font-size:10.0pt;font-family:"Courier New CYR";color:white"><a href="http://download.opensuse.org/repositories/server:/ha-clustering/CentOS_5/x86_64/" target="_blank">http://download.opensuse.org/repositories/server:/ha-clustering/CentOS_5/x86_64/</a></span></p>


<p class="MsoNormal" style="margin-left:36.0pt">I need to enable cluster controlled LVM locking.</p>

<p class="MsoNormal" style="margin-left:36.0pt">Novel have released a great document at <a href="http://www.novell.com/documentation/sle_ha/pdfdoc/book_sleha/book_sleha.pdf" target="_blank">http://www.novell.com/documentation/sle_ha/pdfdoc/book_sleha/book_sleha.pdf</a>
</p>

<p style="margin-left:36.0pt">-<span style="font-size:7.0pt">         
</span>however CentOS repository is missing the appropriate lvm2-cluster
related packages. </p>

<p class="MsoNormal" style="margin-left:36.0pt">I tried “compromising” by using from CentOS:</p>

<p class="MsoNormal" style="margin-left:36.0pt">For DLM:</p>

<p class="MsoNormal" style="margin-left:36.0pt">cman-2.0.98-1.el5.x86_64.rpm      
</p>

<p class="MsoNormal" style="margin-left:36.0pt">perl-XML-LibXML-Common-0.13-8.2.2.x86_64.rpm    
</p>

<p class="MsoNormal" style="margin-left:36.0pt">pexpect-2.3-1.el5.noarch.rpm</p>

<p class="MsoNormal" style="margin-left:36.0pt">perl-Net-Telnet-3.03-5.noarch.rpm  </p>

<p class="MsoNormal" style="margin-left:36.0pt">perl-XML-NamespaceSupport-1.09-1.2.1.noarch.rpm</p>

<p class="MsoNormal" style="margin-left:36.0pt">perl-XML-LibXML-1.58-5.x86_64.rpm  </p>

<p class="MsoNormal" style="margin-left:36.0pt">perl-XML-SAX-0.14-5.noarch.rpm</p>

<p class="MsoNormal" style="margin-left:36.0pt"> </p>

<p class="MsoNormal" style="margin-left:36.0pt">For LVM2-Cluster</p>

<p class="MsoNormal" style="margin-left:36.0pt">lvm2-2.02.46-8.el5.x86_64.rpm</p>

<p class="MsoNormal" style="margin-left:36.0pt">device-mapper-1.02.32-1.el5.i386.rpm    </p>

<p class="MsoNormal" style="margin-left:36.0pt">device-mapper-event-1.02.32-1.el5.x86_64.rpm </p>

<p class="MsoNormal" style="margin-left:36.0pt">lvm2-cluster-2.02.46-8.el5.x86_64.rpm</p>

<p class="MsoNormal" style="margin-left:36.0pt">device-mapper-1.02.32-1.el5.x86_64.rpm</p>

<p class="MsoNormal" style="margin-left:36.0pt"> </p>

<p class="MsoNormal" style="margin-left:36.0pt">But I fail starting dlm resource</p>

<p class="MsoNormal" style="margin-left:36.0pt"> </p>

<p class="MsoNormal" style="margin-left:36.0pt">primitive dlm ocf:pacemaker:controld \</p>

<p class="MsoNormal" style="margin-left:36.0pt">        meta
target-role="Started"</p>

<p class="MsoNormal" style="margin-left:36.0pt">clone dlm-clone dlm \</p>

<p class="MsoNormal" style="margin-left:36.0pt">        meta
target-role="Started" interleave="true" ordered="true"</p>

<p class="MsoNormal" style="margin-left:36.0pt"> </p>

<p class="MsoNormal" style="margin-left:36.0pt">#crm_verify –LV</p>

<p class="MsoNormal" style="margin-left:36.0pt">crm_verify[21447]: 2009/11/11_02:51:05 ERROR:
unpack_rsc_op: Hard error - dlm:0_monitor_0 failed with rc=5: Preventing
dlm-clone from re-starting on gppst1mlb001</p>

<p class="MsoNormal" style="margin-left:36.0pt">crm_verify[21447]: 2009/11/11_02:51:05 ERROR:
unpack_rsc_op: Hard error - dlm:0_monitor_0 failed with rc=5: Preventing
dlm-clone from re-starting on gppst1pbf001</p>

<p class="MsoNormal" style="margin-left:36.0pt">crm_verify[21447]: 2009/11/11_02:51:05 ERROR:
unpack_rsc_op: Hard error - dlm:0_monitor_0 failed with rc=5: Preventing
dlm-clone from re-starting on gppst1node003</p>

<p class="MsoNormal" style="margin-left:36.0pt"> </p>

<p class="MsoNormal" style="margin-left:36.0pt">Any ideas are highly appreciated!</p>

<p class="MsoNormal" style="margin-left:36.0pt"> </p>

<table border="0" cellspacing="0" cellpadding="0" style="margin-left:36.0pt;background:#F2F4F3">
 <tbody><tr style="min-height:58.5pt">
  <td style="padding:0cm 0cm 0cm 0cm;min-height:58.5pt">
  <table border="0" cellspacing="0" cellpadding="0" width="540" style="width:405.0pt">
   <tbody><tr style="min-height:58.5pt">
    <td colspan="2" style="padding:0cm 0cm 0cm 0cm">
    <p class="MsoNormal"><img border="0" width="540" height="78" src="cid:image001.jpg@01CA638C.0DEEB740" alt="Cisco WebEx"></p>
    </td>
   </tr>
   <tr style="min-height:96.75pt">
    <td width="218" nowrap rowspan="2" valign="top" style="width:163.5pt;background:#F4F4F4;padding:7.5pt 0cm 7.5pt 18.0pt;min-height:96.75pt">
    <p class="MsoNormal"><b><span style="font-size:8.5pt;color:#666666">Dimitar Boyn</span></b><span style="font-size:8.5pt;color:#666666"><br>
    <b>Technical Marketing Engineer</b><br>
    <b>Collaboration Software Group<br>
    </b><br>
    <a href="mailto:diboyn@cisco.com" target="_blank"><span style="color:#666666">diboyn@cisco.com</span></a><br>
    Phone: <b>+1(408)566-4265</b><br>
    Mobile: <b>+1(650)996-9008</b></span></p>
    </td>
    <td width="322" valign="top" style="width:241.5pt;padding:0cm 0cm 0cm 0cm;min-height:96.75pt">
    <p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:8.5pt;color:#666666">WebEx Communications, Inc.</span></b><span style="font-size:8.5pt;color:#666666"><br>
    3979 Freedom Circle<br>
    Santa Clara, CA 95054<br>
    United States<br>
    <a href="http://www.webex.com" target="_blank"><span style="color:#666666">www.webex.com</span></a></span></p>
    </td>
   </tr>
   <tr style="min-height:37.5pt">
    <td valign="bottom" style="padding:0cm 0cm 0cm 0cm;min-height:37.5pt">
    <p class="MsoNormal"><img width="121" height="50" src="cid:image002.jpg@01CA638C.0DEEB740" align="right" alt="webex_artwork3_footer"></p>
    </td>
   </tr>
  </tbody></table>
  </td>
 </tr>
</tbody></table>

<p class="MsoNormal" style="margin-left:36.0pt"><span style="color:black"> </span></p>

<table border="0" cellspacing="0" cellpadding="0" width="540" style="width:405.0pt;margin-left:36.0pt">
 <tbody><tr>
  <td style="padding:0cm 0cm 0cm 0cm">
  <p class="MsoNormal"><img border="0" width="540" height="1" src="cid:image003.gif@01CA638C.0DEEB740" alt="http://www.cisco.com/global/EMEA/brand/signature/default/footerHead.gif"></p>
  </td>
 </tr>
</tbody></table>

<p class="MsoNormal" style="margin-left:36.0pt"><span style="color:black"> </span></p>

<table border="0" cellspacing="0" cellpadding="0" width="540" style="width:405.0pt;margin-left:36.0pt">
 <tbody><tr>
  <td style="padding:3.75pt 18.0pt 0cm 18.0pt">
  <p class="MsoNormal"><span style="font-size:7.5pt;color:#009900"><img border="0" width="18" height="19" src="cid:image004.gif@01CA638C.0DEEB740" alt="Think before you print."> Think before you print.</span></p>
  </td>
 </tr>
 <tr>
  <td style="padding:5.25pt 18.0pt 4.5pt 18.0pt">
  <p class="MsoNormal"><span style="font-size:7.5pt;color:#999999">This e-mail 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 authorized to receive for the
  recipient), please contact the sender by reply e-mail and delete all copies
  of this message.</span></p>
  </td>
 </tr>
</tbody></table>

<p class="MsoNormal" style="margin-left:36.0pt"> </p>

<p class="MsoNormal" style="margin-left:36.0pt"> </p>

</div>

</div>

<p class="MsoNormal" style="margin-right:0cm;margin-bottom:12.0pt;margin-left:36.0pt"><br>
_______________________________________________<br>
Pacemaker mailing list<br>
<a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">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></p>

</blockquote>

</div>

<p class="MsoNormal" style="margin-left:36.0pt"> </p>

</div></div></div>

</div>


<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><br>
<br></blockquote></div><br>