This is a cache of https://docs.okd.io/4.13/virt/live_migration/virt-cancel-vmi-migration.html. It is a snapshot of the page at 2024-11-27T01:35:19.555+0000.
Cancelling the live migration of a virtual machine instance - Live migration | Virtualization | OKD 4.13
×

Cancel the live migration so that the virtual machine instance remains on the original node.

You can cancel a live migration from either the web console or the cli.

Cancelling live migration of a virtual machine instance in the web console

You can cancel the live migration of a virtual machine instance in the web console.

Procedure
  1. In the OKD console, click VirtualizationVirtualMachines from the side menu.

  2. click the Options menu kebab beside a virtual machine and select Cancel Migration.

Cancelling live migration of a virtual machine instance in the cli

Cancel the live migration of a virtual machine instance by deleting the VirtualMachineInstanceMigration object associated with the migration.

Procedure
  • Delete the VirtualMachineInstanceMigration object that triggered the live migration, migration-job in this example:

    $ oc delete vmim migration-job