[Pacemaker] commandline option to load cib-file like crm(live)configure: load /tmp/cib
emmanuel segura
emi2fast at gmail.com
Mon Jun 10 12:19:32 UTC 2013
Hello Bauer
crm configure < filename
2013/6/10 Bauer, Stefan (IZLBW Extern) <Stefan.Bauer at iz.bwl.de>
> 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****
>
> _______________________________________________
> 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
>
>
--
esta es mi vida e me la vivo hasta que dios quiera
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20130610/fb5c034a/attachment.htm>
More information about the Pacemaker
mailing list