I was to stupid to read the manpage. Its done like:

crm configure load replace /tmp/cib

sorry for the trouble!

Stefan

Von: Bauer, Stefan (IZLBW Extern) [mailto:stefan.ba...@iz.bwl.de]
Gesendet: Montag, 10. Juni 2013 13:57
An: pacemaker@oss.clusterlabs.org
Betreff: [Pacemaker] commandline option to load cib-file like 
crm(live)configure: load /tmp/cib

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
_______________________________________________
Pacemaker mailing list: Pacemaker@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

Reply via email to