Device and method for automatically manufacturing virtual machine mirror image in cloud computing environment

A technology of virtual machine mirroring and cloud computing environment, which is applied in the field of automatic production of virtual machine mirroring, which can solve the problems of time-consuming and laborious, and achieve the effect of easy auditing and tracking

Inactive Publication Date: 2019-06-25
SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
View PDF5 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The technical task of the present invention is to solve the problem of time-consuming and labor-intensive production of existing virtual machine images, and to provide a device and method for automatic production of virtual machine images in a cloud computing environment in order to liberate human work. Freed from the tedious work of manually creating virtual machine images, they only need to modify the template configuration and push it to GitLab, which will automatically trigger the production process, and record the changes after the production is completed

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
  • Device and method for automatically manufacturing virtual machine mirror image in cloud computing environment
  • Device and method for automatically manufacturing virtual machine mirror image in cloud computing environment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0037] combined with figure 1 , a device for automatically making a virtual machine image in a cloud computing environment of the present invention, comprising:

[0038] The server server is responsible for providing external interface APIs to users, and at the same time issuing image creation instructions to Workers;

[0039] API service, GitLab, Jenkins, and database module DB are deployed on the server server;

[0040] Among them, API service: provide API service, complete the initialization work of the device, including the establishment of database and table, the establishment of GitLab project, the creation of Jenkins task, etc., receive the production results fed back from Worker, and record them in the database;

[0041] Among them, GitLab: use the project to host the template configuration of each operating system;

[0042] Among them, Jenkins: use tasks to establish the process of making virtual machine images;

[0043] Among them, DB: stores the log made by the v...

Embodiment 2

[0047] combined with figure 1 , 2 , a method for using a device for automatically making a virtual machine image in a cloud computing environment of the present invention, the specific steps include the following:

[0048] 1) Build a server server, deploy API service, GitLab, Jenkins, database module DB;

[0049] 2) The API service initializes the GitLab project and Jenkins job according to the configuration;

[0050] 3) Build a Worker, deploy Packer, and register as a Jenkins node;

[0051]4) The user submits changes to GitLab according to the template configuration format, GitLab will trigger the Jenkins job to run, Jenkins will select the Worker to run the job to build, and after the Worker runs, call the API to complete the registration of the build log;

[0052] 5) After the API service receives the construction result fed back by the Worker, it records the construction log to the database.

[0053] In step 1) of the present invention, the server server can be deploye...

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 device and a method for automatically manufacturing a virtual machine mirror image in a cloud computing environment, and belongs to the field of cloud computing. According tothe method, a traditional manual operation mode through a graphical interface mode is changed, unattended template configuration is introduced ingeniously, and then the purpose of automatically manufacturing the virtual machine mirror image is achieved through an open source software tool. Meanwhile, the template configuration can serve as a code to be hosted in a GitLab warehouse. The process ofmirror image making is managed as a job of Jenkins. A project corresponding to the GitLab is linked through webhook and Job of Jenkins, when template configuration changes and is pushed to the GitLab, an instruction can be issued to the Jenkins through the webhook, and automatic manufacturing is triggered. In addition, the built logs including mirror image basic information, change contents and change time are recorded through the database, so that subsequent operation, maintenance and auditing are facilitated.

Description

technical field [0001] The invention relates to the field of cloud computing, in particular to a device and method for automatic production of a virtual machine image in a cloud computing environment. Background technique [0002] With the development and rapid implementation of cloud computing technology, more and more application services are deployed inside virtual machines in the cloud environment, making the cloud platform maintain a large number of virtual machine images. As far as major public cloud vendors are concerned, the public mirrors maintained include Windows and Linux systems, and each system has many distributions and many versions. For example, CentOS in the Linux family has 6.5 / 6.8 / 6.9 / 7.1 / 7.2 / 7.3 / 7.4 and other versions. As major distributions continue to release new versions, more and more public mirrors will be provided in the future. [0003] The traditional image production method is to start the virtual machine from the ISO, and follow the installa...

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/455G06F8/65
Inventor 谢涛涛宋伟
Owner SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
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