Virtual Machine Hot Migration for Host Load Balancing
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In cloud computing systems, the utilization rate of hardware resources on hosts is low due to overselling of virtual machines, leading to idle resources, which can result in inefficient use of hardware capabilities.
Innovation Solution
A virtual machine hot migration method is implemented, where virtual machines are configured to exceed the number of processor cores on each host, and when a host's load becomes excessively high, a virtual machine is hot-migrated to another host, thereby optimizing resource utilization without affecting user usage.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If virtual machines are configured to exceed the number of processor cores on a host, then the resource utilization rate is improved, but the host load becomes excessively high during peak usage
Solution Approach 1:
The system dynamically adjusts the allocation of virtual machines across hosts based on real-time load monitoring. When a host's load exceeds a threshold, the system automatically migrates virtual machines to other hosts, and vice versa, making the resource allocation flexible and adaptive to changing conditions rather than static
Solution Approach 2:
The system implements continuous monitoring of host load and uses this feedback to trigger virtual machine migration decisions. The load monitoring module constantly tracks resource usage, and when thresholds are breached, this information feeds back to the migration management module which then initiates appropriate migration actions to balance the load
2Productivity
If virtual machines are hot-migrated from source host to target host, then the load balance is improved, but the system complexity increases
Solution Approach 1:
The system introduces a migration management module as an intermediary that coordinates between source hosts, target hosts, and virtual machines. This central coordinator simplifies the complexity by providing a single point of control that manages migration decisions, selects appropriate target hosts, and orchestrates the migration process rather than allowing direct peer-to-peer complexity between multiple components
Data Source
AI summary
This application discloses a virtual machine hot migration method performed by a virtual machine hot migration apparatus to a cloud computing system including a plurality of hosts, each host including a plurality of virtual machines. The apparatus obtains a load of each host, determines a host whose load exceeds a preset threshold as a source host, determines a to-be-hot-migrated target virtual machine in the source host; and controls the target virtual machine to be hot-migrated from the source host to a target host. According to the solutions provided in the embodiments of this application, when a load of a host is excessively high, a redundantly configured virtual machine on the host is hot-migrated to another host, thereby improving the resource utilization rate of the host when use by a user is ensured.


