VMware guest conversion

Let's see how to move virtual machines from the VMware vSphere platform to a KVM hypervisor.

Converting a VMware vSphere guest to a standalone KVM host

To convert a virtual machine to a standalone KVM host, perform the following steps:

  1. Run the following command, using values from your system. In this example, esxhost1.example.com is the VMware vCenter server, VM001 is the name of the virtual machine, and /var/tmp is the local repository to store the image:
    # virt-v2v -ic vpx://admin@esxhost1.example.com/Datacenter/esxi "vm001" -o local -os /var/tmp
    
  2. On running this command, virt-v2v will ask for the password for admin@esx.example.com. You can enter the password interactively or by using the --password-file option.

Note

In non-production ...

Get Mastering KVM Virtualization now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.