Virtual Machine Scaling via Pre-created Resource Pool Selection
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current virtual machine scaling methods are inefficient, taking a long time to add new virtual machines, which fails to meet the resource requirements of applications effectively.
Innovation Solution
A method and device that determine a VM resource pool corresponding to an application, search for a VM that matches the required parameters, and register it to provide service, optionally modifying idle VM parameters to meet the requirements, thereby bypassing the creation process and improving scaling efficiency.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If a new virtual machine is created from scratch using the virtualization management system, then the virtual machine can meet the application's resource requirements, but the scaling process consumes a relatively long time
Solution Approach 1:
The patent pre-creates a pool of virtual machines with different specifications before scaling is needed. When scaling is required, the system selects and activates a pre-created virtual machine from the pool rather than creating a new one from scratch. This preliminary preparation of virtual machine resources significantly reduces the scaling time while ensuring the selected VM meets the application's resource requirements.
Solution Approach 2:
The patent changes the state of virtual machines from an inactive pool state to an active serving state. By maintaining virtual machines in a pre-created but inactive state in the pool, the system can quickly transition them to active state when needed, rather than going through the full creation process. This parameter change (from inactive to active) resolves the contradiction between meeting resource requirements and reducing scaling time.
2Adaptability or versatility
If virtual machine parameters are customized to match application requirements, then the virtual machine can serve the application effectively, but the complexity of the scaling process increases
Solution Approach 1:
The patent creates virtual machines in the pool with different local qualities (different specifications and parameters) to match different application requirements. Each virtual machine in the pool is pre-configured with specific parameters suitable for certain application types. When scaling is needed, the system selects a virtual machine whose parameters locally match the requirements, avoiding the need for complex customization during scaling.
Solution Approach 2:
The patent manages parameter complexity by changing the state of virtual machine parameters from pre-configured (in the pool) to active (in service). The parameter configuration work is done in advance when creating the pool, not during the scaling process. This separates the parameter configuration complexity from the scaling operation, making scaling simpler while maintaining adaptability.
Data Source
Figure 1
Figure 2
Figure 3~4
AI summary
The present invention discloses a virtual machine VM scaling method and device. The method includes: determining, when a new VM needs to be added for an application, a VM resource pool corresponding to the application; searching, according to a parameter of the new VM that needs to be added for the application, the determined VM resource pool for a VM that conforms to the parameter; registering the found VM with a load balancer LB; and starting the VM to provide a service for the application. That is, when a new VM needs to be added for an application, a VM that conforms to a requirement of the application is selected from a pre-created VM resource pool, and the VM is registered to provide a service for the application, thereby omitting a process of creating a virtual machine, shortening a time for creating a virtual machine, and effectively improving efficiency of virtual machine scaling.