[Linux-HA] clone definition in DTD

Andrew Beekhof beekhof at gmail.com
Thu Oct 18 05:25:40 MDT 2007


On 10/18/07, Junko IKEDA <ikedaj at intellilink.co.jp> wrote:
> 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.

done:
  http://hg.beekhof.net/lha/crm-dev/rev/ac21864bd2f7

>
> --- /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
>
>
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>


More information about the Linux-HA mailing list