[Pacemaker] commandline option to load cib-file like crm(live)configure: load /tmp/cib

Bauer, Stefan (IZLBW Extern) Stefan.Bauer at iz.bwl.de
Mon Jun 10 11:57:24 UTC 2013


Dear Users,

we have prepared a tiny cib-file and want to load it into the cluster on the commandline.
It works fine if executed in the crm tool with

crm(live)configure: load /tmp/cib

How can this be done on the commandline?

Keep in mind, that our cib-file is not xml but the crm subshell can handle it anyway.

Here is a stanza from /tmp/cib:

primitive p_eth0 ocf:heartbeat:IPaddr2 \
params ip="1.2.3.4" cidr_netmask="24" nic="eth0" \
and so on....

Thank you in advance!

Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20130610/d333cfe4/attachment-0003.html>


More information about the Pacemaker mailing list