[Pacemaker] crm_resource command ignored?

Andrew Beekhof andrew at beekhof.net
Wed Nov 7 05:08:37 UTC 2012


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?

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