Skip to main content

Start Migration Plans

Follow this guide to start migration plans in the VM Migration Assistant.

Cold migrations can be started at any time, but require downtime on the source VM. Warm migrations require a cutover date and time to be set, which initiates the final synchronization and cutover process. Refer to each relevant section for detailed instructions.

Start Cold Migration Plans​

Prerequisites​

  • The Virtual Machine Migration Assistant pack must be added to your cluster profile. Refer to Create a VM Migration Assistant Cluster Profile for guidance.

    • The VM Migration Assistant service console must be accessible from a web browser.
  • A cold migration plan created and ready to start. Refer to Create Migration Plans for guidance.

  • One or more VMs hosted in VMware vSphere 7.0 or 8.0, or in Nutanix AHV. The VM's OS must be present in the virt-v2v supported guest systems list.

    • VMs operating Windows must be shut down at the virtualized OS level.

    • For Nutanix AHV, the migration shuts down running VMs with an Advanced Configuration and Power Interface (ACPI) shutdown request and does not force them off. If a VM does not respond to ACPI shutdown requests, shut it down yourself before you start the migration.

  • In airgap environments, we recommend installing the qemu-guest-agent package on each Linux VM before you migrate it. Refer to Install the QEMU Guest Agent in Airgap Environments for more information.

Start Cold Migration​

  1. Access the VM Migration Assistant service console.

  2. From the left main menu, select Migration plans.

  3. In the top-left corner, use the Namespace drop-down to select your Kubernetes namespace for the migration, or select All Namespaces.

  4. Find your plan in the table and click the plan name to view its details. You can use the table filters to help locate your plan if needed.

  5. On the Details tab, under Plan details: Status, click Start.

  6. Click Start in the pop-up window.

  7. Click on the Virtual Machines tab.

  8. In the table, click the > icon for each VM to view the status of the migration. The Migration progress section displays the stages of the migration and their status.

    You can also click the > icon next to the Migration resources to view the Kubernetes resources created for the migration of that VM.

Validate​

  1. Access the VM Migration Assistant service console.

  2. From the left main menu, select Migration plans.

  3. In the top-left corner, use the Namespace drop-down to select your Kubernetes namespace for the migration, or select All Namespaces.

  4. Find your plan in the table and click the plan name to view its details. You can use the table filters to help locate your plan if needed.

  5. On the Details tab, under Plan details: Status, check that the status displays as Complete.

  6. Click on the Virtual Machines tab.

  7. In the table, check that the Pipeline status column shows Succeeded for each VM.

    Successful VM Migration

  8. Log in to Palette.

  9. From the left main menu, select Clusters. Then, choose the VMO cluster that you migrated your VMs to. The Overview tab appears.

  10. Select the Virtual Machines tab. Then, select your migration namespace from the Namespace drop-down. Your migrated VMs appear.

  11. For each migrated VM, click on the three-dot menu and select Start. Your VMs are now ready to use.

    Start migrated VM

  12. (Nutanix AHV only) In the Prism image catalog, check for images whose names start with forklift-migration-. The VM Migration Assistant creates these temporary images during the migration and deletes them afterward, but it does not report a failed deletion. Delete any of these images that remain.

Start Warm Migration Plans​

Prerequisites​

Start Warm Migration​

  1. Access the VM Migration Assistant service console.

  2. From the left main menu, select Migration plans.

  3. In the top-left corner, use the Namespace drop-down to select your Kubernetes namespace for the migration, or select All Namespaces.

  4. Find your plan in the table and click the plan name to view its details.

  5. On the Details tab, under Plan details: Status, click Start.

  6. Click Start in the pop-up window.

  7. Click on the Virtual Machines tab.

  8. In the table, click the > icon for each VM to view the status of the migration. The Migration progress section displays the stages of the migration and their status.

    You can also click the > icon next to the Migration resources to view the Kubernetes resources created for the migration of that VM.

  9. Monitor the migration progress until the Pipeline status shows Waiting and the Migration progress section shows Paused. This indicates that the migration is ready for the final cutover to be initiated.

    Ready for Cutover

  10. Click Schedule cutover.

  11. In the modal window, click on the calendar icon and select a cutover date in the calendar. Next, click on the clock icon and select a cutover time from the drop-down.

    warning

    The cutover process will power off the source VM and power on the target VM. Ensure that you have scheduled the cutover for a time that minimizes disruption to users.

  12. Click Set cutover once complete.

When the cutover is initiated, the source VM is powered off, and a final synchronization of remaining disk changes is completed. The target VM is then created and powered on on the destination VMO cluster.

Validate​

  1. Access the VM Migration Assistant service console.

  2. From the left main menu, select Migration plans.

  3. In the top-left corner, use the Namespace drop-down to select your Kubernetes namespace for the migration, or select All Namespaces.

  4. Find your plan in the table and click the plan name to view its details. You can use the table filters to help locate your plan if needed.

  5. On the Details tab, under Plan details: Status, check that the status is Complete.

  6. Click on the Virtual Machines tab.

  7. In the table, check that the Pipeline status column shows Succeeded for each VM.

  8. Log in to Palette.

  9. From the left main menu, select Clusters. Then, choose the VMO cluster that you migrated your VMs to. The Overview tab appears.

  10. Select the Virtual Machines tab. Then, select your migration namespace from the Namespace drop-down. Your migrated VMs appear with a Running status.

    Running VM in VMO

Install the QEMU Guest Agent in Airgap Environments​

During guest conversion, virt-v2v configures each migrated Linux VM to install the QEMU guest agent when the VM first boots. The installation downloads the qemu-guest-agent package from the package repositories that the guest OS is configured to use. If the VM cannot reach those repositories, such as in an airgap environment, the installation fails. The VM boots and works, but its IP address is not displayed, and features that depend on the guest agent are unavailable.

To avoid this, install the qemu-guest-agent package on the source VM before you start the migration. If you migrated the VM to PaletteAI VM Launchpad without the guest agent, use the following steps to install it from the VM Launchpad package repository.

  1. Log in to VM Launchpad. From the left main menu, select Image Catalog > Packages.

  2. Check that the package list includes qemu-guest-agent for the OS and architecture of the VM. If it does not, upload the package and its dependencies, and then select Rebuild Repository. Refer to Upload a Package and Metadata Rebuild for guidance.

  3. Select URLs. The APT (Debian/Ubuntu) and YUM/DNF (RHEL/CentOS) sections list a repository URL for each architecture.

  4. Next to the URL that matches the OS and architecture of the VM, select the second copy icon, Copy config snippet.

    The snippet marks the unsigned repository as trusted and, if the repository URL uses HTTPS, turns off certificate verification for it. You do not need to configure certificate trust in the guest.

  5. Log in to the migrated VM as the root user, for example, from the VNC console of the VM.

  6. Run the snippet on the VM.

    • For APT, first replace <package> in the last command with qemu-guest-agent, and then run the commands.

    • For YUM/DNF, run the commands, and then issue the following command to install the guest agent. The snippet adds the repository only.

      dnf install --assumeyes qemu-guest-agent
  7. Issue the following command to enable and start the guest agent.

    systemctl enable --now qemu-guest-agent
  8. In VM Launchpad, from the left main menu, select Workloads > Virtual Machines, and select the name of the VM to open its detail page. On the Overview tab, the IP Addresses field displays the IP address of the VM.

Next Steps​