Virtual machine load balancing in server 2016 cluster

If you’re virtualization expert (on Microsoft world Smile) you’re well aware above feature is possible when we implement System Center Virtualization Manager (SCVMM) to manage the HYPER-V cluster. Not every customer can afford to have System Center Datacenter SKU purchase right?

Virtual machine load balancing comes in exact time to help you do that without SCVMM. In a nutshell we can monitor the CPU and memory usage on the host an based on the pre-defined rules and allow VMs to move across the HYPER-V nodes in the cluster.

Do we have option to configure this parameter? Why not we can configure the aggressiveness of the this feature by using parameter ‘AutoBalancerLevel’. To control the aggressiveness run the following in PowerShell:

(Get-Cluster).AutoBalancerLevel = <value>

image

VM auto balancing can be configured via GUI and PowerShell both.

In the cluster properties right-click on your cluster name and select the “Properties” option
Graphic of selecting property for cluster through Failover Cluster Manager
  1. Select the “Balancer” pane
    Graphic of selecting the balancer option through Failover Cluster Manager

From the PowerShell command point of view,

(Get-Cluster).AutoBalancerMode = <value>

Parameter values are,

image

PS: VM autobalancing is enable by default in server 2016. If you use SCVMM 2016 to manage the cluster then this feature will be disabled.

Advertisements