[Pacemaker] Concurrent runs of 'crm configure primitive' interfering

Andrew Beekhof andrew at beekhof.net
Thu Sep 29 01:46:23 EDT 2011


On Wed, Sep 28, 2011 at 11:12 PM, Brian J. Murrell
<brian at interlinx.bc.ca> wrote:
> On 11-09-16 11:14 AM, Dejan Muhamedagic wrote:
>> On Thu, Sep 08, 2011 at 03:41:42PM +0100, John Spray wrote:
>>
>>>  * Is there another way of adding resources which would be safe when
>>> run concurrently?
>>
>> cibadmin.
>
> But doesn't crm use cibadmin itself and if so, shouldn't whatever
> benefits of using cibadmin directly filter up to crm shell?  Put another
> way, if crm shell is just using cibadmin, isn't it likely that cibadmin
> will exhibit the same concurrency issue?

Presumably the shell is reading and writing the whole configuration
section instead of just the part you changed.

>
>> This sounds to me like a deficiency in the crm shell.
>
> Of course I'm still willing to believe that.  I just wonder what crm
> shell could be doing that is failing with concurrent commands that
> cibadmin will not fail with also.
>
> Cheers,
> b.
>
>
> _______________________________________________
> 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