VM Management Process for Container Introspection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current workload management systems, such as Kubernetes, face challenges in effectively performing introspection on containers running within virtual machines, as they rely on peer management processes that may not efficiently communicate across different protocols and channels, limiting debugging and monitoring capabilities.

Innovation Solution

A VM management process communicates with a container management process within virtual machines to execute introspection commands through a communication channel, converting requests from a TCP protocol to a virtual socket protocol to enable deeper inspection and management of containers within virtual machines.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If a peer management process uses standard TCP protocols to communicate with containers, then basic communication is achieved, but introspection capability into containers running within virtual machines is limited

Engineering Contradiction:
Improveintrospection capabilityVSAvoidcommunication protocol complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent introduces a VM management process as an intermediary component that sits between the peer management process and containers running within virtual machines. This intermediary translates standard TCP protocol requests into virtual socket protocol commands, enabling introspection capability without requiring containers to implement custom protocols. The VM management process mediates the communication, converting external TCP requests into internal virtual socket operations that the container management process can execute.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent segments the management function into separate components: a VM management process that handles protocol translation and communication with the hypervisor, and a container management process that executes introspection commands within the virtual machine. This segmentation allows each component to specialize in specific tasks, with the VM management process focusing on protocol conversion and the container management process focusing on container introspection, thereby achieving versatility without overwhelming complexity.

Inventive Principle:
Principle #1Segmentation

2Adaptability or versatility

If introspection commands are transmitted through multiple protocol conversions, then compatibility with different systems is improved, but processing time and operational efficiency decrease

Engineering Contradiction:
Improveprotocol compatibilityVSAvoidintrospection command processing time
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The VM management process establishes a pre-existing communication channel with the container management process before introspection commands arrive. This pre-established channel, configured through virtual socket protocol, eliminates the need for real-time protocol conversion during introspection operations. The system performs preliminary setup of the communication pathway, allowing subsequent introspection commands to be transmitted efficiently without repeated protocol translations.

Inventive Principle:
Principle #10Preliminary action

3Ease of operation

If a peer management process directly accesses container STDIO channels or TCP/IP ports, then container introspection is achieved, but security and isolation are compromised

Engineering Contradiction:
Improvecontainer access capabilityVSAvoidsecurity and isolation
Core Design Contradiction:
Ease of operationVSReliability

Solution Approach 1:

The VM management process serves as a secure intermediary that mediates all access to containers within virtual machines. Instead of allowing the peer management process to directly access container STDIO channels or TCP/IP ports, all requests must pass through the VM management process, which translates them into virtual socket protocol commands. This intermediary layer maintains security and isolation by controlling and monitoring all access pathways, ensuring that only authorized introspection operations can reach the container management process.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS11513830B2Introspection into workloads running within virtual machines
Publication Date: 2022.11.29 VMWARE INC
  • US11513830B2 patent drawing
  • US11513830B2 patent drawing
  • US11513830B2 patent drawing

AI summary

Introspection into containers running in virtual machines (VMs) that are instantiated on a host computer is achieved. A method of processing an introspection command for a container, funning in a virtual machine, is carried out by a VM management process, and includes the steps of receiving a first request that is formulated according to a first protocol, e.g., transmission control protocol, and includes the introspection command, identifying the virtual machine from the first request, formulating a second request that includes the introspection command, according to a second protocol (e.g., virtual socket protocol), and transmitting the second request to a container management process running in the virtual machine for the container management process to execute the introspection command.