cluster.conf

hotwired007

Member
Sep 19, 2011
533
7
16
UK
I cant get my cluster.conf.new to load in on the HA tab - i get the following error message:

mismatched tag at line 19, column 6, byte 671 at /usr/lib/perl5/XML/Parser.pm line 187 (500)

Code:
<?xml version="1.0"?>
<cluster config_version="38" name="cluster">
  <cman keyfile="/var/lib/pve-cluster/corosync.authkey"/>

  <fencedevices>
    <fencedevice agent="fence_emaa12_snmp" ipaddr="192.168.100.240" login="root" name="eaton-epdu1" passwd="password" power_wait="10"/>
    <fencedevice agent="fence_emaa12_snmp" ipaddr="192.168.100.241" login="root" name="eaton-epdu2" passwd="password" power_wait="10"/>
  </fencedevices>

  <clusternodes>
  
    <clusternode name="voyager" nodeid="1" votes="1"/>
      <fence>
        <method name="1">
          <device name="eaton-epu1" port="14"/>
          <device name="eaton-epu2" port="14"/>
        </method>
      </fence>
    </clusternode>
    
    <clusternode name="bellerophon" nodeid="2" votes="1"/>
      <fence>
        <method name="1">
          <device name="eaton-epu1" port="17"/>
          <device name="eaton-epu2" port="17"/>
        </method>
      </fence>
    </clusternode>
 
  <clusternode name="intrepid" votes="1" nodeid="3"/>
      <fence>
        <method name="1">
          <device name="eaton-epu1" port="18"/>
          <device name="eaton-epu2" port="18"/>
        </method>
      </fence>
    </clusternode>

    <clusternode name="pathfinder" votes="1" nodeid="4"/>
      <fence>
        <method name="1">
          <device name="eaton-epu1" port="19"/>
          <device name="eaton-epu2" port="19"/>
        </method>
      </fence>
    </clusternode>

  </clusternodes>

  </cluster>

Any suggestions on what ive done wrong?
 
validate your file and check the output:

Code:
ccs_config_validate -v -f /etc/pve/cluster.conf.new
 
ahah - many thanks

found two mistakes ;)

mistyped the name in the clusternode section and had closed off the clusternode tag before the fence/method etc was loaded.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!