Virtual Machine Proxy Service Configuration Modification

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In virtualized platforms, modifying the internal configuration of a virtual machine during startup can fail due to the proxy service (e.g., vmtools service) not being operational in time, leading to delayed or failed configuration modifications.

Innovation Solution

A method and system where a proxy service sends a datum request to a preset IP address via a virtual network card after startup, determining the target virtual machine, obtaining configuration data from a database, and sending modifying instructions to the proxy service to update the internal configuration, with the ability to stop and restart requests based on signal files and changing configuration data.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the virtual machine uses a process to periodically inquire the state of the vmtools service during startup, then the system can automatically dispatch configuration modification instructions after the service is ready, but the process may expire before the service is ready (especially when startup is slow due to operations like magnetic disk checking), resulting in failed configuration modification

Engineering Contradiction:
Improveconfiguration modification success rateVSAvoidstartup waiting time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

Instead of having the mainframe periodically check if the proxy service is ready (active polling), the patent inverts the approach by having the proxy service actively send its readiness status to the mainframe. The proxy service sends a first data packet containing its service identification when it starts up, allowing the mainframe to immediately know when the service is ready without waiting for polling cycles to expire.

Inventive Principle:
Principle #13The other way round (Inversion)

Solution Approach 2:

The proxy service performs self-announcement of its readiness state by automatically sending the first data packet to the mainframe upon startup. This eliminates the need for the mainframe to continuously poll or wait for the service to become ready, as the service itself provides the readiness information.

Inventive Principle:
Principle #25Self-service

2Reliability

If the virtual machine has low startup speed (e.g., checking magnetic disk), then the vmtools service may not be ready when the inquiry process expires, but increasing the inquiry duration or speed would delay other startup operations

Engineering Contradiction:
Improveservice readiness detection accuracyVSAvoidstartup speed
Core Design Contradiction:
ReliabilityVSSpeed

Solution Approach 1:

The proxy service autonomously determines its own readiness and actively communicates this state to the mainframe by sending the first data packet. This eliminates the need for the mainframe to implement complex timing mechanisms or extended waiting periods to accommodate slow services, as the service itself signals when it is ready.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system establishes a feedback mechanism where the proxy service provides real-time status information to the mainframe through the first data packet. This allows the mainframe to immediately respond with configuration modification instructions once readiness is confirmed, without needing to account for variable startup speeds through extended timing windows.

Inventive Principle:
Principle #23Feedback

3Reliability

If the mainframe waits for the proxy service to be ready before sending modification instructions, then configuration changes can be applied successfully, but the overall startup time increases

Engineering Contradiction:
Improveconfiguration modification success rateVSAvoidconfiguration modification delay
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent inverts the traditional waiting paradigm by having the proxy service actively announce its readiness rather than the mainframe passively waiting. The first data packet sent by the proxy service immediately triggers the mainframe to send configuration modification instructions, eliminating the time loss associated with waiting or repeated polling.

Inventive Principle:
Principle #13The other way round (Inversion)

Data Source

PatentUS11915036B2Method, system, and device for modifying internal configuration of virtual machine
Publication Date: 2024.02.27 INSPUR SUZHOU INTELLIGENT TECH CO LTD
  • US11915036B2 patent drawing
  • US11915036B2 patent drawing

AI summary

The present application discloses a method for modifying an internal configuration of a virtual machine, a system and a device, wherein the method is applied to a virtual machine installed with a proxy service therein, and the proxy service is configured for, after the proxy service itself is started up, sending a datum request to a preset IP address via a virtual network card corresponding to the virtual machine. The method includes, when there is a target virtual network card sending a datum request to the preset IP address, according to a predetermined corresponding relation between virtual network cards and virtual machines, determining a target virtual machine corresponding to the target virtual network card; from a database, obtaining target configuration data corresponding to the target virtual machine.