Method and system for quickly importing virtual machine mirror image in OpenStack environment

A technology of virtual machine mirroring and mirroring, which is applied in the field of cloud computing to achieve the effect of reducing time and storage occupation, and not occupying management network traffic

Active Publication Date: 2020-07-17
SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
View PDF7 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] The technical task of the present invention is to provide a method and system for quickly importing virtual machine images in an OpenStack environment to solve the pr

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
  • Method and system for quickly importing virtual machine mirror image in OpenStack environment
  • Method and system for quickly importing virtual machine mirror image in OpenStack environment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0044] as attached figure 2 As shown, under the OpenStack environment of the present invention, the method for quickly importing the virtual machine image is to use the rbd client of the ceph cluster to import the virtual machine image into the ceph image pool, and then use the glance client to supplement the metadata of the virtual machine image to the Database, and then check whether the mirroring status is normal. If it is normal, the mirroring service can be provided externally; the specific steps are as follows:

[0045]S1. Select the upload node, label the upload node with the glance-image-upload label (label), and upload the image file to be uploaded to the upload node; the upload node accesses the storage node through the storage network. In the production environment, the storage Select a 10Gbps network port.

[0046] S2. Write a chart file on the kubernetes master node; the content of the written chart file includes the uploaded image file, the image name of the gl...

Embodiment 2

[0053] Under the OpenStack environment of the present invention, the virtual machine mirror image is quickly imported into the system, and the system includes,

[0054] The upload node unit is used to select an upload node, to label the upload node with a glance-image-upl oad label (label), and to upload the image file to be uploaded to the upload node;

[0055] The storage node unit is used to complete the data transmission between the upload node and the storage node through the storage network. In the production environment, the network port of 10Gbps is selected for storage;

[0056] The kubernetes master node unit is used to write a chart file. The contents of the chart file include the uploaded image file, the image name of glance, and the storage class (storageClass) of the uploaded ceph cluster; and use helm to install, that is, helm install–tls glance -image-upload; during the installation process, find the configuration file of the corresponding ceph cluster accordin...

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 method and a system for quickly importing a mirror image of a virtual machine in an OpenStack environment. The invention belongs to the technical field of cloud computing, the technical problem to be solved by the invention is how to reduce mirror image content transmission links, reduce upload time, improve success rate of mirror image import at the same time without occupying the management network flow.. According to the technical scheme, the method comprises the steps that an rbd client side of a ceph cluster is used for importing a virtual machine mirror image into a ceph mirror image pool; a grance client side is used for supplementing metadata of the virtual machine mirror image to a database; whether the mirror image state is normal or not is checked, andmirror image service can be provided for the outside normally. The system comprises an uploading node unit, a storage node unit, a kubernetes main node unit and a control node unit.

Description

technical field [0001] The invention relates to the technical field of cloud computing, in particular to a method and system for quickly importing a virtual machine image in an OpenStack environment. Background technique [0002] In the field of cloud computing, OpenStack has become the standard for private cloud construction. Its core components, such as glance, have a relatively high degree of acceptance. According to OpenStack's 2019 user survey, the adoption rate of glance in the production environment is 89%. In the field of distributed storage, Ceph has become the benchmark in the industry, supported by many cloud computing and storage vendors, and has become the most widely used open source distributed storage platform. Ceph is used as the storage backend of OpenStack in 75% of production environments, and components including nova, cinder, manila, and glance can use Ceph, and glance uses Ceph's block storage as the storage backend of the image. [0003] OpenStack us...

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
IPC IPC(8): G06F9/455G06F16/182G06F16/11
CPCG06F9/45558G06F16/182G06F16/128G06F2009/45562G06F2009/45595
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