On Tue, Sep 21, 2010 at 10:33 AM, jiaju liu <liujiaj...@yahoo.com.cn> wrote:
> > > --- *10年9月21日,周二, pacemaker-requ...@oss.clusterlabs.org < > pacemaker-requ...@oss.clusterlabs.org>* 写道: > > > Message: 5 > Date: Tue, 21 Sep 2010 09:15:16 +0200 > From: Andrew Beekhof > <and...@beekhof.net<http://cn.mc157.mail.yahoo.com/mc/compose?to=and...@beekhof.net> > > > To: The Pacemaker cluster resource manager > > <pacemaker@oss.clusterlabs.org<http://cn.mc157.mail.yahoo.com/mc/compose?to=pacema...@oss.clusterlabs.org> > > > Subject: Re: [Pacemaker] pingd problem about clone > Message-ID: > > <aanlkti=l0yw-k4rmzo6dmjp4fuyccnki7w-hbw32z...@mail.gmail.com<http://cn.mc157.mail.yahoo.com/mc/compose?to=l0yw-k4rmzo6dmjp4fuyccnki7w-hbw32z...@mail.gmail.com> > > > Content-Type: text/plain; charset="iso-8859-1" > > On Fri, Sep 17, 2010 at 2:38 AM, jiaju liu > <liujiaj...@yahoo.com.cn<http://cn.mc157.mail.yahoo.com/mc/compose?to=liujiaj...@yahoo.com.cn>> > wrote: > > > Clone Set: pingd_data_net > > Started: [ oss3 oss2 oss1 ] > > > > I use the command : > > > > crm_resource -g host_list -r pingd_data_net > > to check the param host_list > > > > what does the resource definition look like? > > *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* > ** > > *crm_resource -p host_list -r pingd_data -v "10.53.11.101"* > ** > *crm configure clone pingd_data_net pingd_data meta > globally-unique=falsetarget-role=stopped* > ** > *crm resource pind_data_net start* > ** > *and then I want to change host_list* > *so I use command * > *crm_resource -p host_list -r pingd_data -v "10.53.11.101 10.53.11.100"* > > Given: primitive FencingChild stonith:fence_xvm \ params pcmk_arg_map="domain:uname" \ op monitor interval="120s" timeout="300" \ op start interval="0" timeout="180s" \ op stop interval="0" timeout="180s" and clone Fencing FencingChild \ meta globally-unique="false" migration-threshold="5" I get the following... If I (incorrectly) use the clone name, I get the error you see: [r...@pcmk-1 ~]# crm_resource -g pcmk_arg_map -r Fencing Fencing is active on more than one node, returning the default value for <null> Error performing operation: The object/attribute does not exist But if I (correctly) use the primitive name, it works: [r...@pcmk-1 ~]# crm_resource -g pcmk_arg_map -r FencingChild domain:uname Can you check you're using the name of the primitive and not the clone please? > > > > > > the result is > > > > pingd_data_net is active on more than one node, returning the default > > value for <null> > > Error performing operation: The object/attribute does not exist > > > > So If I want to check the parm, what I should do? > > Thank you:-) > > > > > > _______________________________________________ > > Pacemaker mailing list: > > Pacemaker@oss.clusterlabs.org<http://cn.mc157.mail.yahoo.com/mc/compose?to=pacema...@oss.clusterlabs.org> > > http://oss.clusterlabs.org/mailman/listinfo/pacemaker > > > > Project Home: http://www.clusterlabs.org > > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf > > Bugs: > > > http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker > > > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://oss.clusterlabs.org/pipermail/pacemaker/attachments/20100921/223fb58b/attachment.htm > > > > ------------------------------ > > _______________________________________________ > Pacemaker mailing list > Pacemaker@oss.clusterlabs.org<http://cn.mc157.mail.yahoo.com/mc/compose?to=pacema...@oss.clusterlabs.org> > http://oss.clusterlabs.org/mailman/listinfo/pacemaker > > > End of Pacemaker Digest, Vol 34, Issue 50 > ***************************************** > > >
_______________________________________________ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker