[Pacemaker] crm command syntax for defining multiple instance_attributes
Hi, The XML below is an example in Configuration Explained 1.0 section of "Using Rules to Control Resource Options. Is there any way to create the same instance_attribute by crm command? Thanks . ___ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker
Re: [Pacemaker] crm command syntax for defining multiple instance_attributes
Hi, I had the same error of the previous post about stickiness when I tried to import below xml. [r...@s2 tmp]# cibadmin --replace --obj_type resources --xml-file special-rex.xml Call cib_replace failed (-47): Update does not conform to the configured schema/DTD It seems instance_attributes does not accept rule same as meta_attributes. Is there any other way to set a different value to instance attribute? Thanks On Thu, Oct 8, 2009 at 2:47 PM, hj lee wrote: > Hi, > > The XML below is an example in Configuration Explained 1.0 section of > "Using Rules to Control Resource Options. Is there any way to create the > same instance_attribute by crm command? > > Thanks > > > > > value="node1"/> > > > > . > -- Dream with longterm vision! kerdosa ___ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker
Re: [Pacemaker] crm command syntax for defining multiple instance_attributes
Hi Andrew, According to the Pacemaker Configuration Explained, the meta attribute and instance attribute object can have rule inside of it. But cibadmin command does not accept it. Is it a documentation error or bug in software? Thank you On Thu, Oct 8, 2009 at 6:11 PM, hj lee wrote: > Hi, > > I had the same error of the previous post about stickiness when I tried to > import below xml. > > [r...@s2 tmp]# cibadmin --replace --obj_type resources --xml-file > special-rex.xml > Call cib_replace failed (-47): Update does not conform to the configured > schema/DTD > > It seems instance_attributes does not accept rule same as meta_attributes. > Is there any other way to set a different value to instance attribute? > > Thanks > > > > > On Thu, Oct 8, 2009 at 2:47 PM, hj lee wrote: > >> Hi, >> >> The XML below is an example in Configuration Explained 1.0 section of >> "Using Rules to Control Resource Options. Is there any way to create the >> same instance_attribute by crm command? >> >> Thanks >> >> >> >> >> > value="node1"/> >> >> >> >> . >> > > > > -- > Dream with longterm vision! > kerdosa > -- Dream with longterm vision! kerdosa ___ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker
Re: [Pacemaker] crm command syntax for defining multiple instance_attributes
On Fri, Oct 9, 2009 at 10:08 PM, hj lee wrote: > Hi Andrew, > > According to the Pacemaker Configuration Explained, the meta attribute and > instance attribute object can have rule inside of it. But cibadmin command > does not accept it. Is it a documentation error or bug in software? The schema wants you to add a score to every rule (which is not always obvious). So ... ___ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker
Re: [Pacemaker] crm command syntax for defining multiple instance_attributes
Thank you, it works OK now! On Mon, Oct 12, 2009 at 1:31 AM, Andrew Beekhof wrote: > On Fri, Oct 9, 2009 at 10:08 PM, hj lee wrote: > > Hi Andrew, > > > > According to the Pacemaker Configuration Explained, the meta attribute > and > > instance attribute object can have rule inside of it. But cibadmin > command > > does not accept it. Is it a documentation error or bug in software? > > The schema wants you to add a score to every rule (which is not always > obvious). > So ... > > ___ > Pacemaker mailing list > Pacemaker@oss.clusterlabs.org > http://oss.clusterlabs.org/mailman/listinfo/pacemaker > -- Dream with longterm vision! kerdosa ___ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker