This Confluence has been LDAP enabled, if you are an ASF Committer, please use your LDAP Credentials to login. Any problems file an INFRA jira ticket please.

Child pages
  • Storage Xenmotion Test Plan
Skip to end of metadata
Go to start of metadata

About the feature:

XenServer introduced support for Storage XenMotion in the latest version (6.1).
Storage XenMotion allows Live Migration VMs to be moved from

  1. one host to another, where the VMs are not located on storage shared between the two hosts.
  2. It provides the option to live migrate a VM’s disks along with the VM itself.
  3. It is now possible to migrate a VM from one resource pool to another, or to migrate a VM whose disks are on local storage, or even to migrate a VM’s disks from one storage repository to another, all while the VM is running.

CloudStack makes use of this SXM feature and supports the following use cases:

  1. support Live Migration of a VM along with volumes
    • within a resource pool
      • VM on local storage
      • VM on shared storage pool where SR is NOT shared between the hosts
      • VM on shared storage pool where SR is shared between the hosts (This is already supported)
    • across resource pool
      • VM on local storage
      • VM on shared storage pool
  2. support volume migration between SRs while the VM is on the same host(with in same resource pool)

Scope:

The scope of this test plan includes the following:

  1. This is valid for XenServer 6.1 deployments
  2. covers Local and shared storage-NFS,iSCSI related testing
  3. Upgrade testing
  4. Fresh installations with ACS 4.2
  5. test support for Live Migration of a VM along with volumes
    • within a resource pool
      • VM on local storage
      • VM on shared storage pool where SR is NOT shared between the hosts
      • VM on shared storage pool where SR is shared between the hosts (This is already supported)
    • across resource pool
      • VM on local storage
      • VM on shared storage pool
  6. test support for volume migration between SRs while the VM is on the same host(with in same resource pool)
  7. test new APIs
    • listHostsForMigration
    • migrateVirtualMachineWithVolume
    • listStoragePoolsForMigration
    • migrateVolume
  8. test DB changes
    • newly added field "storage_migration_supported" in the tabe "hypervisor_capabilities"
  9. negative scenarios
    • failure cases
      • when SXM fails
      • VM operations while SXM is happening
  10. UI work flow
    • volume migrate option while Volume is attached to a running VM
    • live migrate VM

test cases

Please find the test cases @ SXM_TC_updated.xlsx

References

feature tracking bug : https://issues.apache.org/jira/browse/CLOUDSTACK-659
FS : https://cwiki.apache.org/confluence/display/CLOUDSTACK/Enabling+Storage+XenMotion+for+XenServer

Acronyms:

ACS - Apache CloudStack
NFS - Network File System
iSCSI - Internet Small Computer System Interface
VM - virtual machine
SXM - Storage XenMotion