22.4. Migrating with virt-manager
This section covers migrating KVM based guests with
virt-manager
.
- Connect to the source and target hosts. On the Add Connection window appears.menu, click , theEnter the following details:
- Hypervisor: Select .
- Connection: Select the connection type.
- Hostname: Enter the hostname.
Click.The Virtual Machine Manager displays a list of connected hosts. - Add a storage pool with the same NFS to the source and target hosts.On themenu, click , the Host Details window appears.Click thetab.
- Add a new storage pool. In the lower left corner of the window, click thebutton. The Add a New Storage Pool window appears.Enter the following details:
- Name: Enter the name of the storage pool.
- Type: Select .
Click. - 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. - Create a new volume in the shared storage pool, click.
- Enter the details, then click.
- Create a virtual machine with the new volume, then run the virtual machine.The Virtual Machine window appears.
- In the Virtual Machine Manager window, right-click on the virtual machine, select, then click the migration location.
- Clickto confirm migration.The Virtual Machine Manager displays the virtual machine in its new location.The VNC connection displays the remote host's address in its title bar.