[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 12:01:05 UTC 2013
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.Bauer at iz.bwl.de]
Gesendet: Montag, 10. Juni 2013 13:57
An: pacemaker at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20130610/fc13b9a1/attachment.htm>
More information about the Pacemaker
mailing list