Quantcast
Channel: Proxmox Support Forum
Viewing all articles
Browse latest Browse all 170666

Problem with fencing on cluster

$
0
0
Hello,

I have problem with fencing on my cluster, it uses fence_ipmilan (On Supermicro X9SCL). When I add lanplus="1" to fencedevice ccs_config_validate -v -f cluster.conf says:
Code:

Creating temporary file: /tmp/tmp.5SCGZlsmM7Config interface set to:
Configuration stored in temporary file
Updating relaxng schema
Validating..
Relax-NG validity error : Extra element fencedevices in interleave
tempfile:4: element fencedevices: Relax-NG validity error : Element cluster failed to validate content
tempfile:20: element device: validity error : IDREF attribute name references an unknown ID "vh02-ipmi"
tempfile:27: element device: validity error : IDREF attribute name references an unknown ID "vh03-ipmi"
Configuration fails to validate
Validation completed

and without lanplus="1" ccs_config_validate -v -f cluster.conf.new:
Code:

Creating temporary file: /tmp/tmp.LIDWkElnU4
Config interface set to:
Configuration stored in temporary file
Updating relaxng schema
Validating..
Configuration validates
Validation completed

Here is a diff:

Code:

root@vh03:/etc/pve# diff cluster.conf cluster.conf.new
5,7c5,7
<    <fencedevice agent="fence_ipmilan" lanplus="1" ipaddr="172.16.24.1" login="fencing" name="vh01-ipmi" passwd="proxmox" secure="1" power_wait="5"/>
<    <fencedevice agent="fence_ipmilan" lanplus="1" ipaddr="172.16.24.2" login="fencing" name="vh02-ipmi" passwd="proxmox" secure="1" power_wait="5"/>
<    <fencedevice agent="fence_ipmilan" lanplus="1" ipaddr="172.16.24.3" login="fencing" name="vh03-ipmi" passwd="proxmox" secure="1" power_wait="5"/>
---
>    <fencedevice agent="fence_ipmilan" ipaddr="172.16.24.1" login="fencing" name="vh01-ipmi" passwd="proxmox" secure="1" power_wait="5"/>
>    <fencedevice agent="fence_ipmilan" ipaddr="172.16.24.2" login="fencing" name="vh02-ipmi" passwd="proxmox" secure="1" power_wait="5"/>
>    <fencedevice agent="fence_ipmilan" ipaddr="172.16.24.3" login="fencing" name="vh03-ipmi" passwd="proxmox" secure="1" power_wait="5"/>

Without lanplus="1" fencing does not work, so I can't safely use HA. What to do?

Thanks in advice


Additional info:
Code:

root@vh03:/etc/pve# pveversion
pve-manager/3.1-4/f6816604 (running kernel: 2.6.32-23-pve)

cluster.conf (with lanplus="1"):
Code:

<?xml version="1.0"?><cluster config_version="13" name="Klaster">
  <cman keyfile="/var/lib/pve-cluster/corosync.authkey"/>
  <fencedevices>
    <fencedevice agent="fence_ipmilan" lanplus="1" ipaddr="172.16.24.1" login="fencing" name="vh01-ipmi" passwd="proxmox" secure="1" power_wait="5"/>
    <fencedevice agent="fence_ipmilan" lanplus="1" ipaddr="172.16.24.2" login="fencing" name="vh02-ipmi" passwd="proxmox" secure="1" power_wait="5"/>
    <fencedevice agent="fence_ipmilan" lanplus="1" ipaddr="172.16.24.3" login="fencing" name="vh03-ipmi" passwd="proxmox" secure="1" power_wait="5"/>
  </fencedevices>
  <clusternodes>
    <clusternode name="vh01" nodeid="1" votes="1">
      <fence>
        <method name="1">
          <device name="vh01-ipmi"/>
        </method>
      </fence>
    </clusternode>
    <clusternode name="vh02" nodeid="2" votes="1">
      <fence>
        <method name="1">
          <device name="vh02-ipmi"/>
        </method>
      </fence>
    </clusternode>
    <clusternode name="vh03" nodeid="3" votes="1">
      <fence>
        <method name="1">
          <device name="vh03-ipmi"/>
        </method>
      </fence>
    </clusternode>
  </clusternodes>
  <rm>
    <pvevm autostart="1" vmid="100"/>
    <pvevm autostart="1" vmid="101"/>
    <pvevm autostart="1" vmid="102"/>
  </rm>
</cluster>


Viewing all articles
Browse latest Browse all 170666

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>