Hi, On Fri, Aug 13, 2010 at 04:02:33PM -0700, Bob Schatz wrote: > On 1.0.6 and 1.0.8 I use to do this to create a primitive: > > crm configure primitive SS1 ocf:omneon:ss params ss_resource="SS1" \ > ssconf="${CONFIG_FILE}" op monitor interval="3s" role="Master" \ > timeout="7s" op monitor interval="10s" role="Slave" timeout="7" \ > op stop timeout="100" op start timeout="120" \ > meta id="SS1-meta_attributes" > > However, when I do this with 1.0.9, I get this error: > > crm configure primitive SS1 ocf:omneon:ss params ss_resource=SS1 ssconf= > op > monitor interval=3s role=Master timeout=7s op monitor interval=10s > role=Slave timeout=7 op stop timeout=100 op start timeout=120 meta > id=SS1-meta_attributes > ERROR: SS1: attribute id does not exist
Newer versions of crm shell check if the meta attributes exist. The "id" attribute doesn't. It should be: meta $id="SS1-meta_attributes" But since you don't have any meta attributes you should drop it completely. Further, the id of attribute sets is not really needed. The timeouts of 7s are very tight. The interval of 3s may make your node very busy. > I have to admit that I do not know what "meta id="SS1-meta_attributes" does. > I Does nothing. But you should really know. Thanks, Dejan > assume I ran about it but I cannot find the document any longer. > > > Thanks, > > Bob > > > > > > _______________________________________________ > 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 _______________________________________________ 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