Unlock instant, AI-driven research and patent intelligence for your innovation.

Virtual machine elastic scaling method and device

An elastic scaling and virtual machine technology, applied in the field of communication, can solve problems such as overloading of virtual machines, long time required to expand virtual machines, and inability to quickly respond to business needs, so as to achieve the effect of increasing speed

Active Publication Date: 2017-08-29
HUAWEI CLOUD COMPUTING TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the technical problem to be solved by the present invention is that the time required to expand the virtual machine in the prior art is too long, which leads to the problem that the virtual machine is overloaded during the expansion of the virtual machine and cannot quickly respond to business needs

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Virtual machine elastic scaling method and device
  • Virtual machine elastic scaling method and device
  • Virtual machine elastic scaling method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0068] figure 1 A flowchart showing a virtual machine elastic scaling method according to an embodiment of the present invention, as shown in figure 1 As shown, the method includes:

[0069] Step S101, creating a virtual machine instance buffer module.

[0070] The virtual machine instance buffer module stores the virtual machine in the dormant state by saving the memory data of the virtual machine in the dormant state, specifically including saving the memory data of the virtual machine in the virtual machine instance buffer module, and then powering off the virtual machine to make the virtual machine sleep. A virtual machine in a dormant state only occupies storage space and does not occupy computing and memory resources.

[0071] Step S102, when the scaling decision of the scaling group is to expand the virtual machine, activate the virtual machine in the dormant state from the virtual machine instance buffer module for storing the virtual machine in the dormant state,...

Embodiment 2

[0075] figure 2 A flowchart showing a method for elastic scaling of a virtual machine according to another embodiment of the present invention. Such as figure 2 As shown, the method includes:

[0076] Step S301 , collecting monitoring data for the virtual machines in the scaling group, such as CPU usage, memory usage, disk input / output I / O, network bandwidth, and the like.

[0077] Step S302. Calculate the monitoring data to obtain scaling data.

[0078] For example, you can calculate the CPU usage of each virtual machine in the scaling group to obtain the average CPU usage of the virtual machines in the scaling group in a certain period as the scaling data, or select the maximum CPU usage of the virtual machines in the scaling group as the scaling data. According to the memory usage of each virtual machine in the scaling group, the average memory usage of the virtual machines in the scaling group in a certain period can be calculated as the scaling data, or the maximum m...

Embodiment 3

[0103] image 3 A flowchart showing a method for elastic scaling of a virtual machine according to another embodiment of the present invention. image 3 Winning mark and figure 2 The same components have the same functions, and detailed descriptions of these components are omitted for brevity. Such as image 3 as shown, image 3 The virtual machine elastic scaling method shown is the same as figure 2 The main difference of the virtual machine elastic scaling method shown is that, after step S301-step S302, it also includes:

[0104] Step S401 , compare the scaling data with the capacity reduction threshold, if the scaling data is smaller than the capacity reduction threshold, execute step S402 , otherwise end the process.

[0105] Step S402 , judging whether the number of virtual machines in the dormant state in the virtual machine instance buffer module has reached the upper limit, if yes, continue to execute step S4021 , otherwise execute step S4022 .

[0106] Step S...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a virtual machine elastic scaling method and device. The virtual machine elastic scaling method and device include that when the scaling decision of the scaling group is to increase the virtual machine, a virtual machine in dormant state is activated from a virtual machine instance buffer module used for storing the virtual machine in dormant state to increase the virtual machine in the scaling group; wherein, the virtual machine instance buffer module stores the virtual machine in dormant state through preserving stored data of the virtual machine in dormant state; activating of the virtual machine in dormant state includes restoring the stored data of the virtual machine in dormant state to the server's memory where the virtual machine in dormant state exists and charging the virtual machine in dormant state. According to the virtual machine elastic scaling method and device, time of creating a virtual machine and booting the operating system and the application procedure can be reduced in increasing the virtual machine, and increasing of a virtual machine can be finished within several seconds so that the speed of increasing a virtual machine can be greatly improved compared with the time of several minutes or even more than an hour in the prior art.

Description

technical field [0001] The present invention relates to the communication field, in particular to a virtual machine elastic scaling method and device. Background technique [0002] The cloud computing elastic scaling service in the communication field can expand the number of virtual machines (English: Virtual Machine, abbreviation: VM) in the scaling group according to user-defined conditions. A scaling group is a collection of virtual machines with the same function. Using the cloud computing elastic scaling service, users can ensure that the number of virtual machine instances in the scaling group achieves seamless growth during peak demand periods to maintain performance, and can also be automatically reduced during flat demand periods. Scale the number of virtual machine instances within a group to minimize costs. [0003] The existing cloud computing elastic scaling service includes two modules: the scaling decision module and the virtual machine management module. Th...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/455
Inventor 李新笼
Owner HUAWEI CLOUD COMPUTING TECH CO LTD