Converting to Hyper-V from VMware

When restoring a VMware virtual machine from backup, you can choose to restore the VM as a Hyper-V virtual machine.

You can perform VM conversions from streaming backups, from secondary copies, or from IntelliSnap backup copies. You cannot perform a conversion from a Snap copy.

Before You Begin

  • Before you perform a backup for a Linux source VM that runs CentOS or Red Hat, verify that required Hyper-V drivers are installed on the source VM. Those drivers must be present on the source VM backup in order to boot the VM after conversion.

    1. Enable Changed Block Tracking (CBT) for the source VM.

    2. Take a snapshot of the source VM.

    3. Run the following command to modify the boot image:

      sudo dracut -f -v -N
    4. Run the following command to verify that Hyper-V drivers are present in the boot image:

      lsinitrd | grep hv
    5. Verify that no dracut conf files (for example, /usr/lib/dracut/dracut.conf.d/01-dist.conf) contain the following line:

      hostonly="yes"
    6. Run a new backup to use for the conversion.

    For more information, see Prepare a CentOS-based virtual machine for Azure.

Procedure

  1. From the navigation pane, go to Solutions > Virtualization.

    The Hypervisors tab appears.

  2. On the Hypervisors tab, click the VMware hypervisor for the source VMs.

    The hypervisor details page appears. The VM groups area displays summary information for any existing VM groups.

  3. In the VM groups area, click Restore for the VM group that contains the virtual machine.

  4. In the Select restore type page, select Full virtual machine to restore one or more full virtual machines.

  5. In the Restore page, expand the tree on the left and select the objects to be restored on the right. Select an item or click on an entry in the Name column to browse within an item.

    In the top right corner of the page, a "Showing" message indicates what backup data is being displayed. You can click the down arrow beside this message and select any of the following options:

    • Show latest backups: Only display data for the most recent backups.

    • Show backups as of a specific date: Only display data up to the date you specify.

    • Show backups for a date range: Only display data within the data range you specify.

  6. In the Restore options dialog box, provide the requested information:

    1. From the Restore as list, select Microsoft Hyper-V.

    2. Select a Hyper-V hypervisor from the Virtualization Client list.

    3. Select the target host from the Destination Client list.

      All Hyper-V nodes are displayed.

    4. Select Power on VMs after restore to start the VM automatically.

    5. To delete an existing virtual machine and replace it with the restored VM, select Overwrite VMs if they already exist.

    6. Select Register virtual machine with failover cluster to enable the restored VM to migrate to another node in the cluster.

    7. For Restore location, leave the default (Original folder), choose Select a folder, or select Hyper-V default folder.

    8. Type a new virtual machine name in the Change VM display name to box.

      This option does not display if you are restoring multiple VMs. If an existing VM with the same name exists on the destination host and you do not select Overwrite VMs if they already exist, the restore job fails.

    9. For Destination folder, click Browse to select a new folder from the list. (Only enabled if you chose Select a folder.)

  7. Click Submit to run the restore job.

Loading...