try:

   crm configure < filename

On Wed, Mar 9, 2011 at 4:34 PM, Stallmann, Andreas <astallm...@conet.de> wrote:
> Hi there,
>
> is it possible to exchange a complete CIB with an other CIB?
>
> The background is, that we have to roll out the same cluster in different 
> customer enviroments with different IPs / networks.
> Instead of manipulating the CIB by hand via CRM, I'd rather replace 
> placeholders in a "template cib" via a script.
>
> I tried "crm -f filename" and "crm <filename" to no avail. crm then commits 
> the changes line-by-line imediately, which can lead to undesireable 
> sideeffects (because some primitives start at once, where I acutally wanted 
> the group to start instead etc.). Can one force crm in a "batch mode", where 
> commit happens only when I want it to happen?
>
> Could I instead exchange the CIB-XML-file? If yes, which prerequisites do I 
> have to take care of (I guess the cluster should be stopped, including 
> corosync, right?)? An how do I generate a CIB-file without the 
> status-information of a running system?  Would you be so kind to point me to 
> the right source of information (yes, that's a request for a RTFM *grin*).
>
> Thanks in advance,
>
> Andreas
>
> --
> CONET Solutions GmbH
> Andreas Stallmann,
> Theodor-Heuss-Allee 19, 53773 Hennef
> Tel.: +49 2242 939-677, Fax: +49 2242 939-393
> Mobil: +49 172 2455051
> Internet: http://www.conet.de, mailto: 
> astallm...@conet.de<mailto:astallm...@conet.de>
>
> ------------------------
> CONET Solutions GmbH, Theodor-Heuss-Allee 19, 53773 Hennef.
> Registergericht/Registration Court: Amtsgericht Siegburg (HRB Nr. 9136)
> Gesch?ftsf?hrer/Managing Directors: J?rgen Zender (Sprecher/Chairman), Anke 
> H?fer
> Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: Hans 
> J?rgen Niemeier
>
> CONET Technologies AG, Theodor-Heuss-Allee 19, 53773 Hennef.
> Registergericht/Registration Court: Amtsgericht Siegburg (HRB Nr. 10328 )
> Vorstand/Member of the Managementboard: R?diger Zeyen (Sprecher/Chairman), 
> Wilfried P?tz
> Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: Dr. Gerd 
> Jakob
> _______________________________________________
> Linux-HA mailing list
> Linux-HA@lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to