Our Migration Toolkit for VirtualizationÂ
Â
Many have asked me what a migration flow is with our toolkit from the VMware Hypervisor to Openshift Virtualization, in this flowchart I will list each of the steps, how with this Tool we can leave our Virtual Machine ready to be take backup by Kasten
Â
- When you run a migration plan, the Migration Controller creates aÂ
VirtualMachineImport
 custom resource (CR) for each source VM. - The Virtual Machine Import Controller validates theÂ
VirtualMachineImport
 CR and generates aÂVirtualMachine
 CR. -
The Virtual Machine Import Controller retrieves the VM configuration, including network, storage, and metadata, linked in theÂ
VirtualMachineImport
 CR.

For each VM disk:
- The Virtual Machine Import Controller creates aÂ
DataVolume
 CR as a wrapper for a Persistent Volume Claim (PVC) and annotations.

 - The Containerized Data Importer (CDI) Controller creates a PVC. The Persistent Volume (PV) is dynamically provisioned by theÂ
StorageClass
 provisioner.

 - The CDI Controller creates anÂ
Importer
 pod. -
TheÂ
Importer
 pod connects to the VM disk by using the VMware Virtual Disk Development Kit (VDDK) SDK and streams the VM disk to the PV.After the VM disks are transferred:
-
The Virtual Machine Import Controller creates aÂ
Conversion
 pod with the PVCs attached to it.TheÂ
Conversion
 pod runsÂvirt-v2v
, which installs and configures device drivers on the PVCs of the target VM. - The Virtual Machine Import Controller creates aÂ
VirtualMachineInstance
 CR. -
When the target VM is powered on, the KubeVirt Controller creates a VM pod.
The VM pod runsÂ
QEMU-KVM
 with the PVCs attached as VM disks. -
The VMs are ready to Kasten
Â