QA:Testcase Virtualization KVM Migrate

From FedoraProject

Jump to: navigation, search

Contents

Description

This case verifies that the guest state can be successfully transmitted to another instance. This is called migration.


How to test

  1. First, create guests you want to test. For broad coverage, at least one windows and one Linux guests should be tested. (Other OSes are welcome as well)
  2. Start running something in the guest. If you have something that stresses both the network and the disks, even better. scp'ing a file to/from the guest will do.
  3. take a timestamp of the system. Running the command "date" will do
  4. migrate the guest. You should try migrating it to localhost, as well as to a remote machine.

Variations

There are some options that are potential triggers for problems. For those, you should try starting the machine with and without them, and making sure it works for both setups

  1. smp: you should try UP as well as SMP guests.
  2. mem: you should try < 4Gb as well as > 4Gb guests (if you can)

Expected Results

  1. All tasks that you had previously started, should be still running.
  2. Running "date" on the migrated machine should not show any clock problems, like time going backwards (You should have approx. old_time + migration_time)
  3. If you are transmitting a file, you should not see a considerable decrease in the transfer rate (considering you are migrating to localhost)
  4. If a migration to a remote machine fails, make sure you are not seeing any firewall / selinux problems.