Virtual machine starting method and device

A virtual machine and virtual disk technology, applied in the direction of program control device, software simulation/interpretation/simulation, program control design, etc., can solve problems such as slow virtual machine startup, virtual machine failure to start, and affect normal use of users, so as to avoid Start too slow, high efficiency effect

Active Publication Date: 2019-04-16
NEW H3C CLOUD TECH CO LTD
View PDF6 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If the storage system is not well designed to handle such an intensive input/output (I/O) load, it may eventually cause t

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 starting method and device
  • Virtual machine starting method and device
  • Virtual machine starting method and device

Examples

Experimental program
Comparison scheme
Effect test

example 1

[0098] Example 1: The virtual machines on the host computer include: VM1-VM400, a total of 400 virtual machines.

[0099] And the virtual machines VM1-VM100, VM201-VM300 are all created using the Windows 7 template win7templete; the virtual machines VM101-VM200, VM301-VM400 are all created using the Windows 10 template win10templete.

[0100] After determining the system templates of each virtual machine, the virtual machines can be divided into two categories based on the system templates of each virtual machine, one of which includes virtual machines VM1-VM100, VM201-VM300, and the corresponding system template is win7templet; The other category includes virtual machines VM101-VM200, VM301-VM400, and the corresponding system template is win10templete.

[0101] When the host machine monitors the trigger event generated by the virtual machine snapshot, it determines that the virtual machines corresponding to the trigger event generated by the virtual machine snapshot include: ...

example 2

[0135] Example 2: After the memory snapshot files of the virtual machines VM1-VM400 are generated based on the above-mentioned example 1, when a trigger event for batch startup of the virtual machines is detected, the following steps can be adopted to start the virtual machines VM1-VM400 in batches:

[0136] The virtual machine VM1 is started first; here, the virtual machine VM1 started first is randomly determined.

[0137] The host recognizes that the system template of the virtual machine VM1 is win7templete.

[0138] Since the virtual machine VM1 is started first, the base memory snapshot file of win7temple does not exist in the common memory area of ​​the host machine at this time, so the base memory snapshot file base1 of the virtual machine VM1 is loaded into the common memory area.

[0139] Copy base1 from the memory public area to the memory of the virtual machine VM1, and load the extended memory snapshot file extend1 of the virtual machine VM1 into the memory of VM1...

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 provides a virtual machine starting method and a device, and the method comprises the steps: monitoring a trigger event of batch starting of virtual machines; when triggering events of batch starting of the virtual machines occur, memory snapshot files corresponding to the multiple target virtual machines triggered and started by the triggering events are obtained;and starting the plurality of target virtual machines based on the memory snapshot files respectively corresponding to the plurality of target virtual machines. According to the embodiment of the invention, the virtual machine can be quickly started through the virtual machine memory snapshot file, the data volume of reading the data from the storage system in the batch starting process of the virtual machine is reduced, and the situation that the virtual desktop is started too slowly or even cannot be started due to resource limitation in the batch starting process is avoided.

Description

technical field [0001] The present disclosure relates to the technical field of virtual machines, and in particular, to a method and device for starting a virtual machine. Background technique [0002] Virtual Desktop Infrastructure (Virtual Desktop Infrastructure, VDI), also known as client virtualization or desktop virtualization, is a virtual machine running Microsoft Windows operating system Windows 7 or Windows 10 on a virtualized host machine in the data center. There are various application frontends for desktop virtualization. The user connects to the remote virtual desktop by using a protocol such as Remote Desktop Protocol (Remote Desktop Protocol, RDP) from the client device, so as to realize access to the remote virtual desktop. [0003] When a large number of virtual desktops are started at the same time in a short period of time, for example, from 9:00 a.m. to 5:00 p.m. every working day, multiple virtual machines running virtualized desktops will be started i...

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/455
CPCG06F9/4555G06F9/45558G06F2009/45583
Inventor 钟晋明
Owner NEW H3C CLOUD 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