[pve-devel] [PATCH ha-manager] add 'hardware_fencing' to datacenter.cfg
Thomas Lamprecht
t.lamprecht at proxmox.com
Fri Mar 4 10:19:16 CET 2016
Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
Notes:
This does nothing yet, first we need add the support in the ha-manager.
But it's handy if we have it already in pve-cluster and does no harm
The "EXPERIMENTAL & WIP" in the description should make the user aware of that
data/PVE/Cluster.pm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/data/PVE/Cluster.pm b/data/PVE/Cluster.pm
index 0a7e8d0..507b054 100644
--- a/data/PVE/Cluster.pm
+++ b/data/PVE/Cluster.pm
@@ -1335,6 +1335,13 @@ my $datacenter_schema = {
description => "Defines how many workers (per node) are maximal started ".
" on actions like 'stopall VMs' or task from the ha-manager.",
},
+ hardware_fencing => {
+ optional => 1,
+ type => 'boolean',
+ default => 0,
+ description => "Enable or disable HW fencing. This needs a valid and " .
+ "tested fence configuration in /etc/pve/ha/fence.cfg. (EXPERIMENTAL& WIP)",
+ },
},
};
--
2.1.4
More information about the pve-devel
mailing list