Migrate a VM

Perform this task to migrate a VM between hosts and storages.

VM migration changes the carriers of a VM, including computing resources and storage resources. For example, you can change the host where a VM runs, or change the storage pool that stores disks (image files) of a VM.

VM migration types

Based on the VM state, VM migration includes online migration and offline migration.

Based on the application mode, VM migration includes dynamic migration and manual migration.

Migration methods

Table-1 Networks used in VM migration

VM state

Migration method

Change host

Change storage

Change host and storage

Online

Migration network and management network

Storage network

Migration network, management network, and storage network

Offline

Management network

Storage network

Migration network, management network, and storage network

 

·          Management network—Transmits control layer data between the management platform and hosts, including configuration information and control commands.

·          Storage network—Transmits packets from hosts to the storage. The storage network and management network can share the same IP range.

·          Migration network—Transmits service data during VM migration, including VM memory and disk image data. The migration network and management network can share the same IP range.

 

If you migrate the host and storage for a VM or migrate only the host for a VM, the system uses the following rules to select the networks:

Restrictions and guidelines

Procedure

  1. On the top navigation bar, click Resources.

  1. From the left navigation pane, select Compute > Host Pool Name > Host Name > VM Name or Compute > Host Pool Name > Cluster Name > Host Name > VM Name.

  1. Click Migrate.

  1. Follow the configuration wizard to migrate the VM.

  1. To cancel the VM migration task:

  1. Click the  icon on the top right of the page, and then click More.

  1. Right-click the VM migration task, and then select Cancel Migration.

Parameters

Select migration type:

VMs with the following configurations do not support the post-copy memory feature:

Configure destination storage:

·          The migration speed parameter does not take effect if an offline VM is migrated between two RBD network storage pools.

·          The migration speed parameter does not take effect if the migrated VM is running and has internal snapshots.