[Pacemaker] crm_resource command ignored?

King, Christopher CKing at BroadViewNet.com
Wed Nov 7 16:00:26 UTC 2012


Date: Wed, 7 Nov 2012 16:08:37 +1100
From: Andrew Beekhof <andrew at beekhof.net>
To: The Pacemaker cluster resource manager
	<pacemaker at oss.clusterlabs.org>
Subject: Re: [Pacemaker] crm_resource command ignored?
Message-ID:
	
<CAEDLWG0A__bxs+xaKe1yL5-a=keO7ens-jM7KDjpq5bJdynm1g at mail.gmail.com>
Content-Type: text/plain; charset=windows-1252

On Tue, Nov 6, 2012 at 6:15 AM, King, Christopher
<CKing at broadviewnet.com> wrote:
>> Hey all,
>>
>>
>>
>> Running pacemaker-1.1.5-5.9.11.1 (on SLES 11 SP1) we seem to be
experiencing
>> sporadic ?lost? crm_resource commands.  All indications are that the
>> crm_resource command was issued correctly.
>>
>>
>>
>> Specifically, we have a 2 node cluster with a rabbitmq-server
resource
>> configured.  (The resource is named ?msgbroker?.)  Our configuration
>> includes an mnesia_base parameter (to change where the server stores
the
>> mnesia database.)  Contained in the resources configuration is the
>> following:
>>
>>   <instance_attributes id="msgbroker-instance_attributes">
>>
>>     <nvpair id="msgbroker-instance_attributes-ip" name="ip"
>> value="192.168.10.10"/>
>>
>>     <nvpair id="msgbroker-instance_attributes-mnesia"
name="mnesia_base"
>> value="/usr/lib/mnesia"/>
>>
>>   </instance_attributes>
>>
>> The command:
>>
>> crm_resource -r msgbroker -d mnesia_base
>>
>> occasionally (2 out of 12 attempts) does not result in the
mnesia_base
>> parameter being deleted from the resource configuration.
>
>Is it possible that there are other commands being run at the same
time?
>

No other crm_resource commands are being run at this time.  Other cib
altering commands, using the "crm configure" interface are run in
sequence with the crm_resoucre command, but they succeed.

>>
>> This command is called by a python script, which does not report any
>> problems.  A number of other cib altering commands, such as "crm
configure
>> delete ...",  "crm configure colocation ...", etc., are run
successfully in the
>> same script.
>>
>> Any help would be appreciated.
>>
>> Thanks
>>
>> Chris King
>> _______________________________________________
>> 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://bugs.clusterlabs.org
>>




More information about the Pacemaker mailing list