[Pacemaker] racing crm commands... last write wins?

Andrew Beekhof andrew at beekhof.net
Sun Apr 14 22:29:02 EDT 2013


On 12/04/2013, at 11:35 PM, Brian J. Murrell <brian at interlinx.bc.ca> wrote:

> On 13-04-10 07:02 PM, Andrew Beekhof wrote:
>> 
>> On 11/04/2013, at 6:33 AM, Brian J. Murrell <brian-SquOHqY54CVWr29BmMi2cA at public.gmane.org> wrote:
>>> 
>>> Does crm_resource suffer from this problem
>> 
>> no
> 
> Excellent.
> 
> I was unable to find any comprehensive documentation on just how to
> implement a pacemaker configuration solely with crm_resource and the
> manpage for it doesn't seem to indicate any way to create resources, for
> example.

Right, creation (and any other modifications of the config) is via cibadmin.
However that involves dealing with XML which most people have an aversion to, hence the common use of pcs and crmsh.

> 
> Is it typical that when you don't want to use "crm" (or "pcs") and want
> to rely on the crm_* group of commands, that you do so in conjunction
> with cibadmin for things like creating resources, etc.?

Yes.

>  It seems so,
> but I just want to make sure there is not something I have not uncovered
> yet.
> 
> 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://bugs.clusterlabs.org





More information about the Pacemaker mailing list