<br><br><div class="gmail_quote">On Tue, Sep 21, 2010 at 10:33 AM, jiaju liu <span dir="ltr"><<a href="mailto:liujiaju86@yahoo.com.cn">liujiaju86@yahoo.com.cn</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font:inherit"><br><br>--- <b>10年9月21日,周二, <a href="mailto:pacemaker-request@oss.clusterlabs.org" target="_blank">pacemaker-request@oss.clusterlabs.org</a> <i><<a href="mailto:pacemaker-request@oss.clusterlabs.org" target="_blank">pacemaker-request@oss.clusterlabs.org</a>></i></b> 写道:<br>
<blockquote style="padding-left:5px;margin-left:5px;border-left:rgb(16,16,255) 2px solid"><br>
<div>Message: 5<br>Date: Tue, 21 Sep 2010 09:15:16 +0200<br>From: Andrew Beekhof <<a href="http://cn.mc157.mail.yahoo.com/mc/compose?to=andrew@beekhof.net" target="_blank">andrew@beekhof.net</a>><br>To: The Pacemaker cluster resource manager<br>
<<a href="http://cn.mc157.mail.yahoo.com/mc/compose?to=pacemaker@oss.clusterlabs.org" target="_blank">pacemaker@oss.clusterlabs.org</a>><br>Subject: Re: [Pacemaker] pingd problem about clone<br>Message-ID:<br> <AANLkTi=<a href="http://cn.mc157.mail.yahoo.com/mc/compose?to=L0YW-K4rmZO6dMJp4FUyccnKi7W-HbW32ZOgw@mail.gmail.com" target="_blank">L0YW-K4rmZO6dMJp4FUyccnKi7W-HbW32ZOgw@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br><br>On Fri, Sep 17, 2010 at 2:38 AM, jiaju liu <<a href="http://cn.mc157.mail.yahoo.com/mc/compose?to=liujiaju86@yahoo.com.cn" target="_blank">liujiaju86@yahoo.com.cn</a>> wrote:<br>
<br>> Clone Set: pingd_data_net<br>> Started: [ oss3 oss2 oss1 ]<br>><br>> I use the command :<br>><br>> crm_resource -g host_list -r pingd_data_net<br>> to check the param host_list<br>
><br><br>what does the resource definition look like?</div>
<div> </div>
<div><strong>crm configure primitive pingd_data ocf:pacemaker:pingd meta target-role=stopped params name=pingd_data op start timeout=100s op stop timeout=100s op monitor interval=90s timeout=100s</strong></div><strong></strong></blockquote>
<blockquote style="padding-left:5px;margin-left:5px;border-left:rgb(16,16,255) 2px solid">
<div><strong>crm_resource -p host_list -r pingd_data -v "10.53.11.101"</strong></div>
<div><strong></strong> </div>
<div><strong>crm configure clone pingd_data_net pingd_data meta globally-unique=falsetarget-role=stopped</strong></div>
<div><strong></strong> </div>
<div><strong>crm resource pind_data_net start</strong></div>
<div><strong></strong> </div>
<div><strong>and then I want to change host_list</strong></div>
<div><strong>so I use command </strong></div>
<div><strong>crm_resource -p host_list -r pingd_data -v "10.53.11.101 10.53.11.100"</strong></div></blockquote></td></tr></tbody></table></blockquote><div><br></div><div>Given:</div><div><br></div><div><div>primitive FencingChild stonith:fence_xvm \</div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span>params pcmk_arg_map="domain:uname" \</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>op monitor interval="120s" timeout="300" \</div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span>op start interval="0" timeout="180s" \</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>op stop interval="0" timeout="180s"</div>
</div><div><br></div><div><br></div><div>and</div><div><br></div><div><div>clone Fencing FencingChild \</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>meta globally-unique="false" migration-threshold="5"</div>
</div><div><br></div><div>I get the following...</div><div><br></div><div>If I (incorrectly) use the clone name, I get the error you see:</div><div><br></div><div><div>[root@pcmk-1 ~]# crm_resource -g pcmk_arg_map -r Fencing</div>
<div>Fencing is active on more than one node, returning the default value for <null></div><div>Error performing operation: The object/attribute does not exist</div><div><br></div><div>But if I (correctly) use the primitive name, it works:</div>
<div><br></div><div>[root@pcmk-1 ~]# crm_resource -g pcmk_arg_map -r FencingChild</div><div>domain:uname</div></div><div><br></div><div><br></div><div>Can you check you're using the name of the primitive and not the clone please?</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font:inherit"><blockquote style="padding-left:5px;margin-left:5px;border-left:rgb(16,16,255) 2px solid">
<div><br><br><br>><br>> the result is<br>><br>> pingd_data_net is active on more than one node, returning the default<br>> value for <null><br>> Error performing operation: The object/attribute does not exist<br>
><br>> So If I want to check the parm, what I should do?<br>> Thank you:-)<br>><br>><br>> _______________________________________________<br>> Pacemaker mailing list: <a href="http://cn.mc157.mail.yahoo.com/mc/compose?to=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><br>><br>> Project Home: <a href="http://www.clusterlabs.org/" target="_blank">http://www.clusterlabs.org</a><br>
> Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>> Bugs:<br>> <a href="http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker" target="_blank">http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker</a><br>
><br>><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <<a href="http://oss.clusterlabs.org/pipermail/pacemaker/attachments/20100921/223fb58b/attachment.htm" target="_blank">http://oss.clusterlabs.org/pipermail/pacemaker/attachments/20100921/223fb58b/attachment.htm</a>><br>
<br>------------------------------<br><br>_______________________________________________<br>Pacemaker mailing list<br><a href="http://cn.mc157.mail.yahoo.com/mc/compose?to=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><br><br><br>End of Pacemaker Digest, Vol 34, Issue 50<br>*****************************************<br>
</div></blockquote></td></tr></tbody></table><br>
</blockquote></div><br>