Note: I've changed the actual domain name to 'x.nl'.
I'm trying to configure a two-node cluster on Proxmox VE 3.4.
What I've done so far:
The file `/etc/pve/cluster.conf` is as follows:
In order to support fencing, I have created a `/etc/pve/cluster.conf.new` as per the instructions in the Proxmox documentation:
However, upon clicking 'Activate' in the Proxmox GUI (under 'HA') I get the following error:
"config validation failed: unknown error (500)"
So, something's up with the file. Syntax check:
The configuration doesn't validate. What I can't quite figure out is what is wrong.
What is incorrect about px02? It seems fine to me.
I'm trying to configure a two-node cluster on Proxmox VE 3.4.
What I've done so far:
- Created the cluster;
- Created fencing users using IPMItool;
- Joined the second node (px01) to the cluster created on the first node (px01);
- Created a new configuration file
The file `/etc/pve/cluster.conf` is as follows:
Code:
<?xml version="1.0"?>
<cluster name="cl05" config_version="2">
<cman keyfile="/var/lib/pve-cluster/corosync.authkey">
</cman>
<clusternodes>
<clusternode name="px01" votes="1" nodeid="1"/>
<clusternode name="px02" votes="1" nodeid="2"/></clusternodes>
</cluster>
In order to support fencing, I have created a `/etc/pve/cluster.conf.new` as per the instructions in the Proxmox documentation:
Code:
<?xml version="1.0"?>
<cluster name="cl05" config_version="5">
<cman two_node="1" expected_votes="1" keyfile="/var/lib/pve-cluster/corosync.authkey"></cman>
<fencedevices>
<fencedevice agent="fence_ilo" hostname="ilo.px01.cl05.x.nl" login="fencing" name="px01" passwd="DSAHDSAp09iosadka"/>
<fencedevice agent="fence_ilo" hostname="ilo.px02.cl05.x.nl" login="fencing" name="px02" passwd="DSAJJKlsam90dsaA"/>
</fencedevices>
<clusternodes>
<clusternode name="px01" votes="1" nodeid="1">
<fence>
<method name="1">
<device name="px01" action="reboot"/>
</method>
</fence>
</clusternode>
<clusternode name="px02" votes="1" nodeid="2">
<fence>
<method name="2">
<device name="px02" action="reboot"/>
</method>
</fence>
</clusternode>
</clusternodes>
</cluster>
However, upon clicking 'Activate' in the Proxmox GUI (under 'HA') I get the following error:
"config validation failed: unknown error (500)"
So, something's up with the file. Syntax check:
Code:
Relax-NG validity error : Extra element fencedevices in interleave
tempfile:5: element fencedevices: Relax-NG validity error : Element cluster failed to validate content
tempfile:21: element device: validity error : IDREF attribute name references an unknown ID "px02"
Configuration fails to validate
The configuration doesn't validate. What I can't quite figure out is what is wrong.
What is incorrect about px02? It seems fine to me.
Last edited: