cloudstack icon indicating copy to clipboard operation
cloudstack copied to clipboard

Move KVM VM between Hosts using Local Disk Storage and Clusters with different Primary Storage

Open hixiaobo opened this issue 2 years ago • 6 comments

ISSUE TYPE
  • Feature Idea
COMPONENT NAME
VM live migration
CLOUDSTACK VERSION
4.19
CONFIGURATION
OS / ENVIRONMENT
SUMMARY

From what I understand,KVM or libvirt has supported vm live migration between different storage to deal with disaster recovery scenarios. Do you have any plans to implement it on cloudstack? Requirement 1:Support KVM VMs Live Migration between Hosts using Local Disk Storage. Requirement 2:Support KVM VMs Live Migration between Clusters with different Primary Storage.

STEPS TO REPRODUCE

EXPECTED RESULTS

ACTUAL RESULTS

hixiaobo avatar Apr 28 '23 02:04 hixiaobo

Thanks for opening your first issue here! Be sure to follow the issue template!

boring-cyborg[bot] avatar Apr 28 '23 02:04 boring-cyborg[bot]

@hixiaobo have you tested with 4.18.0.0 ? as far as I know, both are supported.

weizhouapache avatar Apr 28 '23 18:04 weizhouapache

I have checked the doc(http://docs.cloudstack.apache.org/en/latest/adminguide/storage.html?highlight=migration#id2) KVM does not support Migrating Storage For a Running VM,though t's supported on XenServer and VMware.

hixiaobo avatar May 04 '23 03:05 hixiaobo

I have checked the doc(http://docs.cloudstack.apache.org/en/latest/adminguide/storage.html?highlight=migration#id2) KVM does not support Migrating Storage For a Running VM,though t's supported on XenServer and VMware.

@hixiaobo the doc is probably not update-to-date. I think all are supported now. (1) local <-> local (2) local <-> share; (3) cross-cluster migration please refer to https://github.com/apache/cloudstack/pull/2983

weizhouapache avatar Jun 29 '23 08:06 weizhouapache

AFAIK @weizhouapache is correct, both features are supported already. Is there any reason to keep this open @hixiaobo?

JoaoJandre avatar Jul 30 '24 17:07 JoaoJandre

created a doc PR to update the documentation to make it clear about the possibilities

https://github.com/apache/cloudstack-documentation/pull/424

harikrishna-patnala avatar Aug 21 '24 07:08 harikrishna-patnala