Virtual Machine Migration for Hybrid Local and Shared Storage
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing virtual machine migration methods only support migration in single storage modes, either completely local or completely shared, and cannot handle virtual machines with both local and shared data.
Innovation Solution
A method and apparatus for migrating virtual machines that receive a migration request, determine and execute specific operations for both local and shared data, allowing for the migration of virtual machines with hybrid storage modes that include both local and shared data.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If completely local storage mode is used for virtual machine migration, then migration can be performed by copying local data to target terminal, but the system cannot handle virtual machines with both local and shared data
Solution Approach 1:
The patent segments the storage data into two distinct categories: local data and shared data. The migration system separately identifies and processes each type of data using different migration operations. Local data is copied to the target terminal, while shared data is mounted from the shared storage device at the target terminal, thereby handling hybrid storage modes without increasing overall system complexity
Solution Approach 2:
The patent applies different migration strategies to different parts of the storage system based on their specific characteristics. Local storage devices receive copy operations, while shared storage devices receive mount operations. This localized quality approach allows the system to optimize migration for each storage type while maintaining overall system adaptability
2Adaptability or versatility
If completely shared storage mode is used for virtual machine migration, then migration can be performed by mounting shared storage device to target terminal, but the system cannot handle virtual machines with both local and shared data
Solution Approach 1:
The migration system segments storage operations based on data location. It identifies which data resides on local storage devices versus shared storage devices, and applies appropriate migration operations to each segment. This segmentation enables the system to handle hybrid storage modes while keeping the migration process manageable through clear separation of operations
Solution Approach 2:
The migration system is designed with multi-functionality to handle both local and shared storage operations within a single unified framework. It can perform copy operations for local data and mount operations for shared data, making the system universal enough to handle any combination of storage modes without requiring separate migration processes
3Adaptability or versatility
If hybrid storage mode migration is implemented by separately handling local and shared data, then migration of virtual machines with both local and shared data can be achieved, but the migration process becomes more complex
Solution Approach 1:
The system segments the migration process into distinct phases: identification of local versus shared data, separate processing of each data type with appropriate operations, and coordinated execution of these operations. This segmentation makes the complex hybrid migration process manageable by breaking it into clear, distinct steps that can be executed systematically
Solution Approach 2:
The migration system introduces an intermediary layer that manages the coordination between different migration operations. This intermediary component handles the complexity of coordinating copy operations for local data and mount operations for shared data, shielding the user from the underlying complexity while enabling hybrid storage mode migration
Data Source
AI summary
The present application discloses a virtual machine migration method and apparatus. A specific implementation of the method includes: receiving a migration request for migrating a virtual machine, wherein to-be-migrated data of the virtual machine comprises local data locally stored and shared data accessible by the virtual machine at a plurality of locations; determining migration operations respectively corresponding to the local data and the shared data in response to the migration request; and executing the migration operations corresponding to the local data and the shared data, to complete migration of the virtual machine. This implementation achieves the migration of a virtual machine with a hybrid storage mode, that is, a storage mode in which the data to be migrated includes both local data and shared data.


