Installation guide

Verify the virtual machine is running:
[et-virt07 ~]# virsh list
Id Name State
----------------------------------
Domain-0 running
testvm1 blocked
Save the virtual machine on the local host:
[et-virt07 images]# time virsh save testvm1 testvm1.sav
real 0m15.744s
user 0m0.188s
sys 0m0.044s
[et-virt07 images]# ls -lrt testvm1.sav
-rwxr-xr-x 1 root root 1075657716 Jan 12 06:46 testvm1.sav
[et-virt07 images]# virsh list
Id Name State
----------------------------------
Domain-0 running
Restore the virtual machine on the local host:
[et-virt07 images]# virsh restore testvm1.sav
[et-virt07 images]# virsh list
Id Name State
----------------------------------
Domain-0 running
testvm1 blocked
Start the live migration of domain-id from et-virt08 to et-virt07. The hostname you are
migrating to and <domain-id> must be replaced with valid values. This example uses the et-virt08
host which must have SSH access to et-virt07
[et-virt08 ~]# xm migrate --live testvm1 et-virt07
Verify the virtual machine is no longer present on et-virt08
[et-virt08 ~]# virsh list
Id Name State
----------------------------------
Domain-0 running
Verify the virtual machine has been migrated to et-virt07:
[et-virt07 ~]# virsh list
Id Name State
----------------------------------
Domain-0 running
testvm1 running
T est in g t h e p ro g ress an d in it iat in g t h e live mig rat io n
Chapt er 2 1 . Xen live migrat ion
225