On Tue, 2008-01-08 at 09:38 +0100, Jergen Dutch wrote:
> "This can be really annoying and can easily result in system
> administrators[3] making mistakes either in the middle of the night,
> or when under pressure"

wrong - use crm_verify to verify your xml against the dtd. e.g.

   crm_verify -V -x cib.new.xml
   crm_verify --help

using a dtd to check for a valid cib.xml file is very clean.

> I find managing the xml files with heartbeat 2 *horrible*. The
> software is really nice, but every time I have to deal with xml I want
> to poke my eyes out with a rabid shark.

after one gets used to it, it is pretty nice to handle :)

> ...
> 
> 1. Without  restarting or shutting down the cluster, and without
> editing the cib.xml file how can I make a change to the cluster
> configuration (i.e. how can I use haresources2cib.py to generate an
> updated cib.xml and get the cluster to use it without a restart)

man cibadmin - cibadmin -U and cibadmin -R are the two "magic" options

> 2. How can I override the defaults (such as timeout) in the resulting
> cib.xml file?
i have never used haresources2cib.py - but does it not generate an 
cib.xml file which can be edited and then applied to the running 
cluster?

at least that is what i do :)

cheers,
raoul
-- 
____________________________________________________________________
DI (FH) Raoul Bhatia M.Sc.          email.          [EMAIL PROTECTED]
Technischer Leiter

IPAX - Aloy Bhatia Hava OEG         web.          http://www.ipax.at
Barawitzkagasse 10/2/2/11           email.            [EMAIL PROTECTED]
1190 Wien                           tel.               +43 1 3670030
FN 277995t HG Wien                  fax.            +43 1 3670030 15
____________________________________________________________________

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to