[pve-devel] [PATCH cluster v2] add 'hardware_fencing' to datacenter.cfg

Thomas Lamprecht t.lamprecht at proxmox.com
Fri Mar 4 13:08:31 CET 2016


Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
 data/PVE/Cluster.pm | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/data/PVE/Cluster.pm b/data/PVE/Cluster.pm
index 0a7e8d0..b241662 100644
--- a/data/PVE/Cluster.pm
+++ b/data/PVE/Cluster.pm
@@ -1335,6 +1335,16 @@ my $datacenter_schema = {
 	    description => "Defines how many workers (per node) are maximal started ".
 	      " on actions like 'stopall VMs' or task from the ha-manager.",
 	},
+	fencing => {
+	    optional => 1,
+	    type => 'string',
+	    default => 'watchdog',
+	    enum => [ 'watchdog', 'hardware', 'both' ],
+	    description => "Set the fencing mode of the HA cluster. Hardware mode " .
+	      "needs a valid configuration of fence devices in /etc/pve/ha/fence.cfg." .
+	      " With both all two modes are used. " .
+	      " NOTE: 'hardware' and 'both' are EXPERIMENTAL & WIP",
+	},
     },
 };
 
-- 
2.1.4





More information about the pve-devel mailing list