[Pacemaker] pcs equivalent of crm configure erase

Andreas Mock andreas.mock at web.de
Wed Apr 17 05:31:23 UTC 2013


Hi Chris,

I would like to see something where you can start your
pacemaker configuration (only) from scratch.
In a way, so that you know nothing is left (constraints, etc.).

Best regards
Andreas


-----Ursprüngliche Nachricht-----
Von: Chris Feist [mailto:cfeist at redhat.com] 
Gesendet: Mittwoch, 17. April 2013 00:23
An: The Pacemaker cluster resource manager
Cc: Andreas Mock
Betreff: Re: [Pacemaker] pcs equivalent of crm configure erase

On 04/14/13 02:52, Andreas Mock wrote:
> Hi all,
>
> can someone tell me what the pcs equivalent to
>
> crm configure erase is?

 From my understanding, 'crm configure erase' will remove everything from
the configuration file except for the nodes.

Are you trying to clear your configuration out and start from scratch?

pcs has a destroy command (pcs cluster destroy), which will remove all
pacemaker/corosync configuration and allow you to create your cluster from
scratch.  Is this what you're looking for?

Or do you need a specific command to keep the cluster running, but reset the
cib to its defaults?

Thanks!
Chris

>
> Is there a pcs cheat sheet showing the common tasks?
>
> Or a documentation?
>
> Best regards
>
> Andreas
>
>
>
> _______________________________________________
> 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