Skip to content

Migrate vm across clusters#4534

Merged
nvazquez merged 17 commits intoapache:mainfrom
ustcweizhou:4.15-migrate-vm-across-cluster
Sep 8, 2021
Merged

Migrate vm across clusters#4534
nvazquez merged 17 commits intoapache:mainfrom
ustcweizhou:4.15-migrate-vm-across-cluster

Conversation

@ustcweizhou
Copy link
Contributor

@ustcweizhou ustcweizhou commented Dec 11, 2020

Description

This PR adds a global setting migrate.vm.across.clusters to indicate whether vm can be live migrated to other clusters.

If vm is running on the last host in a cluster and vm cannot be migrated to other clusters, put host to maintenance will fail.

This is based on pr #4378

This fixes #3707 #3720

Some rules
(1) for vmware, across-cluster migration of vms with cluster-scoped pools is supported
(2) for other hypervisors except vmware, vm can be live migrated to other clusters (with same hypervisor type), if all volumes are in zone-wide storage pool.
(3) migration of systemvms (CPVM, SSVM) is only possible across clusters in same pod to avoid potential network issues.

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Screenshots (if appropriate):

How Has This Been Tested?

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

When only one host is available and it is put in maintenance, all VMs on it are Stopped.

9 participants