cloudstack/plugins
Wei Zhou a755ecfce8
Migrate vm across clusters (#4534)
* 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>
2021-09-07 21:50:29 -03:00
..
acl Updating pom.xml version numbers for release 4.15.2.0-SNAPSHOT 2021-07-02 22:59:07 +05:30
affinity-group-processors Updating pom.xml version numbers for release 4.15.2.0-SNAPSHOT 2021-07-02 22:59:07 +05:30
alert-handlers Updating pom.xml version numbers for release 4.15.2.0-SNAPSHOT 2021-07-02 22:59:07 +05:30
api Updating pom.xml version numbers for release 4.15.2.0-SNAPSHOT 2021-07-02 22:59:07 +05:30
backup Updating pom.xml version numbers for release 4.15.2.0-SNAPSHOT 2021-07-02 22:59:07 +05:30
ca/root-ca allow cert renewal even if auth strictness is false (#4852) 2021-09-01 18:19:07 +05:30
database Updating pom.xml version numbers for release 4.15.2.0-SNAPSHOT 2021-07-02 22:59:07 +05:30
dedicated-resources Updating pom.xml version numbers for release 4.15.2.0-SNAPSHOT 2021-07-02 22:59:07 +05:30
deployment-planners Migrate vm across clusters (#4534) 2021-09-07 21:50:29 -03:00
event-bus Updating pom.xml version numbers for release 4.15.2.0-SNAPSHOT 2021-07-02 22:59:07 +05:30
ha-planners/skip-heurestics Updating pom.xml version numbers for release 4.15.2.0-SNAPSHOT 2021-07-02 22:59:07 +05:30
host-allocators/random Updating pom.xml version numbers for release 4.15.2.0-SNAPSHOT 2021-07-02 22:59:07 +05:30
hypervisors Merge branch '4.15' into main 2021-09-02 22:04:12 -03:00
integrations kubernetes: Deploy kubernetes-provider when creating a cluster (#5254) 2021-08-09 14:45:20 +05:30
metrics Merge remote-tracking branch 'origin/4.15' into main 2021-08-19 17:46:58 +05:30
network-elements kubernetes: Deploy kubernetes-provider when creating a cluster (#5254) 2021-08-09 14:45:20 +05:30
outofbandmanagement-drivers Updating pom.xml version numbers for release 4.15.2.0-SNAPSHOT 2021-07-02 22:59:07 +05:30
storage Merge remote-tracking branch 'apache/4.15' into main 2021-09-02 16:13:33 +05:30
storage-allocators/random Updating pom.xml version numbers for release 4.15.2.0-SNAPSHOT 2021-07-02 22:59:07 +05:30
user-authenticators Merge remote-tracking branch 'origin/4.15' into main 2021-08-31 14:29:30 +05:30
pom.xml Updating pom.xml version numbers for release 4.15.2.0-SNAPSHOT 2021-07-02 22:59:07 +05:30