Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Table of Contents

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.

  1. one host to another, where the VMs are not located on storage shared between the two hosts.

...

  1. It provides the option to live migrate a VM’s disks along with the VM itself.

...

  1. 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.

  1. This is valid for XenServer 6.1 deployments

...

  1. covers Local and shared storage-NFS,iSCSI related testing

...

  1. Upgrade testing

...

  1. Fresh installations with ACS 4.2

...

  1. test

...

  1. support

...

  1. 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
    1. test support for volume migration between SRs while the VM is on the same host(with in same resource pool)
    2. test new APIs
      • listHostsForMigration
      • migrateVirtualMachineWithVolume
      • listStoragePoolsForMigration
      • migrateVolume
    3. test DB changes
      • newly added field "storage_migration_supported" in the tabe "hypervisor_capabilities"
    4. negative scenarios
      • failure cases
        • when SXM fails
        • VM operations while SXM is happening
    5. 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