<br><br><div class="gmail_quote">On Tue, Sep 21, 2010 at 10:33 AM, jiaju liu <span dir="ltr">&lt;<a href="mailto:liujiaju86@yahoo.com.cn">liujiaju86@yahoo.com.cn</a>&gt;</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>&lt;<a href="mailto:pacemaker-request@oss.clusterlabs.org" target="_blank">pacemaker-request@oss.clusterlabs.org</a>&gt;</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 &lt;<a href="http://cn.mc157.mail.yahoo.com/mc/compose?to=andrew@beekhof.net" target="_blank">andrew@beekhof.net</a>&gt;<br>To: The Pacemaker cluster resource manager<br>
&nbsp;&nbsp;&nbsp; &lt;<a href="http://cn.mc157.mail.yahoo.com/mc/compose?to=pacemaker@oss.clusterlabs.org" target="_blank">pacemaker@oss.clusterlabs.org</a>&gt;<br>Subject: Re: [Pacemaker] pingd problem about clone<br>Message-ID:<br>&nbsp;&nbsp;&nbsp; &lt;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>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br><br>On Fri, Sep 17, 2010 at 2:38 AM, jiaju liu &lt;<a href="http://cn.mc157.mail.yahoo.com/mc/compose?to=liujiaju86@yahoo.com.cn" target="_blank">liujiaju86@yahoo.com.cn</a>&gt; wrote:<br>
<br>&gt; Clone Set: pingd_data_net<br>&gt;&nbsp; &nbsp; &nbsp; Started: [ oss3 oss2 oss1 ]<br>&gt;<br>&gt;&nbsp; &nbsp;&nbsp;&nbsp;I use the command :<br>&gt;<br>&gt;&nbsp; &nbsp;&nbsp;&nbsp;crm_resource -g host_list -r pingd_data_net<br>&gt;&nbsp; &nbsp;&nbsp;&nbsp;to check the param host_list<br>
&gt;<br><br>what does the resource definition look like?</div>
<div>&nbsp;</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 &quot;10.53.11.101&quot;</strong></div>
<div><strong></strong>&nbsp;</div>
<div><strong>crm configure clone pingd_data_net pingd_data meta globally-unique=falsetarget-role=stopped</strong></div>
<div><strong></strong>&nbsp;</div>
<div><strong>crm resource pind_data_net start</strong></div>
<div><strong></strong>&nbsp;</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 &quot;10.53.11.101 10.53.11.100&quot;</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=&quot;domain:uname&quot; \</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>op monitor interval=&quot;120s&quot; timeout=&quot;300&quot; \</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>op start interval=&quot;0&quot; timeout=&quot;180s&quot; \</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>op stop interval=&quot;0&quot; timeout=&quot;180s&quot;</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=&quot;false&quot; migration-threshold=&quot;5&quot;</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 &lt;null&gt;</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&#39;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>&gt;<br>&gt;&nbsp; &nbsp;&nbsp;&nbsp;the result is<br>&gt;<br>&gt;&nbsp; &nbsp;&nbsp;&nbsp;pingd_data_net is active on more than one node, returning the default<br>&gt; value for &lt;null&gt;<br>&gt;&nbsp; &nbsp;&nbsp;&nbsp;Error performing operation: The object/attribute does not exist<br>
&gt;<br>&gt;&nbsp; &nbsp;&nbsp;&nbsp;So If I want to check the parm, what I should do?<br>&gt;&nbsp; &nbsp;&nbsp;&nbsp;Thank you:-)<br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; 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>
&gt; <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>&gt;<br>&gt; Project Home: <a href="http://www.clusterlabs.org/" target="_blank">http://www.clusterlabs.org</a><br>
&gt; 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>&gt; Bugs:<br>&gt; <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>
&gt;<br>&gt;<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: &lt;<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>&gt;<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>






      &nbsp;</blockquote></div><br>