[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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


Indeed, you are 100% right. I should have ipaddr= and instead I had hostname= in the list of attributes for the fence_ilo device.

Syntax must have changed between RHEL5 and RHEL6.
I changed hostname= to ipaddr= and everything works as expected.

Thank you very much for your help. I really appreciate it.


Chris Jankowski

-----Original Message-----
From: Fabio M. Di Nitto [mailto:fdinitto redhat com] 
Sent: Friday, 3 December 2010 19:27
To: linux clustering
Cc: Jankowski, Chris
Subject: Re: [Linux-cluster] Validation failure of cluster.conf.

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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]