<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi Parveen,<br>
<br>
my pacmaker version is 1.1.10 and pcs is 0.9.90 and it works as expected.<br>
<br>
The bug you mentioned is fixed in pcs version 0.9.64.<br>
<br>
pacemaker 1.1.8 is in RHEL 6.4 from February 2013. There is an update version 1.1.10 from November 2013.<br>
Likely they fixed it already an you should update your os.<br>
<br>
<br>
<br>
Regards<br>
Frank<br>
<br>
<div class="moz-cite-prefix">Am 23.01.2014 16:12, schrieb Parveen Jain:<br>
</div>
<blockquote cite="mid:BLU179-W69CB96CC7A7EC8B9503578D4A60@phx.gbl" type="cite"><style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div dir="ltr">Hi Frank.
<div>Thanks for replying.</div>
<div>I did that, but it still gives the same output:</div>
<div><br>
</div>
<div>Following is the command and output:</div>
<div>
<div>pcs resource create app-prim ocf:appprim:appmmra-ra params appmm_health_check_port=65000 appmm_instance_name=appgw op monitor interval=1s timeout=5s start interval=0 timeout=60s stop interval=0 timeout=60s</div>
<div><br>
</div>
<div>pcs resource show app-prim</div>
<div>Resource: app-prim</div>
<div> appmm_health_check_port: 65000</div>
<div> appmm_instance_name: DESapigw</div>
<div> op monitor interval=0 timeout=60s</div>
</div>
<div><br>
I am just doubting, is this can be some issue with release of pacemaker I am using.</div>
<div>On googling, Found this issue: <a moz-do-not-send="true" href="https://bugzilla.redhat.com/show_bug.cgi?id=912496" target="_blank" style="font-size: 12pt;">https://bugzilla.redhat.com/show_bug.cgi?id=912496</a></div>
<div>What I am using is <b style="font-family: 'Courier New';
font-size: small; line-height: 14.566666603088379px;">1.1.8-7.el6-394e906.</b></div>
<div><b style="font-family: 'Courier New'; font-size: small;
line-height: 14.566666603088379px;">Anyone, from pacemaker developer if can comment on this(I am not sure on which version it is fixed).</b></div>
<div><b style="font-family: 'Courier New'; font-size: small;
line-height: 14.566666603088379px;"><br>
</b></div>
<div><b style="font-family: 'Courier New'; font-size: small;
line-height: 14.566666603088379px;">Also One more issue I found was:</b></div>
<div><b style="font-family: 'Courier New'; font-size: small;
line-height: 14.566666603088379px;">If I use following command(keeping my "start op" as first operation)</b></div>
<div>pcs resource create app-prim ocf:appprim:appmmra-ra params appmm_health_check_port=65000 appmm_instance_name=appgw op start interval=0 timeout=60s <span style="font-size: 12pt;">monitor interval=1s timeout=5s</span><span style="font-size: 12pt;"> </span></div>
<div><br>
</div>
<div>I get following error in logs:</div>
<div>error: RecurringOp: Invalid recurring action app-prim-timeout-5s wth name: 'start'</div>
<div><br>
</div>
<div>Can anyone point out what can be the issue with this one too. Is it not accepting my "0" as my recurring value for "start" ?</div>
<div><br>
</div>
<div>Regards,</div>
<div>Parveen Jain</div>
<div><br>
<div>
<hr id="stopSpelling">
From: <a class="moz-txt-link-abbreviated" href="mailto:Frank.Brendel@eurolog.com">
Frank.Brendel@eurolog.com</a><br>
To: <a class="moz-txt-link-abbreviated" href="mailto:pacemaker@oss.clusterlabs.org">
pacemaker@oss.clusterlabs.org</a><br>
Date: Thu, 23 Jan 2014 13:20:03 +0000<br>
Subject: Re: [Pacemaker] not able to configure operations(op) using pcs command<br>
<br>
Hi Parveen,<br>
<br>
specify 'op' only once.<br>
<br>
pcs resource create app-prim ocf:appprim:appmmra apigw_health_check_port=55000 appmm_instance_name=appgw op stop interval=0 timeout=60s monitor interval=1s timeout=5s start interval=0 timeout=60s<br>
<br>
<br>
see 'pcs resource help'<br>
<br>
create <resource id> <standard:provider:type|type> [resource options]<br>
[op <operation action> <operation options> [<operation action><br>
<operation options>]...] [meta <meta options>...]<br>
[--clone <clone options> | --master <master options> |<br>
--group <group name>]<br>
<br>
<br>
<br>
Regards<br>
Frank<br>
<br>
<br>
<div class="ecxmoz-cite-prefix">Am 23.01.2014 14:05, schrieb Parveen Jain:<br>
</div>
<blockquote cite="mid:BLU179-W78421D84F1F43A05CE7D39D4A60@phx.gbl"><style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}
.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}
--></style>
<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="ecxMsoNormal">primitive <span style="background:yellow;">app-prim</span> ocf:appprim:appmm-ra \</p>
<p class="ecxMsoNormal"> params appmm_health_check_port="55000" appmm_instance_name="INSTANCE_NAME" \</p>
<p class="ecxMsoNormal"> op start interval="0" timeout="60s" \</p>
<p class="ecxMsoNormal"> op stop interval="0" timeout="60s" \</p>
<p class="ecxMsoNormal"> op monitor interval="1s" timeout="5s"</p>
<p class="ecxMsoNormal"><br>
</p>
<p class="ecxMsoNormal">to following PCs command:</p>
<p class="ecxMsoNormal"><br>
</p>
<p class="ecxMsoNormal"><span style="font-size:9.5pt;line-height:115%;font-family:"Courier
New";background:#FEF9F2;">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="ecxMsoNormal"><span style="font-size:9.5pt;line-height:115%;font-family:"Courier
New";background:#FEF9F2;"><br>
</span></p>
<p class="ecxMsoNormal"><span style="font-size:9.5pt;line-height:115%;font-family:"Courier
New";background:#FEF9F2;">but somehow this converted command is not working.</span></p>
<p class="ecxMsoNormal"><span style="font-size:9.5pt;line-height:115%;font-family:"Courier
New";background:#FEF9F2;"><br>
</span></p>
<p class="ecxMsoNormal"><span style="font-size:9.5pt;line-height:115%;font-family:"Courier
New";background:#FEF9F2;">The main issue is use of "op" parameter with pcs command.</span></p>
<p class="ecxMsoNormal"><span style="font-size:9.5pt;line-height:115%;font-family:"Courier
New";background:#FEF9F2;">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="ecxMsoNormal"><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="ecxMsoNormal"><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="ecxMsoNormal"><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="ecxMsoNormal"><b style="line-height:14.566666603088379px;font-family:'Courier
New';font-size:small;">Resource: app-prim</b></p>
<p class="ecxMsoNormal"><font size="2" face="Courier
New"><span style="line-height:14.566666603088379px;"><b> </b></span></font> appmm<font size="2" face="Courier New"><span style="line-height:14.566666603088379px;"><b>_health_check_port:
65000</b></span></font></p>
<p class="ecxMsoNormal"><font size="2" face="Courier
New"><span style="line-height:14.566666603088379px;"><b> </b></span></font> appmm<font size="2" face="Courier New"><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="ecxMsoNormal"><font size="2" face="Courier
New"><b><span style="background-color:rgb(254,
249, 242);line-height:14.566666603088379px;"></span></b></font></p>
<p class="ecxMsoNormal"><font size="2" face="Courier
New"><span style="line-height:14.566666603088379px;"><b> op monitor interval=0s timeout=60s</b></span></font></p>
<p class="ecxMsoNormal"><font size="2" face="Courier
New"><span style="line-height:14.566666603088379px;"><b><br>
</b></span></font></p>
<p class="ecxMsoNormal"><font size="2" face="Courier
New"><span style="line-height:14.566666603088379px;"><b>Can anyone please help ?</b></span></font></p>
<p class="ecxMsoNormal"><font size="2" face="Courier
New"><span style="line-height:14.566666603088379px;"><b><br>
</b></span></font></p>
<p class="ecxMsoNormal"><font size="2" face="Courier
New"><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="ecxMsoNormal"><font size="2" face="Courier
New"><span style="line-height:14.566666603088379px;"><b><br>
</b></span></font></p>
<p class="ecxMsoNormal"><font size="2" face="Courier
New"><span style="line-height:14.566666603088379px;"><b>on RHEL 6.4</b></span></font></p>
<p class="ecxMsoNormal"><font size="2" face="Courier
New"><span style="line-height:14.566666603088379px;"><b><br>
</b></span></font></p>
<p class="ecxMsoNormal"><font size="2" face="Courier
New"><span style="line-height:14.566666603088379px;"><b><br>
</b></span></font></p>
<p class="ecxMsoNormal"><font size="2" face="Courier
New"><span style="line-height:14.566666603088379px;"><b>Thanks in advance for any help.</b></span></font></p>
<p class="ecxMsoNormal"><font size="2" face="Courier
New"><span style="line-height:14.566666603088379px;"><b><br>
</b></span></font></p>
<p class="ecxMsoNormal"><font size="2" face="Courier
New"><span style="line-height:14.566666603088379px;"><b>-Parveen</b></span></font></p>
</div>
</div>
<br>
<fieldset class="ecxmimeAttachmentHeader"></fieldset> <br>
<pre>_______________________________________________
Pacemaker mailing list: <a moz-do-not-send="true" class="ecxmoz-txt-link-abbreviated" href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a>
<a moz-do-not-send="true" class="ecxmoz-txt-link-freetext" href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a>
Project Home: <a moz-do-not-send="true" class="ecxmoz-txt-link-freetext" href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a>
Getting started: <a moz-do-not-send="true" class="ecxmoz-txt-link-freetext" href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a>
Bugs: <a moz-do-not-send="true" class="ecxmoz-txt-link-freetext" href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a>
</pre>
</blockquote>
<br>
<br>
<br>
_______________________________________________ Pacemaker mailing list: <a class="moz-txt-link-abbreviated" href="mailto:Pacemaker@oss.clusterlabs.org">
Pacemaker@oss.clusterlabs.org</a> <a class="moz-txt-link-freetext" href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker">
http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a> Project Home: <a class="moz-txt-link-freetext" href="http://www.clusterlabs.org">
http://www.clusterlabs.org</a> Getting started: <a class="moz-txt-link-freetext" href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf">
http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a> Bugs: <a class="moz-txt-link-freetext" href="http://bugs.clusterlabs.org">
http://bugs.clusterlabs.org</a></div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset> <br>
<pre wrap="">_______________________________________________
Pacemaker mailing list: <a class="moz-txt-link-abbreviated" href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a>
<a class="moz-txt-link-freetext" href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a>
Project Home: <a class="moz-txt-link-freetext" href="http://www.clusterlabs.org">http://www.clusterlabs.org</a>
Getting started: <a class="moz-txt-link-freetext" href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a>
Bugs: <a class="moz-txt-link-freetext" href="http://bugs.clusterlabs.org">http://bugs.clusterlabs.org</a>
</pre>
</blockquote>
<br>
<br>
</body>
</html>