mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
* server: Optional destination host when migrate a vm * #4378: migrate systemvms/routers with optional host * Migrate vms across clusters After enabling maintenance mode on host, if no suitable hosts are found in the same cluster then search for hosts in different clusters having the same hypervisor type set global setting migrate.vm.across.clusters to true * search all clusters in zone when migrate vm across clusters if applicable * Honor migrate.vm.across.clusters when migrate vm without destination * Check MIGRATE_VM_ACROSS_CLUSTERS in zone setting * #4534 Fix Vms are migrated to same clusters in CloudStack caused by dedicated resources. * #4534 extract some codes to methods * fix #4534: an error in 'git merge' * fix #4534: remove useless methods in FirstFitPlanner.java * fix #4534: vms are stopped in host maintenance * fix #4534: across-cluster migration of vms with cluster-scoped pools is supported by vmware vmotion * fix #4534: migrate systemvms is only possible across clusters in same pod to avoid potential network errors. * fix #4534: code optimization Co-authored-by: Rakesh Venkatesh <r.venkatesh@global.leaseweb.com> Co-authored-by: Sina Kashipazha <s.kashipazha@global.leaseweb.com> Co-authored-by: Wei Zhou <weizhou@apache.org> Co-authored-by: Sina Kashipazha <soreana@users.noreply.github.com>