From Fedora Project Wiki

(Created page with '{{QA/Test_Case |description=This test case checks that basic live migration using libvirt between two Fedora 12 hosts works correctly. |actions= # On the source machine, edit the...')
 
No edit summary
Line 5: Line 5:
# On the source machine, start the guest.
# On the source machine, start the guest.
# Once the guest has fully booted, execute:<br><code>virsh migrate --live <guestname> qemu+ssh://<destination host>/system
# Once the guest has fully booted, execute:<br><code>virsh migrate --live <guestname> qemu+ssh://<destination host>/system
# Shutdown the guest on the destination machine.  Once it's successfully shut down, edit the guest on the source machine and give it random, differing amounts of memory: 1024MB, 2111MB, etc.  Then repeat the test for these differing amounts of memory.
# Repeat the entire test for as many different guest OS's as are relevant.  We would at least like to see:
## hello
## there
|results=
|results=
# After executing the last step, the guest should migrate over to the destination machine, and not be running anymore on the source machine.  Use <code>virsh list</code> on both machines to verify this.
# After executing the last step, the guest should migrate over to the destination machine, and not be running anymore on the source machine.  Use <code>virsh list</code> on both machines to verify this.
}}
}}
[[Category:Virtualization Live Migration]]
[[Category:Virtualization Live Migration]]

Revision as of 14:02, 15 September 2009

Description

This test case checks that basic live migration using libvirt between two Fedora 12 hosts works correctly.


How to test

  1. On the source machine, edit the guest so that it has some small amount of memory (say, 512MB).
  2. On the source machine, start the guest.
  3. Once the guest has fully booted, execute:
    virsh migrate --live <guestname> qemu+ssh://<destination host>/system
  4. Shutdown the guest on the destination machine. Once it's successfully shut down, edit the guest on the source machine and give it random, differing amounts of memory: 1024MB, 2111MB, etc. Then repeat the test for these differing amounts of memory.
  5. Repeat the entire test for as many different guest OS's as are relevant. We would at least like to see:
    1. hello
    2. there

Expected Results

  1. After executing the last step, the guest should migrate over to the destination machine, and not be running anymore on the source machine. Use virsh list on both machines to verify this.