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

Re: [Linux-cluster] RHCS: system-config-cluster: Poorly Formed XML Error



Hi,

Which OS and version is this? RHEL/CentOS/Fedora, or... ?

Steve.

On Fri, 2010-03-19 at 14:34 +0000, Hoang, Alain wrote:
> Hello,
>  
> I did create a 3 node RHCS with VMware fencing (not in fence device
> list), using online commands (see below), but when I start
> “system-config-cluster”., I’m getting a pop-up window: Poorly Formed
> XML Error
>  
> Relax-NG validity error : Extra element fencedevices in interleave
> /etc/cluster/cluster.conf:7: element fencedevices: Relax-NG validity
> error : Element cluster failed to validate content
> /etc/cluster/cluster.conf:5: element device: validity error : IDREF
> attribute name references an unknown ID "perenv1_vmware"
> /etc/cluster/cluster.conf:5: element device: validity error : IDREF
> attribute name references an unknown ID "perenv2_vmware"
> /etc/cluster/cluster.conf fails to validate
>  
> Did I miss to install/configure something?
>  
> Commands to create the RHCS:
>       * [root perenv1 ~]# ccs_tool create RHCS_foo
>       * [root perenv1 ~]# ccs_tool addfence -C perenv1_vmware
>         fence_vmware ipaddr=peren login=esxuser passwd=esxpass
>         vmlogin=root vmpasswd=esxpass
>         port="/vmfs/volumes/4b7eb404-b05e7ad9-b85d-0025b31ee22e/perenv1/perenv1.vmx"
>       * [root perenv1 ~]#  ccs_tool addfence -C perenv2_vmware
>         fence_vmware ipaddr=peren login=esxuser passwd=esxpass
>         vmlogin=root vmpasswd=esxpass
>         port="/vmfs/volumes/4b7eb404-b05e7ad9-b85d-0025b31ee22e/perenv2/perenv2.vmx"
>       * [root perenv1 ~]# ccs_tool addfence -C perenv3_vmware
>         fence_vmware ipaddr=peren login=esxuser passwd=esxpass
>         vmlogin=root vmpasswd=esxpass
>         port="/vmfs/volumes/4b7eb404-b05e7ad9-b85d-0025b31ee22e/perenv3/perenv3.vmx "
>       * [root perenv1 ~]# ccs_tool addnode –C perenv1.fra.hp.com –n 1
>         –v 1 –f perenv1_vmware
>       * [root perenv1 ~]# ccs_tool addnode –C perenv2.fra.hp.com –n 2
>         –v 1 –f perenv2_vmware
>       * [root perenv1 ~]# ccs_tool addnode –C perenv3.fra.hp.com –n 3
>         –v 1 –f perenv3_vmware
>  
> /etc/cluster/cluster.conf:
> <?xml version="1.0"?>
> <cluster config_version="8" name="RHCS_TeMIP">
>         <fence_daemon post_fail_delay="0" post_join_delay="3"/>
>         <clusternodes>
>         <clusternode name="perenv1.fra.hp.com" votes="1"
> nodeid="1"><fence><method name="single"><device
> name="perenv1_vmware"/></method></fence></clusternode><clusternode
> name="perenv2.fra.hp.com" votes="1" nodeid="2"><fence><method
> name="single"><device
> name="perenv2_vmware"/></method></fence></clusternode><clusternode
> name="perenv3.fra.hp.com" votes="1" nodeid="3"><fence><method
> name="single"><device
> name="perenv3_vmware"/></method></fence></clusternode></clusternodes>
>         <cman/>
>         <fencedevices><fencedevice name="perenv3_vmware"
> agent="fence_vmware" ipaddr="peren" login="esxuser" passwd="esxpass"
> port="/vmfs/volumes/4b7eb404-b05e7ad9-b85d-0025b31ee22e/perenv3/perenv3.vmx" vmlogin="root" vmpasswd="esxpass"/><fencedevice name="perenv2_vmware" agent="fence_vmware" ipaddr="peren" login="esxuser" passwd="esxpass" port="/vmfs/volumes/4b7eb404-b05e7ad9-b85d-0025b31ee22e/perenv2/perenv2.vmx" vmlogin="root" vmpasswd="esxpass"/><fencedevice name="perenv1_vmware" agent="fence_vmware" ipaddr="peren" login="esxuser" passwd="esxpass" vmlogin="root" vmpasswd="esxpass" port="/vmfs/volumes/4b7eb404-b05e7ad9-b85d-0025b31ee22e/perenv1/perenv1.vmx"/></fencedevices>
>         <rm>
>                 <failoverdomains/>
>                 <resources/>
>         </rm>
> </cluster>
>  
>  
> Best Regards,
> Alain.
>  
>  
>  
> --
> Linux-cluster mailing list
> Linux-cluster redhat com
> https://www.redhat.com/mailman/listinfo/linux-cluster


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