]> git.proxmox.com Git - pve-cluster.git/commitdiff
crs: add ha-rebalance-on-start sub-option to datacenter config
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 20 Mar 2023 06:39:25 +0000 (07:39 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 20 Mar 2023 06:39:25 +0000 (07:39 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
data/PVE/DataCenterConfig.pm

index c50a0cdb87576c852f3050664e831f7bcfa98b39..5f12450561f2b19fcdcc4e093deab87b1d732c06 100644 (file)
@@ -18,6 +18,13 @@ my $crs_format = {
            "recover services. With 'basic', only the number of services is used, with 'static', ".
            "static CPU and memory configuration of services is considered.",
     },
+    'ha-rebalance-on-start' => {
+       type => 'boolean',
+       optional => 1,
+       default => 0,
+       description => "Set to use CRS for selecting a suited node when a HA services request-state"
+           ." changes from stop to start.",
+    }
 };
 
 my $migration_format = {