apache / cloudstack

Apache CloudStack is an opensource Infrastructure as a Service (IaaS) cloud computing platform
https://cloudstack.apache.org/
Apache License 2.0
1.98k stars 1.09k forks source link

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

Open hixiaobo opened 1 year ago

hixiaobo commented 1 year ago
ISSUE TYPE
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
boring-cyborg[bot] commented 1 year ago

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

weizhouapache commented 1 year ago

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

hixiaobo commented 1 year ago

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.

weizhouapache commented 1 year ago

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

JoaoJandre commented 1 month ago

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

harikrishna-patnala commented 4 weeks ago

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

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