[Pacemaker] pcs equivalent of crm configure erase

Chris Feist cfeist at redhat.com
Thu Apr 18 15:40:17 EDT 2013


On 04/17/13 23:05, Vadym Chepkov wrote:
>
> On Apr 17, 2013, at 8:04 PM, Chris Feist wrote:
>
>> On 04/17/13 11:13, Vadym Chepkov wrote:
>>>
>>> On Apr 17, 2013, at 11:57 AM, T. wrote:
>>>
>>>> Hi,
>>>>
>>>>> b) If I can't do it woith pcs, is there a reliable
>>>>> and secure way to do it with pacemaker low level tools?
>>>> why not just installing the crmsh from a different repository?
>>>>
>>>> This is what I have done on CentOS 6.4.
>>>
>>> My sentiments exactly. And "erase" is not the most important missed functionality.
>>> crm configure save, crm configure load (update | replace) is what made configurations easily manageable
>>> and trackable with a version control software.
>>
>> There is currently a command in pcs ('pcs cluster cib' & 'pcs cluster push cib') to save and replace the current cib, however it will save the actual xml from the cib, so reading/editing the file might be a little more complicated than output from 'crm configure save'.
>
> I might be missing something, but how is it different from old dark cibadmin days ;) ?

No, you're definitely not missing anything.  The 'pcs cluster cib' output isn't 
pretty.

I'm looking at adding the ability to turn a cib xml file into pcs commands that 
can generate that xml file, but there are several other items I'm working on 
first.  So it may be a little while before that gets added.

Thanks!
Chris

>
> Thanks,
> Vadym
>
>
>
>
> _______________________________________________
> 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