Resource Manager Settings for Managing Migrations
search cancel

Resource Manager Settings for Managing Migrations

book

Article ID: 326281

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

Symptoms:
This article provides information on how to use various resource manager settings to control the number of maximum concurrent migrations.

Environment

VMware vSphere ESX 4.x
VMware vSphere ESXi 5.0
VMware vSphere ESXi 6.0

Resolution

Caution:

Modifying or changing these values are unsupportedThese are some advance configurations, modifying them without careful performance studies could lead to adverse effect. Blindly decrease concurrent operations could lead to prolonged total migrations time, especially during maintenance mode. Blindly increase concurrent operations could lead to resource starvations for each individual operation, and potentially failure.


Types of Resources Involved in Migration
  • For compute migration (vMotion) and compute + storage migration (XvMotion), host, network, and datastore resources are involved.
  • For storage only migration (SvMotion), host and datastore resources are involved.
How Does Resource Costs Impact Max Concurrent Operations
  • Max concurrent operations is calculated by dividing max cost by per operation cost.
  • Because XvMotion is both compute and storage migration, its max concurrent operations is the minimal of (max vMotion concurrent operations, max SvMotion concurrent operations)


Host Resource

Max Costs
 
vSphere VersionConfig SettingDefault Value
Pre vSphere 6.0vpxd.ResourceManager.maxCostPerEsx41Host8
vSphere 6.0 and beyondvpxd.ResourceManager.maxCostPerEsx6xHost16
Per Operation Costs
 
Migration
Type
vSphere
Version
Config SettingDefault
Value
Default
Max
Concurrent
Operations
vMotionPre
vSphere
6.0
vpxd.ResourceManager.costPerVmotionESX4118
 vSphere
6.0 and
beyond
vpxd.ResourceManager.costPerVmotionESX6x28
SvMotionPre
vSphere
6.0
vpxd.ResourceManager.costPerSVmotionESX4142
 vSphere
6.0 and
beyond
vpxd.ResourceManager.costPerSVmotionESX6x82


Datastore Resource


Max Costs
 
vSphere VersionConfig SettingDefault Value
Pre vSphere 6.0vpxd.ResourceManager.maxCostPerEsx41Ds128
vSphere 6.0 and beyondvpxd.ResourceManager.maxCostPerEsx6xDs128
Per Operation Costs
 
Migration
Type
vSphere
Version
Config SettingDefault
Value
Default
Max
Concurrent
Operations
vMotionPre
vSphere
6.0
vpxd.ResourceManager.CostPerEsx41Vmotion1128
 vSphere
6.0 and
beyond
vpxd.ResourceManager.CostPerEsx6xVmotion1128
SvMotionPre
vSphere
6.0
vpxd.ResourceManager.CostPerEsx41SVmotion168
 vSphere
6.0 and
beyond
vpxd.ResourceManager.CostPerEsx6xSVmotion168

 


Network Resource

Max Costs
 
Link SpeedConfig SettingDefault Value
1G Nicvpxd.ResourceManager.maxCostPer1GNic4
10G Nicvpxd.ResourceManager.maxCostPer10GNic8

Per Operation Costs
 
Migration
Type
Link
Speed
Config SettingDefault
Value
Default Max
Concurrent
Operations
vMotion1G Nicvpxd.ResourceManager.networkCostPerVmotion14
vMotion10G
Nic
vpxd.ResourceManager.networkCostPerVmotion18

Where to Edit These Settings?

These settings can be edited by modifying vpxd.cfg directly or via the advanced settings of the vCenter
Server Settings in the administration view.

< config >
< vpxd >
< ResourceManager >
< costPerVmotionESX6x > new value < /costPerVmotionESX6x >
< /ResourceManager >
< /vpxd >
< /config >


Advanced settings example



Note: The full config option name is vpxd.ResourceManager.maxCostPerEsx6xDs