[Linux-cluster] Cib.xml --> haresources

Andrew Beekhof beekhof at gmail.com
Mon Oct 13 20:20:04 UTC 2008


2008/10/11 Stephen Nelson-Smith <sanelson at gmail.com>:
> Hi,
>
> I want to managed a linux-ha cluster (heartbeat 2) with puppet,
> however I think I'm likely to struggle with cib.xml, as it contains
> runtime info, and the cluster software seems like it won't take kindly
> to being deployed automatically.
>
> I think the approach is to put the config in an haresources file, and
> use the haresources conversion to cib.xml tool.  However, how do I put
> the knowledge I've put into my cib.xml (attached) into haresources?

You can't and shouldn't even if you could.
That tool is intended to be run once per cluster and not on a recurring basis.

> Or am I missing the point entirely and there's a much better/easier
> way to do this?

cibadmin -R
http://clusterlabs.org/mw/Image:Configuration_Explained.pdf
>
> S.
>
> --
> Linux-cluster mailing list
> Linux-cluster at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-cluster
>




More information about the Linux-cluster mailing list