Product SiteDocumentation Site

20.4. Migrating with virt-manager

This section covers migrating KVM based guests with virt-manager.
  1. Connect to the source and target hosts. On the File menu, click Add Connection, the Add Connection window appears.
    Enter the following details:
    • Hypervisor: Select QEMU.
    • Connection: Select the connection type.
    • Hostname: Enter the hostname.
    Click Connect.
    The Virtual Machine Manager displays a list of connected hosts.
  2. Add a storage pool with the same NFS to the source and target hosts.
    On the Edit menu, click Host Details, the Host Details window appears.
    Click the Storage tab.
  3. Add a new storage pool. In the lower left corner of the window, click the + button. The Add a New Storage Pool window appears.
    Enter the following details:
    • Name: Enter the name of the storage pool.
    • Type: Select netfs: Network Exported Directory.
    Click Forward.
  4. Enter the following details:
    • Format: Select the storage type. This must be NFS or iSCSI for live migrations.
    • Host Name: Enter the IP address or fully-qualified domain name of the storage server.
    Click Finish.
  5. Create a new volume in the shared storage pool, click New Volume.
  6. Enter the details, then click Create Volume.
  7. Create a virtual machine with the new volume, then run the virtual machine.
    The Virtual Machine window appears.
  8. In the Virtual Machine Manager window, right-click on the virtual machine, select Migrate, then click the migration location.
  9. Click Yes to confirm migration.
    The Virtual Machine Manger displays the virtual machine in its new location.
    The VNC connection displays the remote host's address in its title bar.