On Thu, Apr 11, 2013 at 2:04 PM, Brian J. Murrell <br...@interlinx.bc.ca> wrote:
> On 13-04-11 07:37 AM, Brian J. Murrell wrote:
>>
>> In exploring all options, how about pcs?  Does pcs' "resource create
>> ..." for example have the same read+modify+replace problem as crm
>> configure or does pcs resource create also only send proper fragments to
>> update just the part of the CIB it's operating on?
>
> Having just cracked pcs open, it doesn't seem to.  It seems to create an
> XML string which it then applies to the CIB with:
>
> cibadmin -o resources -C -X $xml_resource_string

It seems though that it replaces the whole CIB in some cases like m/s
resources. Only LCMC never does. But it's probably probably not that
scriptable, (yet). :)

Rasto

_______________________________________________
Pacemaker mailing list: Pacemaker@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

Reply via email to