assistanz
Assistanz

Windows Virtual Machine LB using Fail Over Cluster Manager

Windows Virtual Machine LB using Fail Over Cluster Manager

 OVERVIEW 

In this blog, we are sharing information about how to load balance Virtual machine using failover cluster and how to configure the VM aggressiveness on Windows using failover cluster manager.

INTRODUCTION

Load balancing will increase the cluster-wide performance. It’s essential to identify over committed nodes and re-balances the virtual machines. Once load balancing is enabled, VM’s are live migrated to idle nodes with no downtime.

LOAD BALANCE METRICS

Load balancing (aka Node fairness) evaluated a node’s load based on two aspects. They are.

  • Current Memory Pressure – Need to Validate whether the Hyper-V host have enough memory to support all the VM’s it’s running
  • CPU Utilization over a 5 minute period – If Hyper-V host is too loaded to accommodate all the VM’s.

Load balancing will be trigger when memory (or) CPU utilization reaches its pre-defined threshold.

CONTROLLING LOAD BALANCING MODE

There are two new cluster wide property are created. They are.

AutoBalancer Mode & AutoBalancel Level

Below table cloumn shows the autobalancer mode behaviour

AUTOBALANCER MODE

BEHAVIOUR

0

Disabled

1

Load Balance on node join

2

Load balance on a node join and every 30 minutes

 

STEPS TO AUTOBALANCER MODE THROUGH FAIL-OVER CLUSTER MANAGER
  • Open Fail over cluster manager MMC.

load balance Virtual machine

  • Right click on cluster name and select properties.

load balance Virtual machine

 

  • Then click on Balance tab.

load balance Virtual machine

  • There you can able to see three option for Auto balance Mode.

load balance Virtual machine

By default, it use the option 2 (Always load balance).

 

STEPS TO ENABLE AUTOBALANCERMODE THROUGH POWERSHELL
  • From powershell, to find the current autobalancer mode, type

get-cluster | select autobalancermode

load balance Virtual machine

  • To set new autobalancer mode, type.

(get-cluster).autobalancermode=<value>

load balance Virtual machine

 

CONTROLLING AGGRESSIVENESS OF LOAD BALANCING

We need to use the cluster property autobalancerlevel to control the load balacing aggressiveness.

AGGRESSIVE LEVELS

AUTOBALANCER LEVEL

AGGRESSIVENESS

BEHAVIOR

1 (default)

Low

Move when host is more than 80% loaded.

2

Medium

Move when host is more than 70% loaded.

3

High

Move when host is more than 60% loaded.

 

STEPS TO ENABLE LOAD BALANCING AGGRESSIVENESS THROUGH FAILOVER CLUSTER
  • Open Failover cluster manager MMC.

load balance Virtual machine

 

  • Right click on cluster name and select properties.

load balance Virtual machine

 

  • Then click on Balancer tab.

=load balance Virtual machine

  • There you will find three option to control load balancing aggressiveness.

load balance Virtual machine

By default, it use Low aggressiveness for fail over clustering in windows 2016.

 

STEPS TO ENABLE LOAD BALANCING AGGRESSIVENESS THROUGH POWER-SHELL
  • From powershell, to find current aggressive level, type.

get-cluster | select autobalancerlevel

load balance Virtual machine

  • To set new autobalance level, type

(get-cluster).Autobalancerlevel=<value>

load balance Virtual machine

Video

 

Thanks for reading this blog. We hope it will be useful for you to configure the virtual machine load balancing using failover cluster manager and PowerShell.

DirectAdmin Server Management Plans

Premium Support

24/7 End User Support from your Helpdesk
$ 99 Monthly / Server
  • Unlimited Support Plan
  • 24/7 Emergency Phone
  • Chat Support for Admin
  • Separate Account Manager
  • NDA & SLA
  • SLA Review Meetings
  • FREE Consultancy Services
  • Simple SignUp Process
  • Instant Account Activation
  •  

Platinum Support

24/7 Proactive Support
$ 49 Monthly / Server
  • Unlimited Support Plan
  • 24/7 Emergency Phone
  • Chat Support for Admin
  • Separate Account Manager
  • Advance Proactive Monitoring
  • Guaranteed SLA
  • SLA Review Meetings
  • 3rd Party Application Support
  • FREE Consultancy Services
  • Server Migration Support
  • Weekly Status Report
  • No End User Support
Popular

Unlimited Support

24/7 Support

$ 30 Monthly / Server
  • Unlimited Support Plan
  • 24/7 Support
  • Basic Monitoring
  • 30 Minutes Response Time
  • 4 Hours Resolution time for the Possible Issues
  • Security and Performance Optimization
  • React to Customers queries
  • Simple SignUp Process
  • Instant Account Activation
  • No Third party application support
  • No Migration and End User Support

Cpanel Server Management Plans

Premium Support

24/7 End User Support from your Helpdesk

$ 99 Monthly / Server
  • 24/7 End User White Label Support
  • Unlimited Number of Tickets
  • Chat Support for Admin
  • Separate Account Manager
  • Guaranteed SLA
  • Weekly Status Reports
  • FREE Consultancy Services
  • Simple SignUp Process
  • Instant Account Activation

Platinum Support

24/7 Proactive Server Management
$ 49 Monthly / Server
  • Unlimited Support Plan
  • 24/7 Emergency Phone
  • Chat Support for Admin
  • Separate Account Manager
  • Advance Proactive Monitoring
  • Guaranteed SLA
  • SLA Review Meetings
  • 3rd Party Application Support
  • FREE Consultancy Services
  • Server Migration Support
  • Weekly Status Report
  • No End User Support
Popular

Unlimited Support

24/7 Server Management

$ 29 Monthly / Server
  • Unlimited Admin Tasks
  • 24/7 Support
  • Basic Monitoring
  • 30 Minutes Response time
  • 4 hours Response time for possible issues
  • Security and Performance Optimization
  • React to Customers queries
  • No Third party application support
  • No Migration and End User Support

Cpanel Server Management Plans

Premium Support

24/7 End User Support from your Helpdesk

$ 99 Monthly / Server
  • 24/7 End User White Label Support
  • Unlimited Number of Tickets
  • Chat Support for Admin
  • Separate Account Manager
  • Guaranteed SLA
  • Weekly Status Reports
  • FREE Consultancy Services
  • Simple SignUp Process
  • Instant Account Activation

Platinum Support

24/7 Proactive Server Management
$ 49 Monthly / Server
  • Unlimited Support Plan
  • 24/7 Emergency Phone
  • Chat Support for Admin
  • Separate Account Manager
  • Advance Proactive Monitoring
  • Guaranteed SLA
  • SLA Review Meetings
  • 3rd Party Application Support
  • FREE Consultancy Services
  • Server Migration Support
  • Weekly Status Report
  • No End User Support
Popular

Unlimited Support

24/7 Server Management

$ 29 Monthly / Server
  • Unlimited Admin Tasks
  • 24/7 Support
  • Basic Monitoring
  • 30 Minutes Response time
  • 4 hours Response time for possible issues
  • Security and Performance Optimization
  • React to Customers queries
  • No Third party application support
  • No Migration and End User Support