- Preface
- New and Changed Information for this Release
- Overview
- Managing VMware Clouds
- VMware VM Provisioning
- Managing VMware Content Libraries
- Managing VMware Templates
- VM Provisioning Using ISO Images
- Managing VMware Linked Clones
- Managing VMware Datastore Clusters
- Managing Virtual SAN Clusters
- Managing VMware Host Profiles
- Managing VMkernel NICs
- Managing VMware vMotion
- Enabling VMware Remote Console
- Managing VMware Distributed Resource Scheduler
- Managing VM Annotations
- Managing VMware vCenter Site Recovery Manager
- Managing Cisco Virtual Machine Fabric Extender For VMware
- Appendix
Managing VMware
vMotion
This chapter contains the following sections:
- About VMware vMotion and vCenter Storage vMotion
- Migration Options
- Migration Using the Migrate VM Wizard
- Migration using the Migrate VM Workflow Task
About VMware vMotion and vCenter Storage vMotion
VMware vMotion (vMotion) technology allows users to migrate running virtual machines between compatible physical servers with zero downtime continuous service availability, and complete transaction integrity. The entire state of a VM is encapsulated by a set of files stored on shared storage, and VMware's VMFS cluster file system allows both the source and the target ESX Server to access these VM files concurrently. The active memory and precise execution state of a VM can then be rapidly transmitted over a high-speed network. Since the network is also virtualized by ESX Server, the VM retains its network identity and connections, ensuring a seamless migration process.
With VMware vCenter Storage vMotion (Storage vMotion), a VM and its disk files can be migrated from one datastore to another while the VM is running. These datastores can be on the same or separate storage arrays. The following terms are important for understanding the vMotion technology.
- Host
-
A physical server that is part of the VMware infrastructure hardware resources pool.
- Cold migration
-
Migration of a VM that has been powered off on the source host. The VM is powered on again on the destination host after the transfer of the VM is complete.
- Hot migration
-
Migration of a VM that is powered on. The VM (and applications) previously running on the source host continue execution on the destination host, without being affected by changes, after the hot migration is complete.
You can enable vMotion on a VMkernel NIC using the Modify Port Properties task.
Migration Options
Based on the running state of the VM, there are small differences in the migrations options available for the user. A powered-off VM provides the full range of migration options that can occur simultaneously, whereas a powered-on VM is restricted to migrating either the resources or the data in the same job.
Option | Description | Type | VM State |
---|---|---|---|
Change host |
Move the VM to another ESX/ESXi host. You can also select and edit the network port group. Network port group modification is supported with VMware vCenter version 6.0 or later. |
vMotion |
Powered-off (Cold) or Powered-on (Hot) |
Change datastore |
Move the VM's configuration file and virtual disks. |
Storage vMotion |
Powered-off (Cold) or Powered-on (Hot) |
Change both host and datastore |
Move the VM to another ESX/ESXi host and move its configuration file and virtual disks. This option supports cross datacenter migration and lets you migrate the VM to a host with a different subnet. |
Combined vMotion and Storage vMotion |
Powered-off (Cold) or Powered-on (Hot) Powered-on migration is supported with VMware vSphere version 6.0 or later. |
Migration Using the Migrate VM Wizard
You can migrate a VM to a new host node and datastore. You can also modify the source VM network while changing the host node. Follow the steps to execute vMotion or Storage vMotion migration.
![]() Note | VM migration is only supported within the same vCenter. |
Migration using the Migrate VM Workflow Task
You can add the Migrate VM task from the Cisco UCS Director task library to a workflow for migration.
![]() Note | The Migration VM task supports VM migration for all three options discussed in Migration Options. |