This is the baseline workflow for migrating a VM with one or more disks that are not shared with other VMs.
Prerequistes:
-
If using the CLI for migration:
ocandkubectlinstalled and authenticated (oc whoamiconfirms active session) -
Migration Toolkit for Virtualization (MTV) operator installed in the target OpenShift cluster
-
XCopy Offload enabled on the MTV controller
-
Ephemeral image registry configured (required only for VDDK path, skip for XCopy or Vol copy offload)
-
SCSI Persistent Reservation enabled if migrating Windows Failover Clustering VMs
-
FORKLIFT_NAMESPACEenvironment variable set to the target Forklift project namespace
Migration of Multi-Disk Virtual Machines
Multi-disk VMs - VMs with more than one attached VMDK - follow the same workflow as standard VMs. Forklift handles multiple disks automatically within a single migration plan. Each disk is mapped independently to the configured StorageClass and migrated using XCopy Offload.
| Batch Size | VMFS / VDDK | VMFS / XCopy | vVols / VDDK | vVols / Vol Copy |
|---|---|---|---|---|
| 1 VM | 10m 36s | 4m 56s | 11m 10s | 4m 44s |
| 20 VMs | 32m 23s | 11m 35s | 1h 08m 50s | 7m 21s |
| 100 VMs | 2h 19m 51s | 53m 05s | 5h 24m 40s | 45m 30s |
Forklift's default maximum concurrent VM migrations is 20.The concurrency limit is tunable, but higher values require validation, especially for VDDK migrations where host CPU and network are the bottleneck. With XCopy Offload, the bottleneck shifts to FlashArray controller resources rather than host resources.
Migration of Large Disk Workloads
XCopy Offload yields the most considerable benefits for substantial disk workloads, especially those encompassing virtual machines (VMs) with disk capacities spanning from several hundred gigabytes up to a terabyte. This advantage is unequivocally demonstrated by the Large-Disk Linux profile (featuring a 500 GB disk and 305 GB utilization), which clearly exhibits the noteworthy performance differential.
| Transfer Method | Source Datastore | Migration Time | Network Data Transferred |
|---|---|---|---|
| VDDK | VMFS | 1h 25m 31s | ~305 GB (full used disk content) |
| XCopy Offload | VMFS | 5m 10s | < 1 MB (metadata only) |
| VDDK | vVols | 1h 29m 13s | ~305 GB |
| Vol Copy | vVols | 3m 57s | < 1 MB |