QA:Testcase Offline (paused) Migration using libvirt/virsh

From FedoraProject

Revision as of 09:11, 13 April 2011 by Mamasun (Talk | contribs)

Jump to: navigation, search


Description

This test case checks that basic offline (paused) 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, on the source machine execute:

    $ virsh migrate <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 the following guests:
    1. Fedora 12
    2. Fedora 11
    3. RHEL-4
    4. RHEL-5
    5. Windows XP
    6. Windows Vista
    7. SUSE

Expected Results

  1. After executing the virsh migrate command, 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.