[Pacemaker] configuration files of cluster

Dvorak Andreas Andreas.Dvorak at baaderbank.de
Tue Nov 19 05:10:24 EST 2013


Thank you for the answers,

I do not have crm configure save in my installation.
I will choose the pcs config output.

Regards,
Andreas

-----Ursprüngliche Nachricht-----
Von: Florian Crouzat [mailto:gentoo at floriancrouzat.net] 
Gesendet: Montag, 18. November 2013 16:14
An: The Pacemaker cluster resource manager
Betreff: Re: [Pacemaker] configuration files of cluster

Le 18/11/2013 15:58, Dvorak Andreas a écrit :
> Dear all
>
> Now I finished the configuation of my  first pacemaker cluster and 
> would like to backup configuration files.
>
> But I do not find any.

The configuration and cluster state are shared accros the cluster nodes and physically stored in an XML file called a CIB (Cluster Information Base).
At a given time, the CIB stores the exact state of the cluster (with scores, roles, & such)

>
> Can you please help me needs to put in  a backup?
>
> With pca config I get a nice output, but I would like to have that in 
> one or more files.

Assuming you just want to save your starting configuration and not the state of the cluster or anything complex, saving the output of "pcs config" is alright, and can be easily restored. But you could also create "shadow cibs" and restart from them (~ save points).

In any case, I'd say, do not touch the XML files.

>
> My cluster installation
>
> Pacemaker 1.1.8
>
> cman 3.0.12.1
>
> pcs 0.9.26
>
> ccs 0.16.2
>
> resource-agents 3.9.2
>
> corosync 1.4.1
>
> Best regards
>
> Andreas Dvorak
>
>
>
> _______________________________________________
> 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
>


--
Cheers,
Florian Crouzat

_______________________________________________
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