[Linux-HA] clone definition in DTD

Junko IKEDA ikedaj at intellilink.co.jp
Thu Oct 18 05:06:49 MDT 2007


Hi,

when I set up two group resources in clone, one of them didn't start.
I found that my configuration didn't make sense because the following were
defined in DTD.
one clone can contain only one primitive or one group resource, right?

but crm_verify didn't show any error for this wrong configuration.
It's more convenient if crm_verify can take it error if there are the clone
contains some resources in cib.xml.

--- /usr/lib64/heartbeat/crm.dtd ---
NOTE: Clones must contain exactly one primitive or one group resource.
      The CRM will complain about your configuration if this criteria is not
met.
      Please use crm_verify to ensure your configuration is valid.
      The DTD is written this way to be order in-sensitive.
-->

<!ELEMENT clone (meta_attributes|instance_attributes|primitive|group)*>
<!ATTLIST clone


Best Regards,
Junko Ikeda

NTT DATA INTELLILINK CORPORATION




More information about the Linux-HA mailing list