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
- one host to another, where the VMs are not located on storage shared between the two hosts.
- It provides the option to live migrate a VM’s disks along with the VM itself.
- 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:
- 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
- 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:
- This is valid for XenServer 6.1 deployments
- covers Local and shared storage-NFS,iSCSI related testing
- Upgrade testing
- Fresh installations with ACS 4.2
- 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
- test support for volume migration between SRs while the VM is on the same host(with in same resource pool)
- test new APIs
- listHostsForMigration
- migrateVirtualMachineWithVolume
- listStoragePoolsForMigration
- migrateVolume
- test DB changes
- newly added field "storage_migration_supported" in the tabe "hypervisor_capabilities"
- negative scenarios
- failure cases
- when SXM fails
- VM operations while SXM is happening
- 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