Creating migrations

A migration defines how virtual machines are transferred from a source cloud to the target environment. It includes the selection of source VMs, target configuration, and mapping of networks and storage.

Changed Block Tracking (CBT) is enabled automatically on source VMs. It allows disk replication to run while source VMs remain online. Source VM downtime is expected only during the final switch to the target environment and OS morphing, when the source VM is stopped and the target VM is started.

Limitations

  • Fixed IP addresses can be retained only if the source VM is powered on.

Prerequisites

  • A source cloud is added, as described in Managing source clouds.
  • For Windows migrations, the migration worker template is prepared and uploaded into the compute cluster, as described in Preparing the Windows migration worker template. (Linux migration worker templates are provided by default.)
  • You have a network for target virtual machines. It can be either a shared physical network or a virtual network linked to a physical one via a virtual router. The virtual network needs to have a gateway and a DNS server specified.

To create a migration

  1. Go to the Migrations screen and click Migrate. The migration wizard will open where you will need to specify the migration parameters.
  2. On the Source cloud step, select a source cloud from which to migrate virtual machines.
  3. On the Source VMs step, select one or more virtual machines to migrate.
  4. On the Source options step, configure source-side options for the selected VMs. Select the vixDiskLib compatibility mode for your VMware environment. The default version 8.0 supports vSphere 6.7–8.x.
  5. On the Network mapping step, select target networks for each source network.
  6. On the Target options step, configure the target environment:

    • Enable DHCP client to automatically configure networking for the target VM.
    • Enable Preserve fixed IPs to retain source IP addresses on the target VM.
    • Select the correct OS distribution for the target VM. This parameter should match the source VM to ensure correct driver and configuration handling.
    • Specify advanced settings (if not specified, default values are applied):

      • Select a Flavor (CPU and RAM configuration) for the target VM. If not specified, a suitable flavor is created automatically.

        The selected flavor must not be smaller than the source VM, as this may cause issues or result in an unusable VM due to insufficient resources.

      • Select the Disk bus type: SCSI, IDE, or VirtIO. This parameter should match the source VM configuration to ensure compatibility and performance.
      • Select the SSH key pair to inject into the target VM for access.
      • Select the VM Machine type on the target platform: pc-i440fx or pc-q35. This parameter should match the source VM to ensure successful boot and compatibility.
    • Enable Retain user credentials to preserve existing OS user credentials during migration.
    • Enable Delete disks on VM deletion to automatically remove attached disks when the VM is deleted.
    • If you selected a virtual compute network as a target network, you can enable Use floating IPs and select the Floating IP pool on the target platform to allocate floating IPs to the target VM.

  7. On the Storage mapping step, select a storage policy for target VM disks.
  8. On the Migration options step, configure how replication and deployment are performed:

    • Enable Start replication immediately to begin replication after creating the migration. If enabled, you can configure the following options:

      • Enable Shut down source VMs to shut down source VMs during the final switch to the target environment.
      • Enable Auto-deploy VMs to automatically deploy VMs after replication.
    • Enable Clone disks to clone disks on the target platform instead of moving them. This allows continuous incremental synchronization to the same disks. If disabled, disks must be fully re-synced during the next replication.
    • Enable OS morphing to prepare the guest OS to run on the target platform by applying required drivers and removing source-specific components.

      This step can be skipped when migrating between platforms using the same hypervisor (for example, KVM to KVM).

    • Enable Start target VMs after deployment to start target VMs when they are deployed.
  9. On the Summary step, review the configuration. You can return to previous steps to make changes without losing data. Click Migrate to create the migration.

After creation, the migration appears in the Migrations list.

Depending on the selected options, replication starts immediately, or the migration is created and can be replicated later.

You can monitor the migration progress and manage replications and deployments on the migration details page.