Limitation of fencing attempts

GigaZ

New Member
Sep 13, 2017
1
0
1
Hello everyone,
I build a Proxmox 3.4 two node cluster with two Dell R210 and a third node as iscsiTarget. This works still great.
I use IDRAC for fencing and DRBD as storage. But after a powerfailure of node1, node2 tries to fence node1 with IDRAC. But IDRAC doesn't really work without power. (It works, if power's there and the machine is still unpowered.)
It stucks in a loop with following message:

node2 fence_drac5: Unable to connect/login to fencing device

The Problem is, that the VMs can't start without successful fencing.
Is there a possibillity to limit failed fencing-attempts to e.g. 3 attempts and starting the VMs to node2?

Thanks allot and greetings from Germany!



Code:
<?xml version="1.0"?>
<cluster config_version="36" name="meincluster">
  <cman expected_votes="3"/>
  <quorumd allow_kill="0" interval="1" label="proxmox1_qdisk" tko="10" votes="1"/>
  <totem token="54000"/>
  <fencedevices>
<fencedevice agent="fence_drac5" cmd_prompt="admin1-&gt;" ipaddr="192.168.1.111" login="idracadmin" name="node1-drac" passwd="testtest" secure="1" login_timeout="2" retry_on="3"/>
<fencedevice agent="fence_drac5" cmd_prompt="admin1-&gt;" ipaddr="192.168.1.112" login="idracadmin" name="node2-drac" passwd="testtest" secure="1" login_timeout="2" retry_on="3"/>
  </fencedevices>
  <clusternodes>
    <clusternode name="node1" nodeid="1" votes="1">
      <fence>
        <method name="1">
          <device name="node1-drac"/>
        </method>
      </fence>
    </clusternode>
    <clusternode name="node2" nodeid="2" votes="1">
      <fence>
        <method name="1">
          <device name="node2-drac"/>
        </method>
      </fence>
    </clusternode>
  </clusternodes>
  <rm>
    <pvevm autostart="1" vmid="101"/>
  </rm>
</cluster>
 

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!