[Linux-cluster] Validation failure of cluster.conf.

Jankowski, Chris Chris.Jankowski at hp.com
Fri Dec 3 05:33:37 UTC 2010


Hi,

I am in a process of building a cluster on RHEL6.
I elected to build the /etc/cluster/cluster.conf (attached) by hand i.e. no Conga.
After I added fencing and fence devices the configuration file no longer passes validation check.

ccs_config_validate reports the following error:

[root at booboo1 cluster]# ccs_config_validate -f cluster.conf.3.XX
Relax-NG validity error : Extra element fencedevices in interleave
tempfile:27: element fencedevices: Relax-NG validity error : Element cluster failed to validate content
tempfile:18: element device: validity error : IDREF attribute name references an unknown ID "booboo2-ilo"
Configuration fails to validate

No matter how long I look at the file I cannot find any mistake in it.

I would appreciate if you could run the file through your validation tools and tell me what am I doing wrong.

Thanks and regards,

Chris Jankowski

<cluster name="auslab-test" config_version="3">

  <fence_daemon clean_start="0" post_fail_delay="1" post_join_delay="60"/>

  <clusternodes>

    <clusternode name="booboo1-ci.XXXX" nodeid="1" votes="1">
      <fence>
        <method name="iLO">
          <device name="booboo1-ilo"/>
        </method>
      </fence>
    </clusternode>

    <clusternode name="booboo2-ci.XXXX" nodeid="2" votes="1">
      <fence>
        <method name="iLO">
          <device name="booboo2-ilo"/>
        </method>
      </fence>
    </clusternode>

  </clusternodes>

  <cman expected_votes="3" two_node="0"/>

  <fencedevices>
    <fencedevice name="booboo1-ilo" agent="fence_ilo" hostname="booboo1-ilo.XXXX" login="XXXXX" passwd="XXXXX"/>
    <fencedevice name="booboo2-ilo" agent="fence_ilo" hostname="booboo2-ilo.XXXX" login="XXXXX" passwd="XXXXX"/>
  </fencedevices>

  <rm>

    <failoverdomains>
    </failoverdomains>

    <resources>
    </resources>

  </rm>

  <quorumd interval="3" label="auslab-test-quorum-disk" min_score="1" tko="7" votes="1">
    <heuristic interval="2" program="/bin/true" score="1"/>
  </quorumd>

  <totem token="43200"/>

</cluster>








-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20101203/121db22b/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ccs_config_validate.out
Type: application/octet-stream
Size: 374 bytes
Desc: ccs_config_validate.out
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20101203/121db22b/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cluster.conf.3.XX
Type: application/octet-stream
Size: 1156 bytes
Desc: cluster.conf.3.XX
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20101203/121db22b/attachment-0001.obj>


More information about the Linux-cluster mailing list