Administrators want to live migrate VMs between KVM hosts and from one NFS storage pool to another, without stopping the VMs execution. CloudStack did not provide this functionality for KVM, the aim of this feature is to leverage it through the CloudStack API
This feature ensures live storage migration between KVM hosts, under these conditions:
The global setting 'kvm.storage.online.migration.wait' is used to control the migration timeout for the 'migrateVirtualMachineWithVolume' API method
The 'migrateVirtualMachineWithVolume' API method will be used for live storage migrations, extending the existing functionality, performing:
VIR_MIGRATE_PERSIST_DEST: Define the domain as persistent on the destination host after successful migration. If the domain was persistent on the source host and VIR_MIGRATE_UNDEFINE_SOURCE is not used, it will end up persistent on both hosts.
VIR_MIGRATE_NON_SHARED_INC: Migrate disk images in addition to domain's memory. This is similar to VIR_MIGRATE_NON_SHARED_DISK, but only the top level of each disk's backing chain is copied. That is, the rest of the backing chain is expected to be present on the destination and to be exactly the same as on the source host. This flag and VIR_MIGRATE_NON_SHARED_DISK are mutually exclusive.
No UI change will be implementedIn progress