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

Fabio M. Di Nitto fdinitto at redhat.com
Fri Dec 3 08:26:49 UTC 2010


On 12/3/2010 6:33 AM, Jankowski, Chris wrote:
> 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
>  

>   <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>
>  

looking at man fence_ilo.8 (STDIN PARAMETERS section), you probably want
(untested as I don´t have ilo here):

<fencedevice name="booboo1-ilo" agent="fence_ilo" ipaddr="booboo..."
login="XXXXX" passwd="XXXXX"/>

Fabio




More information about the Linux-cluster mailing list