Installation guide

Execute the following command to live migrate the guest to the destination,
test2.example.com. Append /system to the end of the destination URL to tell libvirt that
you need full access.
# virsh migrate --live RHEL4test qemu+ssh://test2.example.com/system
Once the command is entered you will be prompted for the root password of the destination
system.
3.
Wait
The migration may take some time depending on load and the size of the guest. virsh only
reports errors. The guest continues to run on the source host until fully migrated.
4.
Verif y t h e gu est has arrived at t h e d est in at io n h o st
From the destination system, test2.example.com, verify RHEL4test is running:
[root@test2 ~]# virsh list
Id Name State
----------------------------------
10 RHEL4 running
The live migration is now complete.
Note
libvirt supports a variety of networking methods including TLS/SSL, unix sockets, SSH, and
unencrypted TCP. See Chapter 23, Remote management of guests for more information on
using other methods.
22.4. Migrat ing wit h 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 Ad d Co n n ect io n , the Add
Connection window appears.
Enter the following details:
Hypervisor: Select Q EMU.
Connection: Select the connection type.
Hostname: Enter the hostname.
Click Connect.
Chapt er 2 2 . KVM live migrat ion
233