Virtualized Device Fault Recovery via Live Migration

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Virtual machines running on systems with virtualized devices face prolonged fault states due to the lack of efficient fault recovery mechanisms for virtualized devices, leading to potential service interruptions.

Innovation Solution

A method and apparatus for fault recovery of virtualized devices, involving the acquisition of configuration information and status data from a synchronization module, migration of these data to a new virtualized device using a physical function driver, and performing a live migration of the virtual machine to communicate with the new device, ensuring seamless service continuity.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If the virtualized device is used for I/O virtualization, then the system can present a single physical device as multiple virtual function devices, but the system lacks efficient fault recovery mechanisms causing prolonged fault states

Engineering Contradiction:
ImproveI/O virtualization capabilityVSAvoidfault recovery efficiency
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The system performs preliminary actions by creating a synchronized backup of the virtualized device's configuration information and data queue status before faults occur. This backup mechanism is established in advance through the virtualized device synchronization module, enabling rapid recovery when faults happen without prolonged service interruption.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent creates a copy of the virtualized device's state by synchronizing configuration information and data queue status to a backup location. This copying mechanism allows the system to restore the virtualized device to its pre-fault state by retrieving the stored backup data, thereby resolving the reliability issue while maintaining virtualization capabilities.

Inventive Principle:
Principle #26Copying

2Stability of the object's composition

If the virtual machine continues to communicate with the faulty virtualized device, then the device state is maintained, but the virtual machine remains in a fault state for a long time

Engineering Contradiction:
Improvedevice state consistencyVSAvoidfault state duration
Core Design Contradiction:
Stability of the object's compositionVSLoss of time

Solution Approach 1:

The patent introduces an intermediary recovery mechanism that mediates between the faulty virtualized device and the virtual machine. When a fault occurs, the system uses the synchronized backup information as an intermediary to restore the device state and redirect the virtual machine to communicate with the recovered device, preventing prolonged fault states while maintaining state consistency.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system implements feedback by continuously monitoring the virtualized device's operational status. When a fault is detected, the feedback mechanism triggers the recovery process by retrieving stored configuration information and data queue status, then restoring the device and notifying the virtual machine to re-establish communication, thereby reducing fault state duration.

Inventive Principle:
Principle #23Feedback

3Productivity

If a new virtualized device is created for recovery, then service continuity can be maintained, but configuration information and status data must be migrated

Engineering Contradiction:
Improveservice continuityVSAvoidmigration process complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent simplifies the migration process by using copying of pre-synchronized configuration information and data queue status from the backup. When creating a new virtualized device for recovery, the system copies the stored backup data directly to the new device, avoiding complex manual configuration and reducing migration complexity while ensuring service continuity.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The recovery mechanism operates as a self-service system where the virtualized device automatically retrieves its own backup configuration information and data queue status from the synchronization module. This self-service approach reduces the complexity of manual migration operations and enables automatic service continuity when creating new virtualized devices for recovery.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS20240354134A1Fault recovery method and apparatus for virtualization device
Publication Date: 2024.10.24 CLOUD INTELLIGENCE ASSETS HOLDING (SINGAPORE) PTE LTD
  • US20240354134A1 patent drawing
  • US20240354134A1 patent drawing
  • US20240354134A1 patent drawing

AI summary

The present application provides a method and apparatus for fault recovery of a virtualized device, an electronic device, and a machine-readable medium. According to embodiments of the present application, acquiring configuration information of the faulty virtualized device and status data of a data queue from a virtualized device synchronization module, if a virtual machine detects a fault of a virtualized device in a physical device; migrating the configuration information of the faulty virtualized device and the status data of the data queue to a new virtualized device by invoking a preset physical function driver, and performing a live migration on the virtual machine, such that the virtual machine communicates with the new virtualized device. In this case, the virtual machine can continue to process a service which is being processed originally, thereby ensuring that the service of the virtual machine is not interrupted, and achieving efficient recovery of the virtualized device.