Unlock instant, AI-driven research and patent intelligence for your innovation.

Virtual machine cloning method and device and computer readable storage medium

A cloning method and technology for virtual machines, applied in the field of cloning, can solve problems such as affecting the performance and business of the original virtual machine, occupying large disk IO, and not being suitable for virtual machines, so as to avoid the impact of business and performance and improve the cloning speed.

Pending Publication Date: 2020-05-15
SANGFOR TECH INC
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, in order to clone the original virtual machine, the original image file of the original virtual machine needs to be copied. This process often takes up a lot of space and a lot of disk IO, which in turn affects the performance and business of the original virtual machine. Not applicable to scenarios that require a large number of cloned virtual machines

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 cloning method and device and computer readable storage medium
  • Virtual machine cloning method and device and computer readable storage medium
  • Virtual machine cloning method and device and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0066] The embodiment of the present invention proposes a virtual machine cloning method, image 3 Schematic diagram of the implementation process of the virtual machine cloning method Figure 1 ,Such as image 3 As shown, in an embodiment of the present invention, the method for cloning a virtual machine by a virtual machine cloning device may include the following steps:

[0067] Step 101: Determine the original directory corresponding to the original virtual machine, and perform linked cloning on the original image file of the original virtual machine through the ROW snapshot in the original directory to obtain the target image file.

[0068] In the embodiment of the present application, the virtual machine cloning device can first determine the original directory corresponding to the original virtual machine, and then link and clone the original image file of the original virtual machine under the original target, so as to obtain the corresponding target image file . Sp...

Embodiment 2

[0104] Based on the first embodiment above, in another embodiment of the present application, Figure 10 Schematic diagram of the implementation process of the virtual machine cloning method Figure five ,Such as Figure 10 As shown, the cloning device of the virtual machine performs a ROW snapshot on an original image file in the original directory, and the method for obtaining a target image file corresponding to the original image file may include the following steps:

[0105] Step 201 , take a ROW snapshot of an original image file, and obtain a first snapshot file and a read-only file corresponding to the original image file; wherein, the first snapshot file is used for reading and writing processing of the original virtual machine.

[0106] In the embodiment of the present application, the virtual machine cloning device may first perform a ROW snapshot on an original image file in the original directory, so as to obtain a snapshot file, that is, obtain a first snapshot ...

Embodiment 3

[0120] Based on the first and second embodiments above, in another embodiment of the present application, Figure 12 Schematic diagram of the implementation process of the virtual machine cloning method Figure six ,Such as Figure 12 As shown, the method for cloning a virtual machine by a virtual machine cloning device may include the following steps:

[0121] Step 301 , taking a ROW snapshot of an original image file in the original directory to obtain a corresponding target image file.

[0122] In the embodiment of the present application, the virtual machine cloning device may perform linked cloning on the original image file of the original virtual machine under the original target corresponding to the original virtual machine to obtain the corresponding target image file. Specifically, the virtual machine cloning device may first perform a ROW snapshot of an original image file in the original directory, so as to obtain a target image file corresponding to the original...

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 embodiment of the invention discloses a virtual machine cloning method and device and a computer readable storage medium, and the virtual machine cloning method comprises the steps: determining anoriginal directory corresponding to an original virtual machine, and carrying out the link cloning of an original mirror image file of the original virtual machine through an ROW snapshot under the original directory to obtain a target mirror image file; reading an original configuration file of the original virtual machine from the original directory, and updating the original configuration fileto obtain a target configuration file; generating a target virtual machine corresponding to the original virtual machine based on the target mirror image file and the target configuration file; wherein the target virtual machine is a new virtual machine obtained after the original virtual machine is cloned.

Description

technical field [0001] The present invention relates to the technical field of virtual machines, in particular to a virtual machine cloning method and device, and a computer-readable storage medium. Background technique [0002] Virtualization technology can run multiple operating systems on a computer, and each system runs its own independent application software. With the rapid development and application of virtualization technology, virtual machines have gradually replaced physical machines as the supporting environment for the operation of key business systems of enterprises. In order to expand the supporting capacity of the original business system, it is necessary to clone the original virtual machine to obtain a corresponding new virtual machine. [0003] Cloning a virtual machine refers to a complete copy of a virtual machine. The external parameters of the cloned virtual machine and the data in the internal operating system are consistent with the original virtual...

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/455
CPCG06F9/45558G06F2009/45562
Inventor 聂璐安宇新洪家楠彭聪
Owner SANGFOR TECH INC