<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>RE: [PVE-User] error validating fence</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>Hi<BR>
You have a problem with your cluster.conf. You finalize clusternodes twice. At the end of the line with '/' and then with </clusternodes><BR>
<BR>
I think that you need to use something like this.<BR>
<BR>
<BR>
<?xml version="1.0"?><BR>
<cluster name="Riuma" config_version="7"><BR>
<BR>
<cman keyfile="/var/lib/pve-cluster/corosync.authkey"/><BR>
<fencedevices><BR>
<fencedevice agent="fence_ipmilan" name="ipmi1" lanplus="1" ipaddr="172.16.8.2" login="ADMIN" passwd="ADMIN" power_wait="5"/><BR>
<fencedevice agent="fence_ipmilan" name="ipmi2" lanplus="1" ipaddr="172.16.8.3" login="ADMIN" passwd="ADMIN" power_wait="5"/><BR>
<fencedevice agent="fence_ipmilan" name="ipmi3" lanplus="1" ipaddr="172.16.8.4" login="ADMIN" passwd="ADMIN" power_wait="5"/><BR>
<fencedevice agent="fence_ipmilan" name="ipmi4" lanplus="1" ipaddr="172.16.8.5" login="ADMIN" passwd="ADMIN" power_wait="5"/><BR>
<fencedevice agent="fence_ipmilan" name="ipmi5" lanplus="1" ipaddr="172.16.8.6" login="ADMIN" passwd="ADMIN" power_wait="5"/><BR>
</fencedevices><BR>
<BR>
<clusternodes><BR>
<clusternode name="nodo-05" votes="1" nodeid="1"> <BR>
<fence><BR>
<method name="1"><BR>
<device name="ipmi5"/><BR>
</method><BR>
</fence><BR>
</clusternode><BR>
<clusternode name="nodo-01" votes="1" nodeid="2"/><BR>
<clusternode name="nodo-02" votes="1" nodeid="3"/><BR>
<clusternode name="nodo-03" votes="1" nodeid="4"/><BR>
<clusternode name="nodo-04" votes="1" nodeid="5"/><BR>
</clusternodes><BR>
<BR>
</cluster><BR>
<BR>
<BR>
Try with this.<BR>
<BR>
Then launch validate.<BR>
<BR>
Dont forget edit<BR>
#nano /etc/default/redhat-cluster-pve and active FENCE_JOIN<BR>
<BR>
# this file is sourced by the following init scripts:<BR>
# /etc/init.d/cpglockd<BR>
# /etc/init.d/cman<BR>
# /etc/init.d/rgmanager<BR>
FENCE_JOIN="yes"<BR>
<BR>
<BR>
Then launch #fence_tool join.<BR>
<BR>
Try with this....<BR>
<BR>
Regards!<BR>
-----<BR>
Fernando Sierra<BR>
System Administrator at CETA-Ciemat (Trujillo,Cáceres)<BR>
Spain<BR>
<BR>
<BR>
<BR>
-----Mensaje original-----<BR>
De: pve-user-bounces@pve.proxmox.com en nombre de Fábio Rabelo<BR>
Enviado el: mar 16/10/2012 20:40<BR>
Para: pve-user@pve.proxmox.com<BR>
Asunto: [PVE-User] error validating fence<BR>
<BR>
Hi to all<BR>
<BR>
I am getting an error when I try to validate /etc/pve/cluster.conf.new ,<BR>
but I have no clue what are wrong !<BR>
<BR>
Error seems syntax related :<BR>
<BR>
root@nodo-05:~# ccs_config_validate -v -f /etc/pve/cluster.conf.new<BR>
Creating temporary file: /tmp/tmp.cCANFjnwIL<BR>
Config interface set to:<BR>
Configuration stored in temporary file<BR>
Updating relaxng schema<BR>
Validating..<BR>
tempfile:22: parser error : Opening and ending tag mismatch: clusternodes<BR>
line 15 and clusternode<BR>
</clusternode><BR>
^<BR>
tempfile:27: parser error : expected '>'<BR>
</clusternodes><BR>
^<BR>
tempfile:27: parser error : Extra content at the end of the document<BR>
</clusternodes><BR>
^<BR>
Validation completed<BR>
<BR>
<BR>
This is the complete content of the file :<BR>
<BR>
<?xml version="1.0"?><BR>
<cluster name="Riuma" config_version="7"><BR>
<BR>
<cman keyfile="/var/lib/pve-cluster/corosync.authkey"><BR>
</cman><BR>
<BR>
<fencedevices><BR>
<fencedevice agent="fence_ipmilan" name="ipmi1" lanplus="1"<BR>
ipaddr="172.16.8.2" login="ADMIN" passwd="ADMIN" power_wait="5"/><BR>
<fencedevice agent="fence_ipmilan" name="ipmi2" lanplus="1"<BR>
ipaddr="172.16.8.3" login="ADMIN" passwd="ADMIN" power_wait="5"/><BR>
<fencedevice agent="fence_ipmilan" name="ipmi3" lanplus="1"<BR>
ipaddr="172.16.8.4" login="ADMIN" passwd="ADMIN" power_wait="5"/><BR>
<fencedevice agent="fence_ipmilan" name="ipmi4" lanplus="1"<BR>
ipaddr="172.16.8.5" login="ADMIN" passwd="ADMIN" power_wait="5"/><BR>
<fencedevice agent="fence_ipmilan" name="ipmi5" lanplus="1"<BR>
ipaddr="172.16.8.6" login="ADMIN" passwd="ADMIN" power_wait="5"/><BR>
</fencedevices><BR>
<BR>
<clusternodes><BR>
<clusternode name="nodo-05" votes="1" nodeid="1"/><BR>
<fence><BR>
<method name="1"><BR>
<device name="ipmi5"/><BR>
</method><BR>
</fence><BR>
</clusternode><BR>
<clusternode name="nodo-01" votes="1" nodeid="2"/><BR>
<clusternode name="nodo-02" votes="1" nodeid="3"/><BR>
<clusternode name="nodo-03" votes="1" nodeid="4"/><BR>
<clusternode name="nodo-04" votes="1" nodeid="5"/><BR>
</clusternodes><BR>
<BR>
</cluster><BR>
<BR>
<BR>
The system consists of a Supermicro motherboard (<BR>
*H8DGi-F*<<A HREF="http://www.supermicro.com/Aplus/motherboard/Opteron6000/SR56x0/H8DGi-F.cfm">http://www.supermicro.com/Aplus/motherboard/Opteron6000/SR56x0/H8DGi-F.cfm</A>>)<BR>
<BR>
I can ssh to IPMI without a problem ...<BR>
<BR>
Any hint will help, all doc I find shows nothing related ...<BR>
<BR>
A link to related doc will be even better !<BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>