You can use the Migration wizard to migrate a powered-off virtual machine or suspended virtual machine.

Procedure

  1. Right-click the virtual machine and select Migrate.
    1. To locate a virtual machine, select a data center, folder, cluster, resource pool, host, or vApp.
    2. Click the Related Objects tab and click Virtual Machines.
  2. Select the migration type and click Next.

    Option

    Description

    Change compute resource only

    Move the virtual machine to another host.

    Change storage only

    Move the virtual machine’s configuration file and virtual disks.

    Change both compute resource and storage

    Move the virtual machine to another host and move its configuration file and virtual disks.

    Migrate virtual machine(s) to a specific datacenter

    Move the virtual machine to a virtual data center, where you can assign policies to VMs.

  3. To move the virtual machine to another host, select the destination host or cluster for this virtual machine migration and click Next.

    Any compatibility problem appears in the Compatibility panel. Fix the problem, or select another host or cluster.

    Possible targets include hosts and DRS clusters with any level of automation. If a cluster has no DRS enabled, select a specific host in the cluster rather than selecting the cluster itself.

  4. Select the destination resource for the virtual machine migration.
  5. If you chose to move the configuration file and virtual disks of the virtual machine, select a disk format.

    Option

    Description

    Same as Source

    Use the format of the original virtual disk.

    Thin provisioned

    Use the thin format to save storage space. The thin virtual disk uses just as much storage space as it needs for its initial operations. When the virtual disk requires more space, it can expand up to its maximum allocated capacity.

    Thick

    Allocate a fixed amount of hard disk space to the virtual disk. The virtual disk in the thick format does not change its size and from the beginning occupies the entire datastore space provisioned to it.

    Disks are converted from thin to thick format or thick to thin format only when they are copied from one datastore to another. If you leave a disk in its original location, the disk format is not converted, regardless of the selection made here.

  6. Select the datastore location where you want to store the virtual machine files.

    Option

    Action

    Store all virtual machine files in the same location on a datastore.

    1. Apply a virtual machine storage policy for the virtual machine home files and the virtual disks from the VM storage policy drop-down menu.

      The list shows which datastores are compatible and which are incompatible with the selected virtual machine storage policy.

    2. Select a datastore and click Next.

    Store all virtual machine files in the same datastore cluster.

    1. Apply a virtual machine storage policy for the virtual machine home files and the virtual disks from the VM storage policy drop-down menu.

      The list shows which datastores are compatible and which are incompatible with the selected virtual machine storage profile.

    2. Select a datastore cluster.

    3. If you do not want to use Storage DRS with this virtual machine, select Disable Storage DRS for this virtual machine and select a datastore within the datastore cluster.

    4. Click Next.

    Store virtual machine configuration files and disks in separate locations.

    1. Click Advanced.

    2. For the virtual machine configuration file and for each virtual disk, click Browse and select a datastore or datastore cluster.

    3. (Optional) Apply a virtual machine storage policy from the VM storage profile drop-down menu.

      The list shows which datastores are compatible and which are incompatible with the selected virtual machine storage policy.

    4. If you selected a datastore cluster and do not want to use Storage DRS with this virtual machine, select Disable Storage DRS for this virtual machine and select a datastore within the datastore cluster.

    5. Click Next.

  7. Review the page and click Finish.

Results

vCenter Server moves the virtual machine to the new host. Event messages appear in the Events tab. The data displayed on the Summary tab shows the status and state throughout the migration. If errors occur during migration, the virtual machines revert to their original states and locations.