Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A method and system for quickly importing a virtual machine image in an openstack environment

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

Active Publication Date: 2022-04-12
SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
View PDF7 Cites 0 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 problem of how to reduce the transmission of image content, shorten the upload time, and increase the success rate of image import without occupying management network traffic.

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
  • A method and system for quickly importing a virtual machine image in an openstack environment
  • A method and system for quickly importing a virtual machine image in an openstack environment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0044] as attached figure 2 As shown, the method for quickly importing virtual machine images in the OpenStack environment of the present invention 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 client of glance to supplement the metadata of the virtual machine image to database, and then check whether the mirroring status is normal, and then the mirroring service can be provided to the outside world; the specific steps are as follows:

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

[0046] S2. Write a chart file on the master node of kubernetes; the content of the chart file includes the uploaded image file, the image name of glance and the storage class of...

Embodiment 2

[0053] The system for quickly importing virtual machine images in the OpenStack environment of the present invention includes:

[0054] The upload node unit is used to select the upload node, label the upload node with glance-image-upload, and 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 storage selects a 10Gbps network port;

[0056] The kubernetes master node unit is used to write a chart file. The content of the chart file includes 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, the configuration file of the corresponding ceph cluster is found according to the defined storage class. The configuration file is p...

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 system for quickly importing a virtual machine image in an OpenStack environment, belonging to the technical field of cloud computing. The technical problem to be solved by the invention is how to reduce the transmission link of the image content, shorten the upload time, and at the same time not occupy the management network traffic. To improve the success rate of image import, the technical solution adopted is: the method is to use the rbd client of the ceph cluster to import the virtual machine image into the ceph mirror 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, and if it is normal, the mirroring service can be provided externally. The system includes an upload node unit, a storage node unit, a kubernetes master 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 rapidly importing virtual machine images in an OpenStack environment. Background technique [0002] In the field of cloud computing, OpenStack has become the standard for private cloud construction, and its core components such as glance have a high degree. In the 2019 user survey of OpenStack, the adoption rate of glance in the production environment was 89%. In the field of distributed storage, Ceph has become an industry benchmark, 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 the production environments, including nova, cinder, manila, and glance. Components such as nova, cinder, manila, and glance can use Ceph. Glance uses Ceph's block storage as the storage backend of images. [0003] OpenStack use...

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/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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products