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@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>
Attachment:
ccs_config_validate.out
Description: ccs_config_validate.out
Attachment:
cluster.conf.3.XX
Description: cluster.conf.3.XX
-- Linux-cluster mailing list Linux-cluster@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/linux-cluster