Virtual Machine Migration Rejection via Custom Metadata

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

There is no effective solution to prevent dirty virtual machines from executing on undesirable host servers in virtualization cluster environments, particularly where the host server lacks a caching solution or platform support, leading to potential data corruption and system instability.

Innovation Solution

A method and system that utilize a caching module to change the metadata of virtual hard disk files to a custom format, allowing only compatible host servers with caching solutions to accept virtual machine migrations, thereby preventing execution on servers without adequate caching support.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If write-back caching policy is used to improve performance, then data access speed is improved, but data integrity deteriorates due to potential data loss from cache errors

Engineering Contradiction:
Improvedata access speedVSAvoiddata integrity
Core Design Contradiction:
SpeedVSReliability

Solution Approach 1:

The patent introduces a custom metadata format as an intermediary mechanism between the cache system and host server. This metadata acts as a communication protocol that conveys cache state information (dirty/clean status) to the host server, enabling the host to make informed decisions about accepting or rejecting virtual machine migrations based on data integrity requirements.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent implements a feedback mechanism where the caching module modifies metadata of virtual hard disk files to signal the cache state (dirty or clean) to the host server. The host server reads this metadata and uses it to determine whether to accept the migrating virtual machine, creating a closed-loop feedback system that balances performance and reliability.

Inventive Principle:
Principle #23Feedback

2Adaptability or versatility

If virtual machines are allowed to migrate freely to any host server, then system flexibility is improved, but system stability deteriorates due to execution on undesirable hosts

Engineering Contradiction:
Improvesystem flexibilityVSAvoidsystem stability
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The patent applies preliminary action by modifying the metadata of virtual hard disk files before migration occurs. The caching module updates the metadata to reflect the current cache state and compatibility requirements in advance, so that when the virtual machine attempts to migrate, the host server can immediately assess compatibility and make an informed acceptance or rejection decision without delay.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent changes the parameter of metadata format from the standard virtual hard disk format to a custom format that includes additional cache state information. This parameter change enables host servers to distinguish between compatible and incompatible migrations, allowing the system to maintain flexibility while preventing execution on undesirable hosts.

Inventive Principle:
Principle #35Parameter changes

3Reliability

If host servers without caching solutions are excluded from accepting virtual machines, then data integrity is improved, but system versatility deteriorates

Engineering Contradiction:
Improvedata integrityVSAvoidsystem versatility
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent applies local quality by making the metadata format specific to the caching capability context. The custom metadata format is designed to be read and understood only by host servers with caching solutions, creating a localized communication protocol that ensures data integrity for those hosts while allowing non-caching hosts to continue operating with standard formats.

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS10983818B2Method and system for preventing execution of a dirty virtual machine on an undesirable host server in a virtualization cluster environment
Publication Date: 2021.04.20 SAMSUNG ELECTRONICS CO LTD
  • US10983818B2 patent drawing
  • US10983818B2 patent drawing
  • US10983818B2 patent drawing

AI summary

A method for preventing a dirty virtual machine from executing on an undesirable host server includes receiving, by a caching module provided for a first host server that hosts a virtual machine, a write data that is of the virtual machine and that is to be cached for the first host server. The virtual machine uses a virtual hard disk supporting hyper-V Virtual hard disk (VHDX) and virtual hard disk (VHD) file formats or any virtual file format with uniquely identifiable metadata. In response to the receipt of write data, the caching module provided for the first host server changes metadata of virtual hard disk files to a custom format before the virtual machine migrates from the first host server to a second host server, and the virtual machine becomes dirty as a result. When the dirty virtual machine sends a migration request to the second host server, a caching module provided for the second host server checks whether the custom format of the virtual hard disk files is identifiable. If not, then the second host server rejects the migration request initiated by the virtual machine.