Container Host Fatal-Error Recovery Through Preemptive Migration
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Container hosts experience significant disruptions and data loss due to fatal system errors, leading to lengthy recovery times and potential data corruption during reboot, as current methods either prioritize diagnostic data gathering or service healing at the expense of the other, resulting in unsatisfactory outcomes.
Innovation Solution
Implementing a control plane that isolates and migrates containers from a degraded container host before completing a memory dump, ensuring network isolation and writing events to a management system log, allowing for simultaneous diagnostic data collection and service healing.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If the system prioritizes completing memory dump for diagnostic data gathering, then measurement precision is improved, but loss of time increases due to extended recovery duration
Solution Approach 1:
The system performs preliminary actions by initiating container isolation and migration processes immediately upon detecting a fatal system error, before the memory dump is completed. This allows service healing to begin in advance, reducing the overall recovery time while the memory dump continues to gather diagnostic data.
Solution Approach 2:
The recovery process is segmented into independent concurrent operations: memory dump generation, container isolation, and service healing. These segments can execute simultaneously without interfering with each other, allowing diagnostic data collection and service recovery to proceed in parallel, thus reducing total recovery time.
2Productivity
If the system prioritizes service healing by migrating containers, then productivity is improved, but loss of information increases due to potential data corruption during OS reboot
Solution Approach 1:
The system applies preliminary anti-action by isolating containers from the degraded host and migrating them to healthy hosts before the compromised host reboots. This preemptive measure prevents potential data corruption from affecting running services, while the memory dump ensures diagnostic information is preserved for later analysis.
Solution Approach 2:
The system creates a copy of the container state and migrates it to a healthy host. This copying process allows the original container to be safely isolated or terminated on the degraded host after migration, ensuring service continuity on the healthy host while preserving diagnostic data on the degraded host for later analysis.
3Loss of time
If the system performs both memory dump and service healing simultaneously, then device complexity increases, but loss of time is reduced through concurrent operations
Solution Approach 1:
The control plane acts as an intermediary that coordinates and manages multiple concurrent operations (memory dump, container isolation, service migration). It receives notifications of fatal errors, orchestrates the simultaneous execution of diagnostic data collection and service healing tasks, and ensures proper resource allocation across hosts, thereby managing the complexity of concurrent operations.
Data Source
AI summary
A computer system identifies an event from a management system log associated with a first container host. The presence of the event in the management system log is indicative that the first container host identified a fatal system error at the first container host. Based on the event, the computer system determines that a first instance of a container that is provisioned at the first container host has been isolated to the first container host. Based on the first instance of the container having been isolated to the first container host, the computer system instructs a second container host to provision a second instance of the container at the second container host.


