[Pacemaker] crm and primitive meta id - 1.0.8 vs 1.0.9

Bob Schatz bschatz at yahoo.com
Mon Aug 16 17:07:26 EDT 2010


Thanks Dejan.  I will drop the meta attributes.

I realize that the timeouts on resource monitoring are very tight and I am 
monitoring if they will work for the environment.


Thanks,

Bob


----- Original Message ----
From: Dejan Muhamedagic <dejanmm at fastmail.fm>
To: The Pacemaker cluster resource manager <pacemaker at oss.clusterlabs.org>
Sent: Mon, August 16, 2010 4:49:22 AM
Subject: Re: [Pacemaker] crm and primitive meta id - 1.0.8 vs 1.0.9

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 at 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 at 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



      





More information about the Pacemaker mailing list