Virtual machine recovery and resource adjustment method

An adjustment method and virtual machine technology, applied in the computer field, can solve problems such as waste of slave node resources, achieve elastic adjustment, improve utilization rate, and realize the effect of recycling

Pending Publication Date: 2021-02-23
SHENZHEN ZTE NETVIEW TECH +1
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The embodiment of the present application aims to solve the problem of slave node resource waste in software projects by providing a virtual machine recovery and its resource adjustment method

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 recovery and resource adjustment method
  • Virtual machine recovery and resource adjustment method
  • Virtual machine recovery and resource adjustment method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0056] In order to better understand the above-mentioned technical solutions, exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0057] The embodiment of the present invention provides embodiments of a virtual machine resource adjustment method and a virtual machine reclaiming method. It should be noted that although the logic sequence is shown in the flow chart, in some cases, it may be different from the one here. The steps shown or described are performed sequentially.

[0058] It shou...

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 discloses a virtual machine recovery and resource adjustment method, and the method comprises the steps of building a first configuration file, and reserving a built first virtual machine according to the first configuration file; judging whether the physical parameter information of the first virtual machine during running meets an alarm rule or not, and if yes, adjusting physical resources of the first virtual machine according to the first configuration file; the virtual machine recovery method comprises the following steps: executing a target task on a created second virtualmachine; monitoring whether the task state of the target task executed on the second virtual machine is completed or not; and if so, deleting the second virtual machine of which the task state of thetarget task is completed. According to the invention, the problem of waste of slave node resources in a software project is solved, not only is recycling of idle slave nodes realized, but also elasticadjustment of physical resources of the slave nodes is realized, and the utilization rate of the slave node resources is increased to a great extent.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a virtual machine recycling method and resource adjustment method thereof. Background technique [0002] At present, it is popular for software development teams to run pipeline development tools on the Jenkins platform to build projects to complete the continuous integration, deployment and delivery of enterprise software projects. Among them, the construction of each pipeline task in the software project depends on the slave node (representing the virtual machine). With the increase of the team and business, more and more pipeline tasks need to be built, so more slave nodes need to be built. On the one hand, there are not many slave nodes executing pipeline tasks at the same time in a software project, so more slave nodes will be idle and kept at the same time, which will easily cause waste of slave node resources. On the other hand, since the physical resources (CPU, memory...

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 Applications(China)
IPC IPC(8): G06F9/455G06F9/50
CPCG06F9/45558G06F9/5027G06F2009/45562
Inventor 阚艳姣马腾稷
Owner SHENZHEN ZTE NETVIEW TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products