So I have setup proxmox 2 node HA in the process of setting the cluster.conf file for fencing and somethign has gone wrong. node1 no longer sees node2 (it's not listed in the web interface.
Node2 see node1 in the interface, but shows as offline.
the cluster.conf file is as follows:
I can't seem to find the problem so I decided to try remove prox00 from prox01 by running
When I do that I get the following errors so I am assuming there is some error in the cluster.conf file which I am missing.
Can anyone see where I have gone wrong?
Node2 see node1 in the interface, but shows as offline.
the cluster.conf file is as follows:
Code:
<?xml version="1.0"?>
<cluster name="proxcluster" config_version="4">
<cman keyfile="/var/lib/pve-cluster/corosync.authkey">
</cman>
<fencedevices>
<fencedevice agent="fence_ilo" ipaddr="192.168.1.3" login="proxmox" name="prox00" passwd="password"/>
<fencedevice agent="fence_ilo" ipaddr="192.168.1.4" login="proxmox" name="prox01" passwd="password"/>
</fencedevices>
<clusternodes>
<clusternode name=“prox00” nodeid="1" votes="1">
<fence>
<method name="1">
<device name=“prox00” action="reboot"/>
</method>
</fence>
</clusternode>
<clusternode name=“prox01” nodeid="2" votes="1">
<fence>
<method name="1">
<device name=“prox01” action="reboot"/>
</method>
</fence>
</clusternode>
</clusternodes>
</cluster>
I can't seem to find the problem so I decided to try remove prox00 from prox01 by running
Code:
pvecm delnode prox00
When I do that I get the following errors so I am assuming there is some error in the cluster.conf file which I am missing.
Code:
/etc/pve/cluster.conf:13: parser error : AttValue: " or ' expected
<clusternode name=“prox00” nodeid="1" votes="1">
^
/etc/pve/cluster.conf:13: parser error : attributes construct error
<clusternode name=“prox00” nodeid="1" votes="1">
^
/etc/pve/cluster.conf:13: parser error : Couldn't find end of Start Tag clusternode line 13
<clusternode name=“prox00” nodeid="1" votes="1">
^
/etc/pve/cluster.conf:16: parser error : AttValue: " or ' expected
<device name=“prox00” action="reboot">
^
/etc/pve/cluster.conf:16: parser error : attributes construct error
<device name=“prox00” action="reboot">
^
/etc/pve/cluster.conf:16: parser error : Couldn't find end of Start Tag device line 16
<device name=“prox00” action="reboot">
^
/etc/pve/cluster.conf:19: parser error : Opening and ending tag mismatch: clusternodes line 12 and clusternode
</clusternode>
^
/etc/pve/cluster.conf:21: parser error : AttValue: " or ' expected
<clusternode name=“prox01” nodeid="2" votes="1">
^
/etc/pve/cluster.conf:21: parser error : attributes construct error
<clusternode name=“prox01” nodeid="2" votes="1">
^
/etc/pve/cluster.conf:21: parser error : Couldn't find end of Start Tag clusternode line 21
<clusternode name=“prox01” nodeid="2" votes="1">
^
/etc/pve/cluster.conf:24: parser error : AttValue: " or ' expected
<device name=“prox01” action="reboot">
^
/etc/pve/cluster.conf:24: parser error : attributes construct error
<device name=“prox01” action="reboot">
^
/etc/pve/cluster.conf:24: parser error : Couldn't find end of Start Tag device line 24
<device name=“prox01” action="reboot">
^
/etc/pve/cluster.conf:27: parser error : expected '>'
</clusternode>
^
/etc/pve/cluster.conf:27: parser error : Extra content at the end of the document
</clusternode>
^
ccs_tool: Error: unable to parse requested configuration file
Can anyone see where I have gone wrong?