From Fedora Project Wiki
No edit summary |
No edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{autolang|base=yes}} | |||
{{QA/Test_Case | {{QA/Test_Case | ||
|description=This test case checks that basic offline (paused) migration using libvirt between two Fedora | |description=This test case checks that basic offline (paused) migration using libvirt between two Fedora hosts works correctly. | ||
|actions= | |actions= | ||
# On the source machine, edit the guest so that it has some small amount of memory (say, 512MB). | # On the source machine, edit the guest so that it has some small amount of memory (say, 512MB). | ||
Line 7: | Line 9: | ||
# 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. | # 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 the following guests: | # Repeat the entire test for as many different guest OS's as are relevant. We would at least like to see the following guests: | ||
## Fedora | ## Fedora 16 | ||
## Fedora | ## Fedora 15 | ||
## RHEL-5 | ## RHEL-5 | ||
## RHEL-6 | |||
## Windows XP | ## Windows XP | ||
## Windows Vista | ## Windows Vista | ||
## SUSE | ## SUSE | ||
|results= | |results= | ||
# 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 <code>virsh list</code> on both machines to verify this. | # 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 <code>$ virsh list</code> on both machines to verify this. | ||
}} | }} | ||
[[Category:Virtualization Live Migration]] | [[Category:Virtualization Live Migration]] |
Latest revision as of 13:05, 14 September 2011
Description
This test case checks that basic offline (paused) migration using libvirt between two Fedora hosts works correctly.
How to test
- On the source machine, edit the guest so that it has some small amount of memory (say, 512MB).
- On the source machine, start the guest.
- Once the guest has fully booted, on the source machine execute:
$ virsh migrate <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 the following guests:
- Fedora 16
- Fedora 15
- RHEL-5
- RHEL-6
- Windows XP
- Windows Vista
- SUSE
Expected Results
- 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.