<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=Big5" http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    22.03.2011 4:56, <a class="moz-txt-link-abbreviated" href="mailto:cfk@itri.org.tw:">cfk@itri.org.tw:</a>
    <blockquote
      cite="mid:FCBC8737251CC642874608F0B9F664B22A2A28E903@MSX2.ITRI.DS"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=Big5">
      <meta name="Generator" content="Microsoft Word 11 (filtered
        medium)">
      <style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:新細明體;
        panose-1:2 2 3 0 0 0 0 0 0 0;}
@font-face
        {font-family:"\@新細明體";
        panose-1:2 2 3 0 0 0 0 0 0 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:#606420;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
 /* Page Definitions */
 @page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;
        layout-grid:18.0pt;}
div.Section1
        {page:Section1;}
 /* List Definitions */
 @list l0
        {mso-list-id:100926891;
        mso-list-type:hybrid;
        mso-list-template-ids:-1798900588 -2143103584 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-tab-stop:18.0pt;
        mso-level-number-position:left;
        margin-left:18.0pt;
        text-indent:-18.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
-->
</style>
      <div class="Section1" style="">
        <p class="MsoNormal"><font face="Arial" size="3"><span
              style="font-size: 12pt; font-family: Arial;" lang="EN-US"><o:p> </o:p></span></font></p>
        <p class="MsoNormal"><font face="Arial" size="3"><span
              style="font-size: 12pt; font-family: Arial;" lang="EN-US">I
              try to setup a simple STONITH-enabled 2-node
              Cluster, but failed. <o:p></o:p></span></font></p>
        <p class="MsoNormal"><font face="Arial" size="3"><span
              style="font-size: 12pt; font-family: Arial;" lang="EN-US"><o:p> </o:p></span></font></p>
        <p class="MsoNormal"><font face="Arial" size="3"><span
              style="font-size: 12pt; font-family: Arial;" lang="EN-US">I
              read the document, <a moz-do-not-send="true"
                href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a>,
              and execute the following CLI command<o:p></o:p></span></font></p>
        <p class="MsoNormal"><font face="Arial" size="3"><span
              style="font-size: 12pt; font-family: Arial;" lang="EN-US"><o:p> </o:p></span></font></p>
        <p class="MsoNormal"><font face="Arial" size="3"><span
              style="font-size: 12pt; font-family: Arial;" lang="EN-US">crm
              configure primitive rsa-fencing
              stonith:external/ibmrsa params hostname="alpha1 alpha2"
              ipaddr=192.168.75.178 userid=USR passwd=PWD type=ibm op
              monitor
              interval="60s"<o:p></o:p></span></font></p>
        <p class="MsoNormal"><font face="Arial" size="3"><span
              style="font-size: 12pt; font-family: Arial;" lang="EN-US"><o:p> </o:p></span></font></p>
        <p class="MsoNormal"><font face="Arial" size="3"><span
              style="font-size: 12pt; font-family: Arial;" lang="EN-US">The
              console print the ERROR message: “ERROR:
              rsa-fencing: parameter alpha2 does not exist”<o:p></o:p></span></font></p>
        <p class="MsoNormal"><font face="Arial" size="3"><span
              style="font-size: 12pt; font-family: Arial;" lang="EN-US"><o:p> </o:p></span></font></p>
      </div>
    </blockquote>
    <pre class="moz-signature" cols="72">
Currently, crm shell cannot handle quoted parameters with spaces from the command line. Try to enter it interactively:

#crm
crm(live)# configure
crm(live)configure# <font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;" lang="EN-US">primitive rsa-fencing \
> stonith:external/ibmrsa params hostname="alpha1 alpha2" \
> ipaddr=192.168.75.178 userid=USR passwd=PWD type=ibm \
> op monitor interval="60s"</span></font>


--
Pavel Levshin</pre>
  </body>
</html>