Virtual Machine Scaling Method and Device

US2017286148A1 · US · A1

Patent metadata
FieldValue
Publication numberUS-2017286148-A1
Application numberUS-201715629853-A
CountryUS
Kind codeA1
Filing dateJun 22, 2017
Priority dateDec 23, 2014
Publication dateOct 5, 2017
Grant date

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A virtual machine (VM) scaling method and device is provided. The method includes determining a VM resource pool corresponding to an application when a new VM needs to be added for 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 conforming VM with a load balancer (LB); and starting the VM to provide a service for the 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 when a new VM is to be added for an application.

First claim

Opening claim text (preview).

What is claimed is: 1 . A virtual machine (VM) scaling method, comprising: determining a VM resource pool corresponding to an application when a new VM is to be added for the application; searching, according to a parameter of the new VM that is to be added for the application, the determined VM resource pool for a VM that conforms to the parameter; registering the VM with a load balancer (LB); and. starting the VM to provide a service for the application. 2 . The VM scaling method according to claim 1 , wherein searching the determined VM resource pool for the VM that conforms to the parameter comprises: searching for an idle VM in the determined VM resource pool when no VM conforms to the parameter in the determined VM resource pool; modifying a parameter of the idle VM according to the parameter of the new VM that is to be added for the application when the idle VM is found in the determined VM resource pool; and using the idle VM that is found in the determined VM resource pool as the VM that conforms to the parameter. 3 . The VM scaling method according to claim 1 , further comprising: calculating a quantity of the VMs that is to be configured in the VM resource pool corresponding to the application; determining a parameter of each VM in resource pool according to a parameter of the application; and creating each of the VMs in the VM resource pool using the determined parameter of each of the VMs. 4 . The VM scaling method according to claim 2 , further comprising: calculating a quantity of the VMs that is to be configured in the VM resource pool corresponding to the application; determining a parameter of each VM in the VM resource pool according to a parameter of the application; and creating each of the VMs in the VM resource of using the determined parameter of each of the VMs. 5 . The VM scaling method according to claim 4 , wherein calculating the quantity of the VMs that is to be configured in the VM resource pool corresponding to the application comprises calculating, according to a mapping relationship between a resource requirement of the application and a specified proportion of the quantity of the VMs, the quantity of the VMs that is to be configured to meet the resource requirement of the application. 6 . The VM scaling method according to claim 3 , wherein determining the parameter of each of the VMs in the VM resource pool comprises determining, according to the parameter of the application, the parameter of each of the VMs in the VM resource pool corresponding to the application, and wherein the parameters of any two of the VMs in the VM resource pool are the same 7 . The VM scaling method according to claim 3 , wherein determining the parameter of each of the VMs in the VM resource pool comprises: determining, according to the preset VM configuration rule, the VM resource pool corresponding to multiple applications; and determining the parameter of each of the VMs in the VM resource pool according to the parameters of the multiple applications, and wherein the parameters of at least two of the VMs in the VM resource pool are different. 8 . The VM scaling method according to claim 1 , wherein the method further comprises: deregistering the VM from the LB when the application determines that a load decreases; and moving the deregistered VM into the VM resource pool corresponding to the application when the VM resource pool corresponding to the application supports VM recycle. 9 . The VM scaling method according to claim 8 , wherein moving the deregistered VM into the VM resource pool corresponding to the application comprises: modifying a first parameter of the deregistered VM according to a second parameter of a required VM by the VM resource pool corresponding to the application when determining that the first parameter is not the same as the second parameter by the VM resource pool corresponding to the application; and moving the deregistered VM into the VM resource pool corresponding to the application. 10 . The VM scaling method according to claim 1 , further comprising: determining whether a quantity of remaining VMs in the VM resource pool corresponding to the application is same as a preset VM quantity; determining a quantity of the VMs that is to be added if the quantity of remaining VMs in the VM resource pool corresponding to the application is less than the preset VM quantity; determining, according to a parameter of the application or a preset VM configuration rule, the parameter of each of the new VMs that is to be added; and creating, using the determined parameter of each of the new VMs that is to be added, each of the new VMs that is to be added. 11 . A virtual machine (VM) scaling device, comprising: a memory comprising instructions; and a processor coupled to the memory, wherein the instructions cause the processor to be configured to: determine a VM resource pool corresponding to an application when a new VM is to be added for the application; search, according to a parameter of the new VM that is to be added for the application, the determined VM resource pool for a VM that conforms to the parameter; register the VM with a load balancer (LB); and start the VM to provide a service for the application. 12 . The VM scaling device according to claim 11 , wherein the instructions further cause the processor to be configured to: search for an idle VM in the determined VM resource pool when no VM conforms to the parameter in the determined VM resource pool; modify a parameter of the idle VM according to the parameter of the new VM that is to be added for the application when the idle VM is found in the determined VM resource pool; and use the idle VM that is found in the determined VM resource pool as the VM that conforms to the parameter. 13 . The VM scaling device according to claim 11 , wherein the instructions further cause the processor to be configured to: calculate a quantity of the VMs that is to be configured in the VM resource pool corresponding to the application; determine a parameter of each VM in the VM resource pool according to a parameter of the application; and creating each of the VMs in the VM resource pool using the determined parameter of each of the VMs. 14 . The VM scaling device according to claim 12 , wherein the instructions further cause the processor to be configured to: calculate a quantity of the VMs that is to be configured in the VM resource pool corresponding to the application; determine a parameter of each VM in the VM resource pool according to a parameter of the application; and creating each of the VMs in the VM resource pool using the determined parameter of each VM. 15 . The VM scaling device according to claim 13 , wherein the instructions further cause the processor to be configured to calculate, according to a mapping relationship between a resource requirement of the application and a specified proportion of the quantity of the VMs, the quantity of the VMs that is to be configured to meet the resource requirement of the application. 16 . The VM scaling device according to claim 13 , wherein the instructions further cause the processor to be configured to determine, according to the parameter of the application, the parameter of each of the VMs in the VM resource pool corresponding to the application, and wherein the parameters of any two of the VMs in the VM resource pool are the same 17 . The VM scaling device according to claim 13 , wherein the instructions further cause the processor to be configured to:

Assignees

Inventors

Classifications

  • Hypervisor-specific management and integration aspects · CPC title

  • Creating, deleting, cloning virtual machine instances · CPC title

  • Starting, stopping, suspending or resuming virtual machine instances · CPC title

  • Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines · CPC title

  • Distribution of virtual machine instances; Migration and load balancing · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US2017286148A1 cover?
A virtual machine (VM) scaling method and device is provided. The method includes determining a VM resource pool corresponding to an application when a new VM needs to be added for 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 conforming VM wi…
Who is the assignee on this patent?
Huawei Tech Co Ltd
What technology area does this patent fall under?
Primary CPC classification G06F9/45558. Mapped technology areas include Physics.
When was this patent published?
Publication date Thu Oct 05 2017 00:00:00 GMT+0000 (Coordinated Universal Time) (A1). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).