CN106598653A - Method and device used for solving boot storm of virtual machine - Google Patents

Method and device used for solving boot storm of virtual machine Download PDF

Info

Publication number
CN106598653A
CN106598653A CN201611060044.9A CN201611060044A CN106598653A CN 106598653 A CN106598653 A CN 106598653A CN 201611060044 A CN201611060044 A CN 201611060044A CN 106598653 A CN106598653 A CN 106598653A
Authority
CN
China
Prior art keywords
virtual machine
ram disk
foundation image
image file
launched
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611060044.9A
Other languages
Chinese (zh)
Inventor
史日辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hefei Branch Cloud Nest Technology Co Ltd
Original Assignee
Hefei Branch Cloud Nest Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hefei Branch Cloud Nest Technology Co Ltd filed Critical Hefei Branch Cloud Nest Technology Co Ltd
Priority to CN201611060044.9A priority Critical patent/CN106598653A/en
Publication of CN106598653A publication Critical patent/CN106598653A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45562Creating, deleting, cloning virtual machine instances

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Stored Programmes (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention relates to a method and device used for solving boot storm of a virtual machine. The method comprises following steps: determining whether basic mirror image documents of a to-be-started virtual machine are present or not in a memory disk when receiving a starting request of the virtual machine; utilizing the basic mirror image documents to start the to-be-started virtual machine if so; copying the basic mirror image documents of the to-be-started virtual machine into the memory disk otherwise and utilizing the basic mirror image documents of the to-be-started virtual machine in the memory disk to start the to-be-started virtual machine; and mounting an internal memory to internal space of a local operation system after the memory disk is started by the local operation system. The method and device used for solving boot storm of the virtual machine have following beneficial effects: the basic mirror image documents corresponding to the memory disk are utilized to start the virtual machine; the memory disk is the internal space which is mounted into the local operation system by the internal memory; operation speed of the memory disk is fairly higher than that of a disk; the memory disk is capable of dealing with a deluge of reading operation; and even if many users start the virtual machine, the occurrence of boot storm can be avoided.

Description

For solving the method and apparatus that virtual machine starts storm
Technical field
The present invention relates to virtual machine technique field, more particularly, to it is a kind of for solve virtual machine start storm method and Device.
Background technology
With the high speed development of cloud computing technology, desktop cloud application is gradually adopted by government, various enterprises.For table Face cloud application, maximum problem of management are exactly, when input/output number of times is stored in peak, to ensure that system is steadily transported OK.However, in many users simultaneously activation system and during loading application programs, operating system and application program are required in disk On carry out the read operations of many, take many resources, if these operations are multiplied by hundreds of desktop that user is starting again If, the input/output number of times that can be produced can allow a storage array to paralyse quickly, that is, cause to start storm.Start Storm easily will not disappear, and would generally produce significant impact to systematic function, and its impact can continue 30 minutes, or even Two hours.
But, for the startup storm problem that desktop cloud faces, unspecial solution at present.Prior art is big Reduce as far as possible starting the impact that storm brings more by changing the high storage handled up, but can not fundamentally solve startup Storm problem.
The content of the invention
For disadvantages described above, the present invention provides a kind of for solving the method and apparatus that virtual machine starts storm, can keep away Exempt to start the generation of storm.
In a first aspect, the method for starting storm provided by the present invention for solving virtual machine includes:
When virtual machine startup request is received, in judging ram disk, whether there is the foundation image text of virtual machine to be launched Part;
If so, then utilize to be launched virtual described in the foundation image file start of virtual machine to be launched in the ram disk Machine;
Otherwise, by the foundation image file copy of the virtual machine to be launched in the ram disk, using the internal memory Virtual machine to be launched described in the foundation image file start of virtual machine to be launched in disk;
Wherein, the ram disk is, after native operating sys-tern starts, will to be mounted to native operating sys-tern in built-in storage Memory headroom.
Optionally, methods described also includes:
When virtual machine creating request is received, in judging ram disk, whether there is the foundation image text of virtual machine to be created Part;
If so, then utilize to be created virtual described in the foundation image document creation of virtual machine to be created in the ram disk Machine;
Otherwise, by the foundation image file copy of the virtual machine to be created in the ram disk, using the internal memory Virtual machine to be created described in the foundation image document creation of virtual machine to be created in disk.
Optionally, the native operating sys-tern startup after, by the memory headroom be mounted to native operating sys-tern it Before, methods described also includes:The memory mirror memory space for pre-setting is read in the configuration file of Virtual Machine Manager module Size;
Corresponding, the size of the ram disk is matched with the memory mirror storage size.
Optionally, after native operating sys-tern startup, read in the configuration file of the Virtual Machine Manager module Before the memory mirror storage size, methods described also includes:
The status information of memory mirror switch is obtained in the configuration file of the Virtual Machine Manager module, and described interior Deposit mirror image switch in open mode when, execution read the memory mirror in the configuration file of the Virtual Machine Manager module The operation of storage size.
Optionally, methods described also includes:
The foundation image file of the foundation image file of the virtual machine to be created or the virtual machine to be launched is being copied While shellfish is in the ram disk, by the foundation image file copy of correspondence virtual machine in locally stored catalogue;
When the native operating sys-tern starts, the foundation image file copy stored in the locally stored catalogue is arrived In the ram disk.
Optionally, methods described also includes:
The ram disk and the locally stored catalogue are scanned according to predetermined period, with judge the ram disk and With the presence or absence of the foundation image file do not quoted by virtual machine in the predetermined period in the locally stored catalogue;
If exist, by the ram disk and the locally stored catalogue in the predetermined period not by virtual power traction Foundation image file is removed.
Second aspect, the device for starting storm provided by the present invention for solving virtual machine include:
First judge module, for when virtual machine startup request is received, judging in ram disk with the presence or absence of to be launched The foundation image file of virtual machine;
First starting module, for first judge module judged result to be when, using treating in the ram disk Start virtual machine to be launched described in the foundation image file start of virtual machine;
Second starting module, for the judged result in first judge module for it is no when, will it is described it is to be launched virtually The foundation image file copy of machine in the ram disk, using the foundation image file of virtual machine to be launched in the ram disk Start the virtual machine to be launched;
Wherein, the ram disk is, after native operating sys-tern starts, will to be mounted to native operating sys-tern in built-in storage Memory headroom.
Optionally, described device also includes:
Second judge module, for when virtual machine creating request is received, judging in ram disk with the presence or absence of to be created The foundation image file of virtual machine;
First creation module, for when the judged result of second judge module is to be, using in the ram disk Virtual machine to be created described in the foundation image document creation of virtual machine to be created;
Second creation module, for the judged result in second judge module for it is no when, will it is described it is to be created virtually The foundation image file copy of machine in the ram disk, using the foundation image file of virtual machine to be created in the ram disk Create the virtual machine to be created.
Optionally, second starting module is additionally operable to:By the foundation image file copy of the virtual machine to be launched While in the ram disk, by the foundation image file copy of correspondence virtual machine in locally stored catalogue;Or, it is described Second creation module is additionally operable to:Will be the foundation image file copy of the virtual machine to be created same in the ram disk When, by the foundation image file copy of correspondence virtual machine in locally stored catalogue;Corresponding, described device also includes:Replicate Module, for when the native operating sys-tern starts, the foundation image file copy that will be stored in the locally stored catalogue To in the ram disk.
Optionally, described device also includes:
Cleaning modul, for being scanned to the ram disk and the locally stored catalogue according to predetermined period, to sentence With the presence or absence of the basis do not quoted by virtual machine in the predetermined period in the ram disk and the locally stored catalogue of breaking Image file;If exist, by the ram disk and the locally stored catalogue in the predetermined period not by virtual machine The foundation image file of reference is removed.
Provided by the present invention for solving the method and apparatus that virtual machine starts storm, using corresponding basis in ram disk Image file starts virtual machine, and ram disk to be mounted to native operating sys-tern in built-in storage (i.e. usually said memory bar) In memory headroom, i.e., start virtual machine by the way of memory mirror, its speed of service far above disk the speed of service, can Simultaneously to process substantial amounts of read operation, even if having many consumers while carry out the startup of virtual machine, will not also make storage array sunken Enter paralysis, so as to avoid starting the generation of storm.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present disclosure or technical scheme of the prior art, below will be to embodiment or existing Accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this Disclosed some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these figures.
Fig. 1 is used for the schematic flow sheet for solving the method that virtual machine starts storm in showing one embodiment of the invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present disclosure, the technical scheme in the embodiment of the present disclosure is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than the embodiment of whole.It is based on Embodiment in the disclosure, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of disclosure protection.
In a first aspect, the present invention provides a kind of for solving the method that virtual machine starts storm, as shown in figure 1, the method Including:
When virtual machine startup request is received, in judging ram disk, whether there is the foundation image text of virtual machine to be launched Part;
If so, then utilize to be launched virtual described in the foundation image file start of virtual machine to be launched in the ram disk Machine;
Otherwise, by the foundation image file copy of the virtual machine to be launched in the ram disk, using the internal memory Virtual machine to be launched described in the foundation image file start of virtual machine to be launched in disk;
Wherein, the ram disk is, after native operating sys-tern starts, will to be mounted to native operating sys-tern in built-in storage Memory headroom.
It will be appreciated that ram disk is after native operating sys-tern starts, local operation system will be mounted in built-in storage The memory headroom of system, that is to say, that after native operating sys-tern starts, can be by a part of memory headroom carry in built-in storage To on native operating sys-tern, use as ram disk.
Start provided by the present invention for solving virtual machine in the method for storm, using corresponding foundation image in ram disk File start virtual machine, and ram disk be built-in storage (i.e. usually said memory bar) in be mounted in native operating sys-tern Memory headroom, i.e., start virtual machine by the way of memory mirror, the speed of service of its speed of service far above disk, Ke Yitong When process substantial amounts of read operation, even if having many consumers while carry out the startup of virtual machine, make multiple stage virtual machine complete within the several seconds Portion's startup is completed, without making storage array paralyse, so as to avoid starting the generation of storm.
In the specific implementation, the memory headroom of built-in storage can be mounted in the way of memory file system is ramfs In native operating sys-tern, in the form of catalogue, it is supplied to Virtual Machine Manager module to use, so can be with by the way of soft link Access, change corresponding directory permission.
Before virtual machine starts, need to create virtual machine.After virtual machine creating, the startup of virtual machine is only Journey.The establishment of virtual machine can adopt creation method of the prior art, naturally it is also possible to adopt following establishment side with reference to Fig. 1 Method:
When virtual machine creating request is received, in judging ram disk, whether there is the foundation image text of virtual machine to be created Part;
If so, then utilize to be created virtual described in the foundation image document creation of virtual machine to be created in the ram disk Machine;
Otherwise, by the foundation image file copy of the virtual machine to be created in the ram disk, using the internal memory Virtual machine to be created described in the foundation image document creation of virtual machine to be created in disk;
Wherein, the ram disk is, after native operating sys-tern starts, will to be mounted to native operating sys-tern in built-in storage Memory headroom.
Using corresponding foundation image document creation virtual machine in ram disk in said method, and ram disk is built-in storage In be mounted to memory headroom in native operating sys-tern, its speed of service can be processed simultaneously far above the speed of service of disk Substantial amounts of read operation, therefore many users can be made while carrying out the establishment of virtual machine, it is easy to follow-up virtual machine to start.
In the specific implementation, the size in order to allow ram disk voluntarily regulates and controls, as shown in figure 1, at described After ground os starting, before the memory headroom is mounted to native operating sys-tern, provided by the present invention for solving Virtual machine starts the method for storm can also be included:The internal memory for pre-setting is read in the configuration file of Virtual Machine Manager module Mirrored storage space size.That is, setting internal memory in the configuration file of Virtual Machine Manager module in advance as needed The value of mirrored storage space size this parameter, after native operating sys-tern starts, that reads that configuration file pre-sets is interior Mirrored storage space size is deposited, and then correspondingly sized memory headroom is distributed in built-in storage, then by the portion of distribution Memory headroom is divided to be mounted in the catalogue of native operating sys-tern, so that Virtual Machine Manager module is used, so as to realize ram disk Size voluntarily can regulate and control.
In some scenarios, for example, as long as when little user starts virtual machine simultaneously, being to produce startup storm , in this case, it is to start virtual machine by the way of memory mirror, existing startup method can meet will Ask.As shown in figure 1, this demand is based on, after the native operating sys-tern starts, in the configuration of the Virtual Machine Manager module Before the memory mirror storage size is read in file, start the side of storm provided by the present invention for solving virtual machine Method can also include:The status information of acquisition memory mirror switch in the configuration file of the Virtual Machine Manager module, and When the memory mirror switch is in open mode, execution is read in described in the configuration file of the Virtual Machine Manager module Deposit the operation of mirrored storage space size.That is, the configuration file in the Virtual Machine Manager module arranges an internal memory Mirror image switch, the status information of pre-configured memory mirror switch, then after native operating sys-tern startup, first reads The status information of memory mirror switch, sees that memory mirror switch, whether in open mode, is only in memory mirror switch During open mode, memory mirror storage size, and then the size of storage allocation reservoir are just read, by the memory headroom of distribution It is mounted in native operating sys-tern, starts virtual machine using the mode of memory mirror.And work as memory mirror switch in closing shape During state, virtual machine is started using the existing startup method of acquiescence.
Here by the mode for arranging memory mirror switch, it is possible to use family selects different virtual machines to open as needed Flowing mode so that the startup of virtual machine is more flexible.
In the specific implementation, the method for starting storm provided by the present invention for solving virtual machine can also include backup Process, as shown in figure 1, being specially:By the foundation image file of the virtual machine to be created or the virtual machine to be launched While foundation image file copy is in the ram disk, by the foundation image file copy of correspondence virtual machine to locally stored In catalogue;When the native operating sys-tern starts, the foundation image file copy stored in the locally stored catalogue is arrived In the ram disk.That is, after native operating sys-tern starts, the foundation image text stored in the locally stored catalogue Part voluntarily can be copied in the ram disk.
As built-in storage is a kind of temporary memory device, after system reboot, the data stored in built-in storage will Disappear, that is to say, that the foundation image file on ram disk can disappear after native operating sys-tern starts.Here adopt and locally deposit The mode of storage catalogue backup can recover the recovery of the foundation image file in ram disk, with solving to cause after system reboot Deposit the problem of mirror image loss.
In the specific implementation, the method for starting storm provided by the present invention for solving virtual machine can also include:According to Predetermined period is scanned to the ram disk and the locally stored catalogue, to judge the ram disk and described locally stored With the presence or absence of the foundation image file do not quoted by virtual machine in the predetermined period in catalogue;If existing, will be described interior The foundation image file do not quoted by virtual machine in the predetermined period in deposit and the locally stored catalogue is removed.When So, if there is no the foundation image file do not quoted by virtual machine, then safeguard between virtual machine and foundation image file Adduction relationship.
Here periodic cleaning is carried out to ram disk and locally stored catalogue, built-in storage and locally stored catalogue can be saved Space.The memory size for being additionally, since built-in storage is typically small, therefore the size of ram disk is also smaller, regularly clearly Reason can ensure that the speed of service of ram disk.
Second aspect, the present invention also provide a kind of device for starting storm for solving virtual machine, and the device includes:
First judge module, for when virtual machine startup request is received, judging in ram disk with the presence or absence of to be launched The foundation image file of virtual machine;
First starting module, for first judge module judged result to be when, using treating in the ram disk Start virtual machine to be launched described in the foundation image file start of virtual machine;
Second starting module, for the judged result in first judge module for it is no when, will it is described it is to be launched virtually The foundation image file copy of machine in the ram disk, using the foundation image file of virtual machine to be launched in the ram disk Start the virtual machine to be launched;
Wherein, the ram disk is, after native operating sys-tern starts, will to be mounted to native operating sys-tern in built-in storage Memory headroom.
Optionally, described device also includes:
Second judge module, for when virtual machine creating request is received, judging in ram disk with the presence or absence of to be created The foundation image file of virtual machine;
First creation module, for when the judged result of second judge module is to be, using in the ram disk Virtual machine to be created described in the foundation image document creation of virtual machine to be created;
Second creation module, for the judged result in second judge module for it is no when, will it is described it is to be created virtually The foundation image file copy of machine in the ram disk, using the foundation image file of virtual machine to be created in the ram disk Create the virtual machine to be created.
Optionally, second starting module is additionally operable to:By the foundation image file copy of the virtual machine to be launched While in the ram disk, by the foundation image file copy of correspondence virtual machine in locally stored catalogue;Or, it is described Second creation module is additionally operable to:Will be the foundation image file copy of the virtual machine to be created same in the ram disk When, by the foundation image file copy of correspondence virtual machine in locally stored catalogue;Corresponding, described device also includes:Replicate Module, for when the native operating sys-tern starts, the foundation image file copy that will be stored in the locally stored catalogue To in the ram disk.
Optionally, described device also includes:
Cleaning modul, for being scanned to the ram disk and the locally stored catalogue according to predetermined period, to sentence With the presence or absence of the basis do not quoted by virtual machine in the predetermined period in the ram disk and the locally stored catalogue of breaking Image file;If exist, by the ram disk and the locally stored catalogue in the predetermined period not by virtual machine The foundation image file of reference is removed.
It will be appreciated that the device for starting storm for solving virtual machine that second aspect present invention is provided is the present invention the On the one hand provide for solving the function structure module that virtual machine starts the method for storm, its content be it is corresponding, for example, The device for starting storm provided by the present invention for solving virtual machine can also include:
Initialization module, for after native operating sys-tern starts, by a part of memory headroom carry in built-in storage To on native operating sys-tern;Certainly, if the configuration file of Virtual Machine Manager module is configured with memory mirror storage size If, before carry, can be empty so that the memory mirror for pre-setting storage is read in the configuration file of Virtual Machine Manager module Between size, memory headroom corresponding with memory mirror storage size in built-in storage is mounted to into native operating sys-tern In;Certainly, if being configured with memory mirror switch in the configuration file of Virtual Machine Manager module, deposit memory mirror is read Before storage space size, can be believed with the state that memory mirror switch is obtained in the configuration file of the Virtual Machine Manager module Breath, only when memory mirror switch is in open mode, just performs and reads in the configuration file of the Virtual Machine Manager module Take the operation of the memory mirror storage size.
The contents such as explanation certain, for other guide, explanation, optional embodiment, beneficial effect may be referred to this Appropriate section in bright first aspect, will not be described here.
In the description of the present invention, a large amount of details are illustrated.It is to be appreciated, however, that embodiments of the invention can be with Put into practice in the case where there is no these details.In some instances, known method, structure and skill is not been shown in detail Art, so as not to obscure the understanding of this description.
Above example only to illustrate technical scheme, rather than a limitation;Although with reference to the foregoing embodiments The present invention has been described in detail, it will be understood by those within the art that;Which still can be to aforementioned each enforcement Technical scheme described in example is modified, or carries out equivalent to which part technical characteristic;And these modification or Replace, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (10)

1. it is a kind of for solve virtual machine start storm method, it is characterised in that include:
When virtual machine startup request is received, in judging ram disk, whether there is the foundation image file of virtual machine to be launched;
If so, then utilize virtual machine to be launched described in the foundation image file start of virtual machine to be launched in the ram disk;
Otherwise, by the foundation image file copy of the virtual machine to be launched in the ram disk, using in the ram disk Virtual machine to be launched described in the foundation image file start of virtual machine to be launched;
Wherein, the ram disk is, after native operating sys-tern starts, will to be mounted in native operating sys-tern in built-in storage Deposit space.
2. method according to claim 1, it is characterised in that also include:
When virtual machine creating request is received, in judging ram disk, whether there is the foundation image file of virtual machine to be created;
If so, then utilize virtual machine to be created described in the foundation image document creation of virtual machine to be created in the ram disk;
Otherwise, by the foundation image file copy of the virtual machine to be created in the ram disk, using in the ram disk Virtual machine to be created described in the foundation image document creation of virtual machine to be created.
3. method according to claim 1 and 2, it is characterised in that after the native operating sys-tern starts, will be described Before memory headroom is mounted to native operating sys-tern, methods described also includes:Read in the configuration file of Virtual Machine Manager module Take the memory mirror storage size for pre-setting;
Corresponding, the size of the ram disk is matched with the memory mirror storage size.
4. method according to claim 1 and 2, it is characterised in that after the native operating sys-tern starts, in the void Before the memory mirror storage size is read in the configuration file of plan machine management module, methods described also includes:
The status information of memory mirror switch is obtained in the configuration file of the Virtual Machine Manager module, and in the internal memory mirror When being in open mode as switch, the memory mirror storage is read in execution in the configuration file of the Virtual Machine Manager module The operation of space size.
5. method according to claim 2, it is characterised in that also include:
The foundation image file copy of the foundation image file of the virtual machine to be created or the virtual machine to be launched is arrived While in the ram disk, by the foundation image file copy of correspondence virtual machine in locally stored catalogue;
When the native operating sys-tern starts, by the foundation image file copy stored in the locally stored catalogue to described In ram disk.
6. method according to claim 5, it is characterised in that also include:
The ram disk and the locally stored catalogue are scanned according to predetermined period, to judge the ram disk and described With the presence or absence of the foundation image file do not quoted by virtual machine in the predetermined period in locally stored catalogue;
If existing, by what is do not quoted by virtual machine in the predetermined period in the ram disk and the locally stored catalogue Foundation image file is removed.
7. it is a kind of for solve virtual machine start storm device, it is characterised in that include:
First judge module, for when virtual machine startup request is received, judging in ram disk with the presence or absence of to be launched virtual The foundation image file of machine;
First starting module, for first judge module judged result for be when, using to be launched in the ram disk Virtual machine to be launched described in the foundation image file start of virtual machine;
Second starting module, for the judged result in first judge module for it is no when, by the virtual machine to be launched Foundation image file copy in the ram disk, using the foundation image file start of virtual machine to be launched in the ram disk The virtual machine to be launched;
Wherein, the ram disk is, after native operating sys-tern starts, will to be mounted in native operating sys-tern in built-in storage Deposit space.
8. device according to claim 7, it is characterised in that also include:
Second judge module, for when virtual machine creating request is received, judging in ram disk with the presence or absence of to be created virtual The foundation image file of machine;
First creation module, for when the judged result of second judge module is to be, using waiting to create in the ram disk Build virtual machine to be created described in the foundation image document creation of virtual machine;
Second creation module, for the judged result in second judge module for it is no when, by the virtual machine to be created Foundation image file copy in the ram disk, using the foundation image document creation of virtual machine to be created in the ram disk The virtual machine to be created.
9. device according to claim 8, it is characterised in that
Second starting module is additionally operable to:By the foundation image file copy of the virtual machine to be launched to the ram disk While middle, by the foundation image file copy of correspondence virtual machine in locally stored catalogue;Or, second creation module It is additionally operable to:While by the foundation image file copy of the virtual machine to be created in the ram disk, will be correspondence virtual The foundation image file copy of machine is in locally stored catalogue;
Corresponding, described device also includes:Replication module, for when the native operating sys-tern starts, locally depositing described The foundation image file copy stored in storage catalogue is in the ram disk.
10. device according to claim 9, it is characterised in that also include:
Cleaning modul, for being scanned to the ram disk and the locally stored catalogue according to predetermined period, to judge State in ram disk and the locally stored catalogue with the presence or absence of the foundation image do not quoted by virtual machine in the predetermined period File;If existing, will not quoted by virtual machine in the predetermined period in the ram disk and the locally stored catalogue Foundation image file remove.
CN201611060044.9A 2016-11-24 2016-11-24 Method and device used for solving boot storm of virtual machine Pending CN106598653A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611060044.9A CN106598653A (en) 2016-11-24 2016-11-24 Method and device used for solving boot storm of virtual machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611060044.9A CN106598653A (en) 2016-11-24 2016-11-24 Method and device used for solving boot storm of virtual machine

Publications (1)

Publication Number Publication Date
CN106598653A true CN106598653A (en) 2017-04-26

Family

ID=58594269

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611060044.9A Pending CN106598653A (en) 2016-11-24 2016-11-24 Method and device used for solving boot storm of virtual machine

Country Status (1)

Country Link
CN (1) CN106598653A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107329802A (en) * 2017-06-30 2017-11-07 联想(北京)有限公司 A kind of virtual machine creation method and electronic equipment
CN107463402A (en) * 2017-07-31 2017-12-12 腾讯科技(深圳)有限公司 The operation method and device of virtual opetrating system
CN108874459A (en) * 2017-05-10 2018-11-23 华为机器有限公司 Quick start method and device based on virtualization technology
CN110147266A (en) * 2019-04-29 2019-08-20 腾讯科技(深圳)有限公司 Virtual machine starts method and apparatus, storage medium and electronic device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105718280A (en) * 2015-06-24 2016-06-29 乐视云计算有限公司 Method and management platform for accelerating IO of virtual machine
CN105844165A (en) * 2015-01-13 2016-08-10 张维加 Method and device for achieving calculation virtualization by using four layers of structures

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105844165A (en) * 2015-01-13 2016-08-10 张维加 Method and device for achieving calculation virtualization by using four layers of structures
CN105718280A (en) * 2015-06-24 2016-06-29 乐视云计算有限公司 Method and management platform for accelerating IO of virtual machine

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108874459A (en) * 2017-05-10 2018-11-23 华为机器有限公司 Quick start method and device based on virtualization technology
CN107329802A (en) * 2017-06-30 2017-11-07 联想(北京)有限公司 A kind of virtual machine creation method and electronic equipment
CN107329802B (en) * 2017-06-30 2020-08-25 联想(北京)有限公司 Virtual machine creating method and electronic equipment
CN107463402A (en) * 2017-07-31 2017-12-12 腾讯科技(深圳)有限公司 The operation method and device of virtual opetrating system
CN107463402B (en) * 2017-07-31 2018-09-14 腾讯科技(深圳)有限公司 The operation method and device of virtual opetrating system
CN110147266A (en) * 2019-04-29 2019-08-20 腾讯科技(深圳)有限公司 Virtual machine starts method and apparatus, storage medium and electronic device
CN110147266B (en) * 2019-04-29 2024-03-15 腾讯科技(深圳)有限公司 Virtual machine starting method and device, storage medium and electronic device

Similar Documents

Publication Publication Date Title
CN106598653A (en) Method and device used for solving boot storm of virtual machine
US8407182B1 (en) Systems and methods for facilitating long-distance live migrations of virtual machines
CN104468521B (en) Online moving method, device and system
JP6186374B2 (en) System and method for secure migration to a virtualized platform
CN111201763B (en) Security based on file system content
JP2009116859A (en) System for and method of migrating one or more virtual machines
CN106469117B (en) Storage resource management method and device for virtual machine storage migration
CN105183516A (en) Method for automatically installing RAID card FW and KUX operating system
CN106569876A (en) Direct device visiting model-based virtual machine migrating method and apparatus
CN100456255C (en) Device and method for fetching snapshot data
CN105573913B (en) Program debugging method and system in a kind of ONU systems
CN107329806A (en) A kind of development environment construction method and device
CN110908730A (en) Cloud platform configuration file management method and management system
CN103984621B (en) log separation method and system
CN106569863A (en) Android app resource updating and repairing method based on resource and code modularization
CN102414658B (en) Capturing and loading operating system states
CN107273246A (en) A kind of server system backup method and device
CN107402839A (en) A kind of method and system of Backup Data
CN107783826B (en) Virtual machine migration method, device and system
CN107357682A (en) A kind of method and device for recovering to go back original system
CN103425550B (en) A kind of system cloning process and device
CN108021408B (en) Upgrading method and device
CN104484231A (en) Virtual machine switching system and method
CN110688259B (en) Private cloud backup recovery system and backup recovery method thereof
CA2946565A1 (en) System and method for consolidating and performing data management for a personal computing device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170426

RJ01 Rejection of invention patent application after publication