On Mar 10, 2008, at 6:47 PM, Kirby Bakken wrote:
And how do I fix this:
[EMAIL PROTECTED] crm]# /usr/sbin/crm_verify -V -x
/var/lib/heartbeat/crm/cib.xml
element cib: validity error : Element cib content does not follow
the DTD,
expecting (configuration , status), got (configuration )
crm_verify[1166]: 2008/03/10_12:46:07 ERROR: validate_with_dtd: CIB
does
not validate against /usr/lib/heartbeat/crm.dtd
crm_verify[1166]: 2008/03/10_12:46:07 ERROR: main: CIB did not pass
DTD
validation
Errors found during check: config not valid
I'm pretty sure later versions don't complain about this. You can
ignore it for now.
Basically its complaining about the status section being missing
(which it always is because we never write it to disk).
=======================
Kirby Bakken
ESW Build Architect
Rochester, MN
email: [EMAIL PROTECTED]
ezpage:kirbyb
507-253-4549 / Tie: 553-4549
Fax: 507-253-3495
......one more straw can't possibly matter....
From:
"Schmidt, Florian" <[EMAIL PROTECTED]>
To:
"General Linux-HA mailing list" <[email protected]>
Date:
03/10/2008 12:44 PM
Subject:
AW: [Linux-HA] how to change cib.xml
Editing cib.xml is a little tricky.
I started just like you with editing it by hand, too. ;)
This document has a part how to modify cib.xml:
http://clusterlabs.org/wiki/images/f/fb/Configuration_Explained.pdf
Try
cibadmin -C -o resources|constraints|... --xml-file /path/to/xml-file
to create resources or same with -U for updating or -D to delete
something
from the CIB.
Regards
Florian
-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [
mailto:[EMAIL PROTECTED]
ha.org] Im Auftrag von Kirby Bakken
Gesendet: Montag, 10. März 2008 17:39
An: General Linux-HA mailing list
Betreff: [Linux-HA] how to change cib.xml
Can someone please point me to the documentation on how to do
this? I
tried editing cib.xml, and holy shit was that a bad thing to do.....
Also, how do I get a secondary machine 'reconstructed'? I tried
doing a
copy of everything in /var/lib/heartbeat/* from my working primary to
the
secondary, as well as the /usr/lib/heartbeat/* stuff....
=======================
Kirby Bakken
ESW Build Architect
Rochester, MN
email: [EMAIL PROTECTED]
ezpage:kirbyb
507-253-4549 / Tie: 553-4549
Fax: 507-253-3495
......one more straw can't possibly matter....
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems