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

Virtual machine disk mirror image manufacturing method and device, computer equipment and storage medium

A technology of a virtual machine disk and a production method, which is applied in the direction of program control device, software simulation/interpretation/simulation, etc., and can solve problems such as inability to start a virtual machine, blue screen of a virtual machine, etc.

Pending Publication Date: 2022-04-12
深圳威科软件科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present invention provides a virtual machine disk image production method, device, computer equipment, and storage medium to solve the problem that the current virtual machine management software cannot start the virtual machine when making the disk image, or a blue screen occurs when the virtual machine is started. problem, ensuring the safety and integrity of the disk image made

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 disk mirror image manufacturing method and device, computer equipment and storage medium
  • Virtual machine disk mirror image manufacturing method and device, computer equipment and storage medium
  • Virtual machine disk mirror image manufacturing method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0037] figure 1 It is a flowchart of a method for creating a virtual machine disk image provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of creating disk images for batch startup of virtual machines, and the method can be executed by the device for creating virtual machine disk images provided by the embodiment of the present invention, which can be implemented by means of hardware and / or software Realization, generally can be integrated in computer equipment. Such as figure 1 As shown, it specifically includes the following steps:

[0038] S11. Start a virtual machine instance, and pass a command line parameter to the virtual machine instance, so that the virtual machine instance will not exit when the virtual machine is shut down.

[0039] S12. Send a system shutdown instruction to the console of the virtual machine, so as to control the virtual machine to shut down.

[0040] S13. Determine whether the virtual machine is i...

Embodiment 2

[0049] figure 2 A schematic diagram of the structure of the virtual machine disk image creation device provided by Embodiment 2 of the present invention. The device can be implemented by hardware and / or software, and can generally be integrated into a computer device to execute the provided by any embodiment of the present invention. How to make a virtual machine disk image. Such as figure 2 As shown, the device includes:

[0050] The parameter transfer module 21 is used to start a virtual machine instance, and transfer command line parameters to the virtual machine instance, so that when the virtual machine is shut down, the virtual machine instance will not exit;

[0051] Control the shutdown module 22, configured to send a system shutdown command to the virtual machine console to control the virtual machine to shut down;

[0052] The image file generation module 23 is used to determine whether the virtual machine is closed, if so, then send a snapshot synchronization c...

Embodiment 3

[0068] image 3 The schematic structural diagram of the computer device provided for the third embodiment of the present invention shows a block diagram of an exemplary computer device suitable for implementing the embodiment of the present invention. image 3 The computer equipment shown is only an example, and should not bring any limitation to the functions and scope of use of the embodiments of the present invention. Such as image 3 As shown, the computer equipment includes a processor 31, a memory 32, an input device 33 and an output device 34; the number of processors 31 in the computer equipment can be one or more, image 3 Taking a processor 31 as an example, the processor 31, memory 32, input device 33 and output device 34 in the computer equipment can be connected by bus or other methods, image 3 Take connection via bus as an example.

[0069] The memory 32, as a computer-readable storage medium, can be used to store software programs, computer-executable progra...

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 disk mirror image manufacturing method and device, computer equipment and a storage medium. The method comprises the steps that a virtual machine instance is started, and command line parameters are transmitted to the virtual machine instance, so that when the virtual machine is shut down, the virtual machine instance does not exit; a system shutdown instruction is sent to the virtual machine console to control the virtual machine to be shut down; whether the virtual machine is in a closed state or not is determined, and if yes, a snapshot synchronization instruction is sent to a virtual machine console to obtain a mirror image file of the virtual machine; and calling a mirror image creation command of the disk management tool, and creating a final disk mirror image according to the mirror image file. According to the method, the problem that the virtual machine cannot be started or a blue screen appears when the virtual machine is started when the disk mirror image is manufactured by the existing virtual machine management software is solved, the safety and the integrity of the manufactured disk mirror image are ensured, and the problem that the disk mirror image cannot be started or the blue screen appears no matter how many levels of disk mirror images are manufactured is solved.

Description

technical field [0001] Embodiments of the present invention relate to the technical field of virtual machines, and in particular, to a method, device, computer equipment, and storage medium for making a virtual machine disk image. Background technique [0002] With the development of cloud computing, the scale of virtual machines managed by the cloud platform is getting larger and larger. In order to allow operation and maintenance personnel to conveniently start and manage these virtual machines, it is necessary to create a disk image (similar to a common CD) for Start virtual machines in batches to improve work efficiency and save costs. [0003] In this process, when the existing virtual machine management software creates a disk image, due to the influence of the level of the disk image (there can be a parent-child inheritance relationship between the disk images), there will be a certain probability of incomplete and incomplete disk images. When the virtual machine is ...

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
Inventor 雷浪声李帅
Owner 深圳威科软件科技有限公司