[Pacemaker] [pacemaker] Error while executing crm_attribute command from command line

Andrew Beekhof andrew at beekhof.net
Fri Jul 1 03:45:58 EDT 2011


On Tue, May 17, 2011 at 2:55 AM, Rakesh K <rakirocker4236 at gmail.com> wrote:
> Andrew Beekhof <andrew at ...> writes:
>
>>
>> # CIB_file=./cib.xml crm_attribute -N mysql3 -n master-Mysql:0 -l
>> forever -v 3 -V
>> crm_attribute[23703]: 2011/05/10_08:42:59 info: Invoked: crm_attribute
>> -N mysql3 -n master-Mysql:0 -l forever -v 3 -V
>> crm_attribute[23703]: 2011/05/10_08:42:59 ERROR: Type ID doesn't allow
>> value 'nodes-87b8b88e-3ded-4e34-8708-46f7afe62935-master-Mysql:0'
>>
>> So no colons allowed I'm afraid.
>>
> Hi andrew
>
> Thank you very much for replying back
>
> the colons are created by the HA itself

No, I mean when you specify a value for -n.

Bad:
 -n master-Mysql:0

Good:
 -n master-Mysql
>
>
>          <nvpair name="master-Mysql:0"
> id="status-87b8b88e-3ded-4e34-8708-46f7afe62935-master-Mysql:0" value="3601"/>
>
>
>          <nvpair
> id="status-6317f856-e57b-4a03-acf1-ca81af4f19ce-master-Mysql:1"
> name="master-Mysql:1" value="1"/>
>
> Regards
> Rakesh
>
>
>
> _______________________________________________
> 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