Am Mittwoch, 18. März 2009 10:56:49 schrieb Andrew Beekhof:
> On Wed, Mar 18, 2009 at 07:27, Michael Schwartzkopff <mi...@multinet.de> 
wrote:
> > Hi,
> >
> > where can I find information about the latest DTD. I am especially
> > interested in information about the crm_config section.
> >
> > The two sources of information I found were:
> > http://hg.clusterlabs.org/pacemaker/dev/file/tip/xml/crm-1.0.dtd
> > http://www.linux-ha.org/ciblint/crm_config
> >
> > which somehow contradict each other. The crm.dtd i.e. tells me about an
> > attribute transistion_idle_timeout which doesn't exist in the actual
> > configuration and
> > cibadmin -C -o crm_config -X '<nvpair id="12345"
> > name="transition_idle_timeout" value="50"/>'
> >
> > results in an error.
>
> It shouldn't.  The DTD doesn't validate names.

# cibadmin -C -o crm_config -X '<nvpair id="nvpair-7d901f86-b3b2-4a71-b189-
d81c408e7bc5" name="transition_idle_timeout" value="50"/>'
Call cib_create failed (-47): Update does not conform to the configured 
schema/DTD
<null>


> > Where to find the real DTD definition? Thanks.
>
> There isn't one, its been replaced by a relax-ng schema :-)
>
> /usr/share/pacemaker/pacemaker.rng

Ok. Where is the doc how to configure the crm_config section of a pacemaker 
cluster? What attrbiutes are valid are can be used?

Greetings,

-- 
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75

mail: mi...@multinet.de
web: www.multinet.de

Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht München HRB 114375
Geschäftsführer: Günter Jurgeneit, Hubert Martens

---

PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42
_______________________________________________
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