Warm VM Migration Across Incompatible Cloud Hosts
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing live migration techniques in cloud computing fail when virtual machines with incompatible hardware are involved, leading to crashes or prolonged downtime due to hardware incompatibilities, while cold migration results in extended downtime as the virtual machine is shut down during the process.
Innovation Solution
A 'warm' migration method that mirrors disk contents and slows down RAM transfer to a low rate, allowing the virtual machine to be shut down gracefully, ensuring minimal downtime by booting the target machine from the migrated disk after shutdown, even with different or incompatible hardware.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If live migration is used to move running virtual machines between physical machines, then service continuity is maintained, but migration fails when source and destination hosts have incompatible hardware
Solution Approach 1:
The patent applies preliminary action by shutting down the virtual machine before migration begins. This allows the disk contents to be fully mirrored to the destination host before the VM is started, ensuring that the destination host has complete control of the disk I/O operations and can handle incompatible hardware configurations. The shutdown occurs at a controlled point in the migration process, allowing preparatory actions to complete successfully.
Solution Approach 2:
The patent extracts the disk I/O operations from the running virtual machine by shutting it down during migration. This separation allows the disk contents to be copied independently of the VM's active processes, eliminating conflicts with hardware incompatibility issues that would otherwise prevent live migration between hosts with different CPU architectures or device configurations.
2Adaptability or versatility
If cold migration is used to migrate virtual machines with incompatible hardware, then hardware compatibility issues are resolved, but the virtual machine experiences extended downtime
Solution Approach 1:
The patent applies preliminary action by initiating the disk mirroring process before shutting down the virtual machine. The disk contents are copied to the destination host while the VM is still running, and only after the migration is complete is the VM shut down and restarted. This reverses the traditional cold migration sequence, minimizing the time the VM is non-operational.
Solution Approach 2:
The patent introduces dynamic control of the migration process by allowing the VM to remain running during disk mirroring, then transitioning to a controlled shutdown only when necessary. The system dynamically adjusts the migration approach based on the compatibility requirements, maintaining service continuity as long as possible while still enabling hardware-incompatible migrations.
3Reliability
If disk mirroring is performed while the virtual machine remains running, then service continuity is maintained, but the virtual machine may crash due to hardware incompatibility
Solution Approach 1:
The patent applies preliminary action by completing the disk mirroring process before the virtual machine is shut down. The entire disk contents are copied to the destination host while the VM is still running, ensuring that the migration is fully prepared before any service interruption occurs. This preliminary completion of the critical data transfer ensures service continuity is maintained throughout the process.
Data Source
AI summary
A method of “warm” migrating a virtual machine (VM) on a source host to a target virtual machine on a destination host. The method begins by mirroring contents of disk onto a target disk associated with the target VM. Transfer of the RAM contents is then initiated. Unlike live migration strategies where data transfer occurs at a high rate, the RAM contents are transferred at a low transfer rate. While the contents of the RAM are being transferred, a shutdown of the virtual machine is initiated. This operation flushes to disk all of the remaining RAM contents. Before the shutdown completes, those remaining contents, now on disk, are mirrored to the target disk. Once that mirroring is finished, the shutdown of the virtual machine is completed, and this shutdown is mirrored at the destination host. To complete the warm migration, the target virtual machine is then booted from the target disk.


