Setting a migration threshold
Once DRS is enabled, several algorithms and metrics are continually evaluated to ascertain the optimal VM placement. However, the user may need to set the appropriate threshold to balance how aggressively or conservatively DRS should migrate VMs. This will ensure that, based on the criticality of the workload, it can be migrated when required. Another rationale behind this setting is to ensure that there is no negative impact, such as a frequent ping-pong of VMs across hosts.
How to do it...
In this recipe, we shall increase the threshold value to migrate VMs if there could be moderate improvements made to the cluster's load balance:
- Log in to vCenter and navigate to the desired cluster,
Configure |
, and click onvSphere DRS
Edit.
Expand the DRS automation. - Move the
Migration Threshold
slider towardAggressive
by 1 unit, as depicted in the following screenshot:

How it works...
Let's start with asking the question, if DRS is aimed at distributing resources and ensuring...