Virtual Machine Migration Manager with Memory Copy Coordination

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing virtual machine migration technologies face challenges in efficiently managing the migration of virtual machine instances between physical host computing devices, particularly in minimizing downtime and optimizing resource allocation during the migration process.

Innovation Solution

The implementation of a migration manager and coordinator system that oversees the migration process, entering a 'memory-copy' phase while the virtual machine runs, and transitioning to a 'stop-and-copy' phase after authorization, with the coordinator determining optimal timing based on network and resource availability, ensuring minimal downtime and efficient data transfer.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If virtual machine migration is performed using traditional methods, then the migration process can be completed, but the downtime experienced by users increases and service disruption occurs

Engineering Contradiction:
Improveservice continuityVSAvoidmigration downtime
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system performs preliminary actions by copying memory pages from the source virtual machine to the target virtual machine before the actual migration is needed. This advance preparation allows the migration to proceed faster when triggered, reducing downtime while maintaining service continuity.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The migration process is segmented into multiple phases: an initial memory copy phase that occurs while the virtual machine is running, and a final stop-and-copy phase that completes the migration. This segmentation allows different parts of the migration to occur at different times, minimizing overall downtime.

Inventive Principle:
Principle #1Segmentation

2Loss of time

If virtual machine migration is performed quickly, then downtime is minimized, but network bandwidth consumption increases and resource allocation becomes challenging

Engineering Contradiction:
Improvemigration durationVSAvoidnetwork bandwidth consumption
Core Design Contradiction:
Loss of timeVSUse of energy by moving object

Solution Approach 1:

The system dynamically adjusts the migration process based on available network bandwidth and resource conditions. The coordinator monitors network conditions and resource availability, then controls the pace of memory copying to optimize the balance between migration speed and network resource consumption.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The migration process uses periodic action by performing memory copying in controlled intervals rather than continuously. The system can pause and resume the migration process, allowing network resources to be allocated to other tasks during idle periods while maintaining progress toward completion.

Inventive Principle:
Principle #19Periodic action

3Reliability

If the virtual machine continues running during migration, then service continuity is maintained, but tracking and copying memory pages becomes more complex

Engineering Contradiction:
Improveservice continuityVSAvoidmemory tracking complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system uses feedback mechanisms where the migration manager continuously monitors memory page changes in the running virtual machine and adjusts the copying process accordingly. This feedback loop allows the system to track and copy only the necessary memory pages while the virtual machine remains operational.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The migration manager acts as an intermediary between the running virtual machine and the target virtual machine. It manages the complex task of tracking memory page changes and coordinating the copy process, simplifying the overall system architecture while maintaining service continuity.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS10613883B2Managing virtual machine migration
Publication Date: 2020.04.07 AMAZON TECH INC
  • US10613883B2 patent drawing
  • US10613883B2 patent drawing
  • US10613883B2 patent drawing

AI summary

Systems and methods for the management of migrations of virtual machine instances are provided. In response to a request to migrate a virtual machine instance, a migration manager may provide estimates regarding the requested migration before initiating the migration. During the migration process, the migration manager may report status or request instructions regarding the migration based on various determined migration events, thereby facilitating external control of the migration process.