<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi All,<div> I am new to pacemaker and trying to port some of the CRM commands to PCS(for RHEL6.4). Getting following issue:</div><div><br></div><div>original command:</div><div><br></div><div><p class="MsoNormal">primitive <span style="background:yellow;mso-highlight:yellow">app-prim</span>
ocf:appprim:appmm-ra \<o:p></o:p></p>
<p class="MsoNormal"> params appmm_health_check_port="55000" appmm_instance_name="INSTANCE_NAME" \<o:p></o:p></p>
<p class="MsoNormal"> op start
interval="0" timeout="60s" \<o:p></o:p></p>
<p class="MsoNormal"> op stop
interval="0" timeout="60s" \<o:p></o:p></p>
<p class="MsoNormal"> op monitor
interval="1s" timeout="5s"<o:p></o:p></p><p class="MsoNormal"><br></p><p class="MsoNormal">to following PCs command:</p><p class="MsoNormal"><br></p><p class="MsoNormal"><span style="font-size:9.5pt;line-height:115%;
font-family:"Courier New";mso-fareast-font-family:Calibri;mso-fareast-theme-font:
minor-latin;background:#FEF9F2;mso-ansi-language:EN-US;mso-fareast-language:
EN-US;mso-bidi-language:AR-SA">pcs resource create <span style="font-family: Calibri, sans-serif; font-size: 16px; line-height: normal; background-color: rgb(255, 255, 0);">app-prim</span>_ocf:<span style="font-family: Calibri, sans-serif; font-size: 16px; line-height: normal; background-color: rgb(255, 255, 255);">appprim:appmmra</span> apigw_health_check_port=55000 <span style="font-family: Calibri, sans-serif; font-size: 16px; line-height: normal; background-color: rgb(255, 255, 255);">appmm</span><span style="font-family: Calibri, sans-serif; font-size: 16px; line-height: normal; background-color: rgb(255, 255, 255);">_instance_name</span>=appgw op stop
interval=0 timeout=60s op monitor interval=1s timeout=5s </span><span style="background-color: rgb(254, 249, 242); font-family: 'Courier New'; font-size: 13px; line-height: 14.566666603088379px;">op start interval=0 timeout=60s</span><span style="background-color: rgb(254, 249, 242); font-family: 'Courier New'; font-size: 13px; line-height: 14.566666603088379px;"> </span></p><p class="MsoNormal"><span style="font-size:9.5pt;line-height:115%;
font-family:"Courier New";mso-fareast-font-family:Calibri;mso-fareast-theme-font:
minor-latin;background:#FEF9F2;mso-ansi-language:EN-US;mso-fareast-language:
EN-US;mso-bidi-language:AR-SA"><br></span></p><p class="MsoNormal"><span style="font-size:9.5pt;line-height:115%;
font-family:"Courier New";mso-fareast-font-family:Calibri;mso-fareast-theme-font:
minor-latin;background:#FEF9F2;mso-ansi-language:EN-US;mso-fareast-language:
EN-US;mso-bidi-language:AR-SA">but somehow this converted command is not working.</span></p><p class="MsoNormal"><span style="font-size:9.5pt;line-height:115%;
font-family:"Courier New";mso-fareast-font-family:Calibri;mso-fareast-theme-font:
minor-latin;background:#FEF9F2;mso-ansi-language:EN-US;mso-fareast-language:
EN-US;mso-bidi-language:AR-SA"><br></span></p><p class="MsoNormal"><span style="font-size:9.5pt;line-height:115%;
font-family:"Courier New";mso-fareast-font-family:Calibri;mso-fareast-theme-font:
minor-latin;background:#FEF9F2;mso-ansi-language:EN-US;mso-fareast-language:
EN-US;mso-bidi-language:AR-SA">The main issue is use of "op" parameter with pcs command.</span></p><p class="MsoNormal"><span style="font-size:9.5pt;line-height:115%;
font-family:"Courier New";mso-fareast-font-family:Calibri;mso-fareast-theme-font:
minor-latin;background:#FEF9F2;mso-ansi-language:EN-US;mso-fareast-language:
EN-US;mso-bidi-language:AR-SA">only the first command i.e. "</span><span style="background-color: rgb(254, 249, 242); font-family: 'Courier New'; font-size: 13px; line-height: 14.566666603088379px;">op stop interval=0 timeout=60s" is effective. rest of the <b>operations(op) are not effective at all.</b></span></p><p class="MsoNormal"><span style="background-color: rgb(254, 249, 242); font-family: 'Courier New'; font-size: 13px; line-height: 14.566666603088379px;"><b><br></b></span></p><p class="MsoNormal"><span style="background-color: rgb(254, 249, 242); font-family: 'Courier New'; font-size: 13px; line-height: 14.566666603088379px;"><b>whenever I do "</b></span><b style="font-family: 'Courier New'; font-size: small; line-height: 14.566666603088379px;">pcs resource show app-prim</b><b style="font-family: 'Courier New'; font-size: 13px; line-height: 14.566666603088379px;">" , following is output:</b></p><p class="MsoNormal"><span style="background-color: rgb(254, 249, 242); font-family: 'Courier New'; font-size: 13px; line-height: 14.566666603088379px;"><b><br></b></span></p><p class="MsoNormal"><b style="line-height: 14.566666603088379px; font-family: 'Courier New'; font-size: small;">Resource: app-prim</b></p><p class="MsoNormal"><font face="Courier New" size="2"><span style="line-height: 14.566666603088379px;"><b> </b></span></font> appmm<font face="Courier New" size="2"><span style="line-height: 14.566666603088379px;"><b>_health_check_port: 65000</b></span></font></p><p class="MsoNormal"><font face="Courier New" size="2"><span style="line-height: 14.566666603088379px;"><b> </b></span></font> appmm<font face="Courier New" size="2"><span style="line-height: 14.566666603088379px;"><b>_instance_name: </b></span></font><span style="background-color: rgb(254, 249, 242); font-family: 'Courier New'; font-size: 13px; line-height: 14.566666603088379px;">appgw</span></p><p class="MsoNormal"><font face="Courier New" size="2"><b><span style="background-color: rgb(254, 249, 242); line-height: 14.566666603088379px;"></span></b></font></p><p class="MsoNormal"><font face="Courier New" size="2"><span style="line-height: 14.566666603088379px;"><b> op monitor interval=0s timeout=60s</b></span></font></p><p class="MsoNormal"><font face="Courier New" size="2"><span style="line-height: 14.566666603088379px;"><b><br></b></span></font></p><p class="MsoNormal"><font face="Courier New" size="2"><span style="line-height: 14.566666603088379px;"><b>Can anyone please help ?</b></span></font></p><p class="MsoNormal"><font face="Courier New" size="2"><span style="line-height: 14.566666603088379px;"><b><br></b></span></font></p><p class="MsoNormal"><font face="Courier New" size="2"><span style="line-height: 14.566666603088379px;"><b>my version of pcs is - Version: 1.1.8-7.el6-394e906</b></span></font></p><p class="MsoNormal"><font face="Courier New" size="2"><span style="line-height: 14.566666603088379px;"><b><br></b></span></font></p><p class="MsoNormal"><font face="Courier New" size="2"><span style="line-height: 14.566666603088379px;"><b>on RHEL 6.4</b></span></font></p><p class="MsoNormal"><font face="Courier New" size="2"><span style="line-height: 14.566666603088379px;"><b><br></b></span></font></p><p class="MsoNormal"><font face="Courier New" size="2"><span style="line-height: 14.566666603088379px;"><b><br></b></span></font></p><p class="MsoNormal"><font face="Courier New" size="2"><span style="line-height: 14.566666603088379px;"><b>Thanks in advance for any help.</b></span></font></p><p class="MsoNormal"><font face="Courier New" size="2"><span style="line-height: 14.566666603088379px;"><b><br></b></span></font></p><p class="MsoNormal"><font face="Courier New" size="2"><span style="line-height: 14.566666603088379px;"><b>-Parveen</b></span></font></p></div> </div></body>
</html>