Migrate a Running VM to Another KVM Host
Using the Virtual machines page in the web console, Cockpit administrators can migrate a live running virtual machine (VM) instance on the managed host to another KVM host system.
What Do You Need?
- The Cockpit web console must be installed and accessible.
For details, see these topics: Install and Enable Cockpit and Log in to the Cockpit Web Console.
- The Cockpit-machines add-on application must be installed in the web console and the Oracle Linux virtualization packages must be installed and enabled on the host system. For more information, see Install Cockpit-Machines and Enable Virtualization.
- Internet access is required on the source and destination host systems.
- All requirements for migrating a virtual machine must be met. For more information, see Requirements to Migrate Virtual Machine.
Steps
Using the Cockpit web console, follow these steps to migrate a live running VM instance on
the managed host system to another KVM host system.
- In the Cockpit navigation pane, click Virtual machines.
The Virtual machines page appears.
- In the Virtual machines page, navigate to the VM instance that
you want to migrate and select Migrate from the actions menu
[⋮].
The Migrate VM to another host dialog appears.
- In the Migrate VM to another host dialog, specify the
applicable properties and then click Migrate.
Destination URI Enter the URI of the destination host Duration Specify the duration of the migration: - Permanent - (default) Clear the check box to migrate the VM permanently. Permanent migration removes all the VM configuration from the source host.
- Temporary - Select the checkbox to migrate the VM temporary. A temporary migration makes a copy of the VM on the destination host. This copy is deleted from the destination host when the VM is shut down. The original VM remains on the source host.
The selected VM instance on the managed host system is migrated to the specified (URI) destination host system.