Migrating VMware Virtual Machines Using Coriolis
Coriolis by Cloudbase is a SUSE partner platform that migrates virtual machines into SUSE Virtualization from an external appliance. For a comparison with other migration tools, see Vendor Compatibility and Comparison Guide.
|
Coriolis terminology
This guide uses the terms shown on the current Coriolis Web UI:
Older Coriolis documentation refers to transfers as Replicas and to deployments as Migrations. |
Strategy
|
Do not run a single-stage cold migration on production disks. Copying multi-terabyte disks while a virtual machine is powered off causes hours of avoidable downtime. |
Use a two-stage approach that copies disk data while the source virtual machine is still running:
-
Transfer executions (baseline and incremental syncs): Create a transfer of type Replica while the virtual machine is running on VMware. Coriolis takes a snapshot, reads Changed Block Tracking (CBT) metadata, and copies baseline disks to SUSE Virtualization persistent volumes. Run additional executions leading up to the maintenance window to copy only changed blocks.
-
Cutover (final sync and deployment): During the maintenance window, run a final execution with the Shutdown Instance(s) option enabled. Coriolis shuts down the VMware virtual machine and copies the final disk delta. Next, deploy the transfer. Coriolis performs operating system morphing (injects VirtIO drivers and
cloud-init) and boots the virtual machine on SUSE Virtualization.
Prerequisites
VMware vSphere
-
Snapshots: Delete orphaned snapshots before enabling CBT or creating the transfer.
-
Changed Block Tracking (CBT): Set
ctkEnabled = trueon all virtual disks, or select Automatically Enable CBT in the transfer’s source options. The automatic option requires that the virtual machine has no existing snapshots. Disk mode must be set to Dependent. Independent disks and Raw Device Mappings (RDMs) do not support CBT incremental syncs. -
File system free space: Ensure the guest operating system’s
/bootand/(root) file systems have at least 15–20% (or 1–2 GB) of free space. The morphing step mounts these partitions to install VirtIO drivers, rebuildinitramfs/initrd, and configureqemu-guest-agent. If either partition lacks sufficient space, morphing fails. -
Guest package repositories: Operating system morphing installs packages inside the guest. SUSE Linux Enterprise Server guests must have a valid registration and reachable repositories (SUSE Customer Center, RMT, or SUSE Multi-Linux Manager). Otherwise, morphing fails with the error
Failed to activate SLES module. -
VMware Tools: Ensure VMware Tools is running and reporting guest operating system and network information to vCenter. Coriolis relies on VMware Tools to snapshot the source virtual machine and to read network configurations prior to cutover. Virtual machine templates cannot be transferred.
SUSE Virtualization
-
Version: v1.7, v1.8, or v1.9
-
Target namespace: For example,
workload-migration. Coriolis creates the namespace if it does not exist. -
StorageClass:
harvester-longhorn(or another active StorageClass) with sufficient free capacity. -
VolumeSnapshotClass: A VolumeSnapshotClass for the same CSI driver as the target StorageClass (for example,
longhorn-snapshotforharvester-longhorn). During deployment, Coriolis snapshots the transferred volumes and creates the final volumes from those snapshots. -
KubeConfig: Downloaded from the SUSE Virtualization UI (Support → Download KubeConfig).
-
Worker images: Ensure the required worker images are uploaded. For image setup instructions, see Temporary worker image for Replica/Migration in the Coriolis documentation.
-
Linux: Cloud image (for example,
Leap-16.0-Minimal-VM.x86_64-Cloud.qcow2). Coriolis treats every image that is not labeledharvesterhci.io/os-type: windowsas a Linux image. -
Windows: Windows Server image with VirtIO or VMDP drivers and Cloudbase-Init, labeled
harvesterhci.io/os-type: windows. For more information, see Creating Windows Virtual Machines Using Cloudbase-Init. -
UEFI: If the worker image itself boots with UEFI, add the annotation
vm.boot/firmware: uefito the image.-
Worker images must be bootable disk images. Do not select ISO installer images, even though they appear in the worker image list.
-
Coriolis accepts only SUSE Virtualization images. Container disk images (for example,
quay.io/containerdisks/ubuntu:22.04) fail validation. -
The StorageClass of a worker image must use the
Immediatevolume binding mode. Coriolis waits for the worker’s root volume to be populated before it creates the worker virtual machine. With aWaitForFirstConsumerStorageClass, the volume remains in thePendingPopulationphase until the operation times out.
-
-
Coriolis
You must download the Coriolis Appliance directly from the SUSE Customer Center (SCC) and deploy it on SUSE Virtualization or a separate management cluster.
|
Do not deploy the appliance on the source VMware cluster scheduled for decommissioning. |
-
vCPU: 4 cores (8 cores for 4 or more concurrent disk transfers)
-
Memory: 8 GB RAM (16 GB for high concurrency)
-
Disk: 40 GB NVMe or fast SSD
-
Network: 10 GbE interface with access to both management and migration VLANs
You must also obtain the appliance ID, generate a license key, and activate the license. For instructions, see Coriolis Appliance image and license key.
Networking
Network paths
Open these network paths before running migrations:
| Source | Destination | Protocol | Port | Purpose | Notes |
|---|---|---|---|---|---|
Coriolis Appliance |
VMware vCenter |
TCP |
443 |
Inventory querying and snapshot management |
Requires vSphere Read + Snapshot permissions |
Coriolis Appliance |
All ESXi hosts |
TCP |
902 |
Disk block transfer via NFC / OpenVixDiskLib |
Critical: vCenter returns ESXi hostnames as FQDNs. Coriolis must be able to resolve every ESXi FQDN via DNS or |
Coriolis Appliance |
SUSE Virtualization VIP or API |
TCP |
443 |
Kubernetes and KubeVirt API calls |
Authenticated with the downloaded SUSE Virtualization |
Coriolis Appliance |
Worker virtual machines |
TCP |
22 |
Worker orchestration and operating system morphing |
Temporary workers boot on the SUSE Virtualization VM migration network. |
Coriolis Appliance |
Worker virtual machines |
TCP |
6677 |
Fast disk data streaming to destination PVCs |
Recommended protocol (Data Transfer Mechanism: |
Coriolis Appliance |
Worker virtual machines |
TCP |
5986 |
Windows worker orchestration |
Required only when using a Windows worker for operating system morphing |
Appliance and workers |
DNS or NTP |
UDP |
53 or 123 |
Hostname resolution and time synchronization |
Clock skew causes TLS authentication and API token failures. |
|
ESXi host FQDN resolution
vCenter delegates NFC disk streams to the ESXi host running the virtual machine, returning the host’s FQDN rather than its IP address. If the Coriolis Appliance cannot resolve that FQDN, disk transfers fail immediately on port 902. If internal DNS does not resolve ESXi hostnames, add them to |
DHCP on the VM migration network
An active DHCP server on the SUSE Virtualization VM migration network is strongly recommended. During disk copy and operating system morphing, Coriolis boots temporary worker virtual machines that attach target PVCs, format file systems, install drivers, and stream data over TCP ports 22 (SSH) and 6677 (HTTPS). DHCP allows these temporary workers to automatically acquire IP addresses upon booting.
Coriolis also retains the existing network configuration of the target workload virtual machines. The migrated virtual machine keeps the MAC address of the source network interface, and static IP settings inside the guest are preserved. Do not select the Set DHCP option if you want to keep static IP addresses. That option reconfigures all guest network interfaces to use DHCP during operating system morphing.
|
Static IP template alternative for workers
If DHCP is not available on the migration network, you must use custom worker template images preconfigured with static IP addresses. Note that each static template supports only one concurrent transfer task. |
Dedicated migration VLAN
-
Create a virtual machine network for the migration VLAN. On the SUSE Virtualization UI, go to Networks → Virtual Machine Networks, click Create, and select the L2VlanNetwork type and the VLAN ID. In Kubernetes, a virtual machine network is a NetworkAttachmentDefinition (NAD) resource. For more information, see VM Network.
Coriolis lists virtual machine networks in the
<namespace>/<name>format (for example,default/migration-vlan).This network is not related to the VM Migration Network setting, which isolates live migration traffic between SUSE Virtualization nodes.
-
Ensure the DHCP service on this VLAN has a sufficiently large address pool to support concurrent worker virtual machines (each active disk copy requires one worker).
-
Ensure the Coriolis Appliance can reach this subnet on TCP ports 22 and 6677.
Coriolis Appliance image and license key
-
Download the Coriolis Appliance directly from the SUSE Customer Center (SCC).
The SCC provides the image directly in the correct format for your platform. Import the downloaded image into SUSE Virtualization under Images to launch the appliance virtual machine.
-
Obtain the Appliance ID.
-
Boot the Coriolis virtual machine.
In the serial console, option
2displays the initialadminpassword, while option4configures a static IP if the network has no DHCP. -
In a browser, open
https://<appliance-ip>and log in. -
Click the user icon, and then select About Coriolis.
-
Copy the appliance ID.
-
-
Generate the license key in SCC.
-
Log in to the SUSE Customer Center (SCC).
-
Under your Coriolis subscription, click Generate License Key.
-
Paste the appliance ID.
-
Copy the generated license key.
-
-
Activate the license key.
-
On the Coriolis Web UI, go to About Coriolis.
-
Click Add license.
-
Paste the license key, and click Add License.
-
Migration
Perform the following steps on the Coriolis Web UI.
Registering cloud endpoints
-
Go to Cloud Endpoints and then select New → Endpoint.
-
On the New Cloud Endpoint window, select VMware and configure the following settings:
-
NAME: Name of the source endpoint
-
USERNAME and PASSWORD: Credentials for accessing VMware vCenter
-
HOST: Hostname or IP address of VMware vCenter
-
PORT: 443
-
ALLOW UNTRUSTED: Select this option if vCenter uses a self-signed certificate.
-
-
Click Validate and save.
-
Select New → Endpoint.
-
On the New Cloud Endpoint window, select SUSE Virtualization and configure the following settings:
-
NAME: Name of the target endpoint
-
KUBE CONFIG: SUSE Virtualization kubeconfig (YAML) file
-
ALLOW UNTRUSTED: Select this option if the SUSE Virtualization API uses a self-signed certificate.
-
-
Click Validate and save.
Creating a Minion Pool (optional)
Coriolis relies on temporary virtual machines (commonly called "minion machines"), which it deploys on the source or destination platforms to perform various actions during transfer operations. By default, Coriolis creates these virtual machines on demand. To eliminate the provisioning overhead, you can configure a Minion Pool on the SUSE Virtualization destination endpoint:
-
Go to Minion Pools and then select New → Minion Pool.
-
On the Choose Minion Pool Endpoint screen, select the SUSE Virtualization endpoint and toggle the switch to Destination Minion Pool.
-
Configure the required settings, including the namespace, migration network, migration image, and worker resources.
-
Click Save.
For sizing and pool management guidelines, see the Coriolis Minion Pools Operations and Usage Guide.
Creating and executing the transfer (baseline and incremental syncs)
-
Go to Transfers and then select New.
-
Select Replica as the transfer type.
-
On the Select your source cloud screen, select your VMware endpoint and then click Next.
-
On the Source options screen, select Automatically Enable CBT if CBT is not already enabled on the source virtual machine.
-
On the Select instances screen, select the virtual machines to be transferred and then click Next.
-
On the Select your target cloud screen, select your SUSE Virtualization endpoint and then click Next.
-
On the Target options screen, configure the following settings:
-
Namespace: Target namespace (for example,
workload-migration) -
Migration Network: Virtual machine network on the DHCP-enabled migration VLAN (for example,
default/migration-vlan) -
Migration Image Map: Worker image for each operating system type (Linux and Windows)
-
Snapshot Storage Class: VolumeSnapshotClass that matches the CSI driver of the target StorageClass (for example,
longhorn-snapshot) -
Migration Worker Disk Size: Root disk size of the worker virtual machines, in GiB. The default value is
15. -
Migration Worker CPU Limit and Migration Worker Memory Limit: Resources of the worker virtual machines
-
Data Transfer Mechanism:
HTTPS(default)The Migration Worker Disk Size value must be equal to or larger than the virtual size of the worker image. Coriolis creates the worker’s root volume by cloning the worker image, and a clone cannot be smaller than its source. Windows worker images are typically 32 GiB or larger, so the default value of 15 GiB causes the Windows worker to fail. The worker’s root volume is created on the StorageClass of the worker image.
-
-
On the Networks screen, map VMware port groups to SUSE Virtualization virtual machine networks.
-
On the Storage Mapping screen, select the target StorageClass (for example,
harvester-longhorn). You can configure a default StorageClass and mappings for specific datastores or disks. -
On the Transfer Execution options screen, select Execute Now and leave Shutdown Instance(s) cleared.
-
On the Summary screen, click Create.
The initial baseline execution copies disk data while the virtual machine runs uninterrupted.
-
Leading up to the cutover window, run periodic incremental syncs by opening the transfer and clicking Execute. Leave Shutdown Instance(s) cleared.
Running the final execution and deploying the transfer
Perform the following steps during the maintenance window:
-
Open the transfer and click Execute.
-
Select Shutdown Instance(s) and start the execution.
Coriolis shuts down the VMware virtual machine and copies the final disk delta.
-
After the execution is completed, click Deploy.
-
On the Deploy Transfer screen, keep Clone Disks selected and leave Skip OS Morphing cleared.
-
Click Deploy.
Once you click Deploy, Coriolis executes the following actions:
-
Creates snapshots of the transferred volumes and clones them to production PVCs. The transferred volumes remain intact for future executions.
-
Boots a temporary worker virtual machine to perform operating system morphing and inject VirtIO drivers.
-
Creates and starts the permanent virtual machine on SUSE Virtualization.
|
Deleting a transfer does not delete its disks. To remove the transferred volumes (named |
Verification
After deployment completes, perform the following verification checks on the migrated virtual machine:
-
On the SUSE Virtualization UI, open the virtual machine and click Console.
-
Verify that the operating system boots successfully without kernel panics, boot loops, or missing root disk errors.
-
Verify driver installation and guest agent status:
-
Linux: Run
systemctl status qemu-guest-agent. Ensure disk devices appear as/dev/vdaor/dev/sdausing VirtIO drivers. -
Windows: Open Device Manager and verify that there are no missing drivers or yellow warnings under Storage controllers or Network adapters.
-
-
Verify network connectivity by confirming that the virtual machine retains its assigned IP address and can reach the default gateway and DNS server.
|
Coriolis attaches a |
Troubleshooting
| Error | Cause and resolution |
|---|---|
|
The source is a template or VMware Tools is not running. Transfer a virtual machine with VMware Tools running. |
|
The worker’s root volume could not be created. Verify that Migration Worker Disk Size is equal to or larger than the worker image size and that the worker image’s StorageClass uses the |
|
The worker image is not a SUSE Virtualization image (for example, a container disk). Upload the worker image to SUSE Virtualization. |
|
The SUSE Linux Enterprise Server guest is not registered or cannot reach its repositories. Register the guest before the final execution. |
|
Another transfer of the same virtual machine already uses the target namespace. Delete the other transfer’s disks or use a different namespace. |