Re: Error in Cluster.conf

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

 



On 6/24/2014 12:32 PM, Amjad Syed wrote:
> Hello
> 
> I am getting the following error when i run ccs_config_Validate
> 
> ccs_config_validate
> Relax-NG validity error : Extra element clusternodes in interleave

You defined <clusternodes.. twice.

Fabio

> tempfile:12: element clusternodes: Relax-NG validity error : Element
> cluster failed to validate content
> Configuration fails to validate
> 
> Here is my cluster.conf file
> 
> <?xml version="1.0"?>
> <cluster config_version="1" name="oracleha">
>         <clusternodes>
>                 <clusternode name="krplporcl001" nodeid="1"/>
>                 <clusternode name="krplporcl002" nodeid="2"/>
>         </clusternodes>
>         <cman expected_votes="1" two_node="1"/>
> 
>         <fencedevices>
>            <fencedevice agent= "fence_ipmilan" ipaddr="10.10.63.93"
> login="ADMIN" name="inspuripmi" passwd="abc123"/>
>            <fencedvice agent = "fence_ilo" ipaddr="10.10.63.92"
> login="test" name="hpipmi" passwd="abc12345"/>
>           </fencedevices>
>         <clusternodes>
>            <clusternode name= "krplporcl001"  nodeid="1" votes= "1">
>            <fence>
>                <method name  = "1">
>                  <device lanplus = "" name="fence_node1"  action ="reboot"/>
>                  </method>
>             </fence>
>            </clusternode>
>             <clusternode name = "krplporcl002" nodeid="2" votes ="1">
>                  <fence>
>                  <method name = "1">
>                  <device lanplus ="1" name="fence_node2" action ="reboot"/>
>                   </method>
>                </fence>
>             </clusternode>
>          </clusternodes>
> 
> 
>         <rm>
> 
>           <failoverdomains/>
>         <resources/>
>         <service autostart="1" exclusive="0" name="IP" recovery="relocate">
>                 <ip address="10.10.5.23" monitor_link="on" sleeptime="10"/>
>         </service>
> </rm>
> </cluster>
> 
> 
> Any help would be appreciated
> 
> 
> 
> 

-- 
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster




[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux