Virtual machine template mirror image storage method based on fusion architecture cloud platform

A virtual machine template and image storage technology, applied in software simulation/interpretation/simulation, data processing input/output process, program control design, etc. The effect of template access speed, shortening IO path, and improving reading performance

CN112363671AActive Publication Date: 2021-02-12CHINA ELECTRONICS TECH CYBER SECURITY CO LTD
10 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
Publication Date
2021-02-12

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention relates to the field of cloud computing virtual machine template storage, and discloses a virtual machine template mirror image storage method based on a fusion architecture cloud platform, which comprises the following steps: adding SSD hard disks at all node hard disks, and storing template mirror images into the SSD hard disks when the template mirror images are stored; and if theSSD hard disk is not added at the node hard disk of the cloud platform, storing a mirror image template copy at each node hard disk when the template mirror image is stored. According to the virtualmachine template storage method provided by the invention, the template data is scheduled and stored in the SSD hard disk, so that the template access speed is increased; meanwhile, the template is stored in each node, the data reading pressure of a single template is reduced, the virtual machine of the node can directly read the template mirror image data of the machine, cross-node reading is notneeded, the IO path is shortened, the reading efficiency is improved, and the startup storm of the virtual machine is effectively relieved.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the field of cloud computing virtual machine template storage, in particular to a virtual machine template image storage method based on a fusion architecture cloud platform. Background technique

[0002] With the advent of the cloud computing era, the use of virtualization technology is inevitable. Virtualization technology enables the abstraction of originally fixed and difficult-to-scale physical resources into configurable virtual resources using software. This flexible approach also breaks the original physical boundaries, and the computing resources and storage resources required by virtual machines are distributed in different physical nodes. In a virtualization environment, there are two ways to clone a virtual machine, template linked clone and full clone. The linked clone virtual machine depends on the original template, and the new virtual machine image will only write new data, while the full clone Cloning will co...

Examples

Embodiment Construction

[0030] The present invention will be further described below in conjunction with the accompanying drawings.

[0031] An embodiment of the present invention provides a virtual machine template image storage method based on a converged architecture cloud platform, such as figure 1 shown, including:

[0032] S1: Add an SSD hard disk to the node hard disk of the cloud platform, and store the template image into the SSD hard disk when storing the template image;

[0033] S2: If no SSD hard disk is added to the node hard disk of the cloud platform, when storing the template image, an image template is stored on each node hard disk.

[0034] Specifically, see figure 2 , in the step S1, the template image storage step after the SSD hard disk is added includes:

[0035] Create a template image, and calculate the hash value of the template image;

[0036] comparing the hash value of the template image to the hash value range of the node hard disk to determine the storage location o...