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

2011-10-03 Thread Dejan Muhamedagic
On Wed, Sep 28, 2011 at 10:52:16AM -0400, Brian J. Murrell wrote: > On 11-09-28 10:20 AM, Dejan Muhamedagic wrote: > > Hi, > > Hi, > > > I'm really not sure. Need to investigate this area more. > > Well, I am experimenting with cibadmin. It's certainly not as nice and > shiny as crm shell thoug

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

2011-09-28 Thread Andrew Beekhof
On Wed, Sep 28, 2011 at 11:12 PM, Brian J. Murrell 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'

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

2011-09-28 Thread Brian J. Murrell
On 11-09-28 10:20 AM, Dejan Muhamedagic wrote: > Hi, Hi, > I'm really not sure. Need to investigate this area more. Well, I am experimenting with cibadmin. It's certainly not as nice and shiny as crm shell though. :-) > cibadmin talks to the cib (the process) and cib should allow > only one w

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

2011-09-28 Thread Dejan Muhamedagic
Hi, On Wed, Sep 28, 2011 at 09:12:57AM -0400, Brian J. Murrell 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? > > > > ciba

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

2011-09-28 Thread Brian J. Murrell
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

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

2011-09-16 Thread Dejan Muhamedagic
Hi, On Thu, Sep 08, 2011 at 03:41:42PM +0100, John Spray wrote: > Hi, > > I have some scripts which configure resources across a number of nodes > in a cluster. I'm finding that when more than one "crm configure > primitive" invokation is run at the same time, they sometimes > interfere with eac