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 aVirtualMachine
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 runsvirt-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
