vMotion Priority

I was looking to set the vMotion priority to make critical VMs like linux cluster VMs to move quicker than the other VMs ,tried the timeout value to max in linux OS level for cluster but still when the vMotion is taking extra timeout , one of the cluster node is considering the other node as down and it initiates the VM reboot,  which causes downtime for the application and to overcome that I found from the Brian Graf blog the below option called vMotion Priority ..

When a vMotion occurs, vCenter attempts to reserve the resources on both the source and destination hosts to be shared among all concurrent migrations. For vMotions set at High Priority, vCenter will give a greater share of host CPU resources over the Standard Priority vMotion. This is useful if there is a need to push a specific virtual machine through vMotion quicker than other VMs that are being vMotion at the same time.

vMotion Priority does not change the concurrent vMotion limits. The simultaneous vMotion limits can be seen below:

Operation       ESX\ESXi       Network Type      Max Cost

vMotion           3.x,4.0              1\10 Gig                 2

vMotion            4.1,5.x                1Gig                      4

vMotion             4.1,5.x               10Gig                   8

There are two values to choose from for the -vMotionPriority parameter

  • High – Increased CPU shares given for vMotion
  • Standard (Default) – No additional shares given

The –vMotionPriority parameter is added on to the Move-VM cmdlet as seen below.

3

Move-VM –vm <VM Name> –vMotionPriority High –destination <destination host> -runasync

*Note: vMotion Priority is a benefit realized during concurrent vMotions.

Tested in my lab and the reference is from the Brian Graf blog .

Advertisement
This entry was posted in PowerCLI, VMware and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s