CN108509252A - Virtual machine starter, method and host - Google Patents

Virtual machine starter, method and host Download PDF

Info

Publication number
CN108509252A
CN108509252A CN201810251730.7A CN201810251730A CN108509252A CN 108509252 A CN108509252 A CN 108509252A CN 201810251730 A CN201810251730 A CN 201810251730A CN 108509252 A CN108509252 A CN 108509252A
Authority
CN
China
Prior art keywords
virtual machine
virtual disk
virtual
target
disk file
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.)
Granted
Application number
CN201810251730.7A
Other languages
Chinese (zh)
Other versions
CN108509252B (en
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.)
New H3C Cloud Technologies Co Ltd
Original Assignee
New H3C Cloud Technologies 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 New H3C Cloud Technologies Co Ltd filed Critical New H3C Cloud Technologies Co Ltd
Priority to CN201810251730.7A priority Critical patent/CN108509252B/en
Publication of CN108509252A publication Critical patent/CN108509252A/en
Application granted granted Critical
Publication of CN108509252B publication Critical patent/CN108509252B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/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
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/062Securing storage systems
    • G06F3/0623Securing storage systems in relation to content
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/0643Management of files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0662Virtualisation aspects
    • G06F3/0664Virtualisation aspects at device level, e.g. emulation of a storage device or system
    • 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/45575Starting, stopping, suspending or resuming virtual machine instances
    • 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/45579I/O management, e.g. providing access to device drivers or storage

Abstract

A kind of virtual machine starter of the application offer, method and host, device and method is applied to each host communicated to connect with storage device, it is deployed at least one virtual machine in each host, the virtual disk files for starting virtual machine are stored in storage device.The device includes:Virtual machine starting module, for when executing the enabled instruction by any virtual machine of target virtual disk file start, obtain the virtual disk sizes values recorded in the header of target virtual disk file, when the virtual disk sizes values are more than predetermined threshold value, pass through target virtual disk file start virtual machine;Header modified module, for when virtual machine being successfully started up by target virtual disk file, the virtual disk sizes values recorded in its header being revised as default sizes values, pass through target virtual disk file start to avoid other virtual machines.

Description

Virtual machine starter, method and host
Technical field
This application involves virtual machine technique fields, in particular to a kind of virtual machine starter, method and host.
Background technology
It is communicated to connect currently, usually establishing multiple main frames with special storage device (e.g., sharing storage), each host The virtual machine of middle deployment can be started by the virtual disk files stored in the storage device.However, due to each host File in the storage device can be written and read, be susceptible to different virtual machine while use same virtual disk files, And then the case where virtual disk files are read and write simultaneously, it is even damaged so as to cause the data perturbation of the virtual disk files.
Invention content
In view of this, the application's is designed to provide a kind of virtual machine starter, method and host, it is above-mentioned to improve Problem.
In order to achieve the above object, the embodiment of the present application provides a kind of virtual machine starter, is applied to and storage device Each host of communication connection is deployed at least one virtual machine in each host, is stored in the storage device for opening Move the virtual disk files of the virtual machine;Described device includes:
Virtual machine starting module, the enabled instruction for passing through any virtual machine of target virtual disk file start when execution When, the virtual disk sizes values recorded in the header of the target virtual disk file are obtained, when the virtual disk sizes values are big When predetermined threshold value, pass through virtual machine described in the target virtual disk file start;
Header modified module, for when the virtual machine is successfully started up by the target virtual disk file, inciting somebody to action The virtual disk sizes values recorded in the header of the target virtual disk file are revised as default sizes values, to avoid other Virtual machine passes through the target virtual disk file start.
Optionally, the actual size value for having the target virtual disk file is recorded in the storage device, it is described virtual Machine starter further includes:
Logging modle, for being successfully started up by the target virtual disk file in the virtual machine, and the storage When not recording the identification information of the virtual machine in equipment, the identification information of the virtual machine is obtained, and by the identification information Preset memory locations corresponding with the target virtual disk file are recorded in the storage device;
Identification information acquisition module, for when the virtual disk sizes values got by the virtual machine starting module not When more than the predetermined threshold value, the identification information of the preset memory locations storage is obtained;
Module is restarted, for when the identification information got includes the identification information of the virtual machine, from institute The actual size value that storage device obtains the target virtual disk file is stated, by the header of the target virtual disk file The virtual disk sizes values of middle record revert to the actual size value, and re-execute through the target virtual disk file Start the enabled instruction of the virtual machine.
Optionally, the virtual machine starter further includes:
Start reminding module, for when in the identification information got not include the virtual machine identification information when, it is defeated Go out prompt message so that prompt can not be by described target virtual disk file start virtual machine;
Force start module, for when the enabled instruction for receiving user and being inputted again after the prompt message is exported When with by the target virtual disk file start, the reality of the target virtual disk file is obtained from the storage device The virtual disk sizes values recorded in the header of the target virtual disk file are reverted to the actual size by sizes values Value, and execute the enabled instruction.
Optionally, the logging modle is additionally operable to successfully open by the target virtual disk file when the virtual machine When dynamic, in the virtual disk sizes values that the header modified module will record in the header of the target virtual disk file It is revised as before default sizes values, obtains the virtual disk sizes values, and using the virtual disk sizes values as target void The actual size value of quasi- disk file is recorded in the preset memory locations.
Optionally, the virtual starter further includes:
First removing module, for when any virtual machine is closed or deletes, the void to be deleted in the storage device The identification information of quasi- machine;And/or
Second removing module, for when receive in any virtual machine delete virtual disk files deletion instruction when, The identification information of the virtual machine is deleted in preset memory locations corresponding with the virtual disk files in the storage device.
The embodiment of the present application also provides a kind of virtual machine startup method, is applied to each master communicated to connect with storage device Machine is each deployed at least one virtual machine in the host, is stored in the storage device for starting the virtual machine Virtual disk files;The method includes:
When executing the enabled instruction by any virtual machine of target virtual disk file start, the destination virtual magnetic is obtained The virtual disk sizes values recorded in the header of disk file, when the virtual disk sizes values are more than predetermined threshold value, by this Virtual machine described in target virtual disk file start;
When the virtual machine is successfully started up by the target disk file, by the head of the target virtual disk file The virtual disk sizes values recorded in information are revised as default sizes values, pass through the destination virtual magnetic to avoid other virtual machines Disk file start.
Optionally, the actual size value for having the target virtual disk file is recorded in the storage device, it is described virtual Machine starts method:
When the virtual machine is successfully started up by the target virtual disk file, and do not recorded in the storage device When the identification information of the virtual machine, the identification information of the virtual machine is obtained, and by the identification information recording in the storage Preset memory locations corresponding with the target virtual disk file in equipment;
When the virtual disk sizes values got are not more than the predetermined threshold value, the preset memory locations storage is obtained Identification information;
When the identification information got includes the identification information of the virtual machine, described in storage device acquisition The actual size value of target virtual disk file is big by the virtual disk recorded in the header of the target virtual disk file Small value reverts to the actual size value, and re-executes opening by virtual machine described in the target virtual disk file start Dynamic instruction.
When in the identification information got not including the identification information of the virtual machine, output prompt message is to prompt nothing Method passes through described target virtual disk file start virtual machine;
When receive the enabled instruction that user inputs again after the prompt message is exported with by the target void When quasi- disk file starts, the actual size value of the target virtual disk file is obtained from the preset memory locations, by institute It states the virtual disk sizes values recorded in the header of target virtual disk file and reverts to the actual size value, and execute institute State enabled instruction.
Optionally, when the virtual machine is successfully started up by the target disk file, the virtual machine starts method Further include:
The virtual disk sizes values recorded in the header of the target virtual disk file are being revised as default size Before value, the virtual disk sizes values are obtained, and using the virtual disk sizes values as the reality of the target virtual disk file Border sizes values are recorded in the preset memory locations.
Optionally, the virtual machine startup method further includes:
When any virtual machine is closed or deletes, the identification information of the virtual machine is deleted in the storage device;With/ Or
When receive in any virtual machine delete virtual disk files deletion instruction when, in the storage device with The identification information of the virtual machine is deleted in the corresponding preset memory locations of the virtual disk files.
The embodiment of the present application also provides a kind of host, is communicated to connect with storage device, is deployed in the host at least one Virtual machine is stored with the virtual disk files for starting the virtual machine in the storage device;
The host includes memory, processor and virtual machine starter provided by the embodiments of the present application, described virtual Machine starter is stored in the memory, and is controlled and executed by the processor.
The embodiment of the present application also provides a kind of storage medium, is stored thereon with computer-readable instruction, this is computer-readable Instruction, which is performed, realizes that virtual machine provided by the embodiments of the present application starts method.
Compared to the prior art, the embodiment of the present application has the advantages that:
A kind of virtual machine starter, method and host provided by the embodiments of the present application, with storage device communication connection It is deployed at least one virtual machine in each host, the virtual disk text for starting the virtual machine is stored in storage device Part.Each host includes virtual machine starting module and header modified module;Virtual machine starting module is used to pass through mesh when execution When mark virtual disk files start the enabled instruction of any virtual machine, obtains and recorded in the header of the target virtual disk file Virtual disk sizes values, when the virtual disk sizes values be more than predetermined threshold value when, pass through the target virtual disk file start The virtual machine;Header modified module is used for when the virtual machine is successfully started up by target virtual disk file, by the target The virtual disk sizes values recorded in the header of virtual disk files are revised as default sizes values, logical to avoid other virtual machines Cross the target virtual disk file start.In this way, different virtual machine can be effectively prevented from while using same virtual disk text Part, to avoid the corrupted data of virtual disk files.
Description of the drawings
It, below will be to needed in the embodiment attached in order to illustrate more clearly of the technical solution of the embodiment of the present application Figure is briefly described, it should be understood that the following drawings illustrates only some embodiments of the application, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 is a kind of communication scheme of host and storage device provided by the embodiments of the present application;
Fig. 2 is a kind of block diagram of host provided by the embodiments of the present application;
Fig. 3 is a kind of block diagram of virtual machine starter provided by the embodiments of the present application;
Fig. 4 is the communication scheme of another host and storage device provided by the embodiments of the present application;
Fig. 5 is the flow diagram that a kind of virtual machine provided by the embodiments of the present application starts method.
Icon:10- virtual machine activation systems;100- storage devices;200- hosts;210- memories;220- processors; 230- communication units;300- hosts;400- virtual machine starters;410- virtual machine starting modules;420- headers change mould Block;430- logging modles;440- identification information acquisition modules;450- restarts module;460- starts reminding module;470- is strong Starting module processed;The first removing modules of 480-;The second removing modules of 490-.
Specific implementation mode
To keep the purpose, technical scheme and advantage of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application In attached drawing, technical solutions in the embodiments of the present application is clearly and completely described, it is clear that described embodiment is Some embodiments of the present application, instead of all the embodiments.The application being usually described and illustrated herein in the accompanying drawings is implemented The component of example can be arranged and be designed with a variety of different configurations.
Therefore, below the detailed description of the embodiments herein to providing in the accompanying drawings be not intended to limit it is claimed Scope of the present application, but be merely representative of the selected embodiment of the application.Based on the embodiment in the application, this field is common The every other embodiment that technical staff is obtained without making creative work belongs to the model of the application protection It encloses.
It should be noted that:Similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined, then it further need not be defined and explained in subsequent attached drawing in a attached drawing.
As shown in Figure 1, being a kind of virtual machine activation system 10 provided by the embodiments of the present application, the virtual machine activation system 10 At least two hosts (the host in such as Fig. 1 communicated to connect including storage device 100 and by network and storage device 100 200, host 300).It is deployed at least one virtual machine, storage device in each host communicated to connect with storage device 100 The virtual disk files for starting virtual machine in each host are stored in 100.
Wherein, the host in the present embodiment refers to the host that operation has virtual machine thereon.Virtual magnetic in the present embodiment Disk file can be the file of vmx formats, can also be the file of qcow2 formats, and the present embodiment is without limitation.
Storage device 100 can be an independent storage server, can also be the clothes of multiple storage server compositions Be engaged in device cluster, corresponding storage system (e.g., shared-file system) is built in the storage device 100, for it is described at least Two hosts access.
In this case, at least two host can be written and read the file in storage device 100, i.e., different Virtual machine may use same virtual disk files simultaneously, and then same virtual disk files are written and read simultaneously, are easy The data perturbation of the virtual disk files is caused even to damage.
Based on this, a kind of virtual machine starter of the embodiment of the present application offer, method and host, to improve the above problem. The content is described in detail below in conjunction with the accompanying drawings.
As shown in Fig. 2, being a kind of block diagram of host 200 provided by the embodiments of the present application, host 200 includes virtual Machine starter 400, memory 210 and processor 220.
Wherein, memory 210 and processor 220 are directly or indirectly electrically connected between each other, to realize the biography of data Defeated or interaction.For example, these elements can be electrically connected between each other by one or more communication bus or signal wire.Memory 210 include the software function module stored in the form of firmware (firmware) or software (software), and processor 220 is by holding Executable module in line storage 210, realizes corresponding application of function or data processing.For example, virtual machine starter 400 It can store in memory 210, and be controlled and execute by processor 220.
It should be appreciated that structure shown in Fig. 2 is only to illustrate, host 200 can also include more fewer or more than shown in Fig. 2 Component, for example, host 200 can also include the communication unit 230 for establishing communication connection with storage device 100;For another example, when Can also include phase in host 200 after host 200 starts any virtual machine by the virtual disk files in storage device 100 The virtual machine answered.
In addition, host 200 can also have and configuration entirely different shown in Fig. 2.Herein it is worth noting that, Fig. 2 institutes Each component shown can realize that the present embodiment is without limitation with software, hardware or combinations thereof.
In the present embodiment, host 300, host 400 and other hosts have similar component, and component with host 200 Between connection relation it is also similar, details are not described herein.
As shown in figure 3, be a kind of functional block diagram of virtual machine starter 400 provided by the embodiments of the present application, it should Virtual machine starter 400 is applied to each host communicated to connect with storage device 100 in Fig. 1.Virtual machine starter 400 Including virtual machine starting module 410 and header modified module 420.
Wherein, virtual machine starting module 410 is used to pass through any virtual machine of target virtual disk file start when execution When enabled instruction, the virtual disk sizes values recorded in the header of the target virtual disk file are obtained, when the virtual disk When sizes values are more than predetermined threshold value, pass through virtual machine described in the target virtual disk file start.
In the present embodiment, host can be managed by management platform, user can be existed by the management platform Execution and the relevant operation of virtual machine on its host managed, for example, newly-built, startup virtual machine, is virtual machine add or delete Virtual disk files etc..
For any virtual machine, the target virtual disk file in the present embodiment can be user in storage device 100 Any one virtual disk files for selecting and adding for the virtual machine.
By taking host 200 as an example, when user passes through a corresponding target virtual disk file start master in management platform input When the enabled instruction of any virtual machine on machine 200, management platform can send corresponding start and order to host 200, host 200 The target virtual disk file can be read from storage device 100 by management tool thereon.Wherein, management tool operates in On host 200, corresponding driving can be called, the virtual disk got from storage device 100 can be parsed by the driving File, for example, when virtual disk files are the file of qcow2 formats, management tool can be Libvirt, and Libvirt can be with Call qemu drivings to be parsed to qcow2 files.In addition, management tool can also obtain the internal information of virtual machine, and File on host 200 is operated etc..
The header of virtual disk files includes the field virtual size for storing virtual disk size, should The value of field is the virtual disk sizes values of the virtual disk files.In the present embodiment, carried out to target virtual disk file When reading, management tool can read the void of the target virtual disk file from the header of the target virtual disk file first Quasi- disk size value.Through inventor the study found that when the virtual disk sizes values of virtual disk files are too small, virtual machine BIOS (Basic Input Output System, basic input output system) will be unable to normally read the virtual disk files Partition table, the data on the virtual disk files also can not be just read, so that operating system, virtual machine can not be guided to will be unable to Normal use.And for the virtual machine of not yet installation operation system, if from the too small virtual disk files of virtual disk sizes values Start, the BIOS of the virtual machine will be unable to normally create the partition table of the virtual disk files, also can not just read the virtual magnetic Data on disk file, to can not installation operation system, which will be unable to normal use.That is, when virtual disk text When the virtual disk sizes values of part are not more than predetermined threshold value, virtual machine will be unable to normal use.
Wherein, inventor has found through multi-party statistics investigation, when the virtual disk sizes values of virtual disk files are less than or wait When 1M, the BIOS of virtual machine is the partition table that normally can not read or create the virtual disk files.Therefore, in this implementation In example, the predetermined threshold value can be 1M.
It is worth noting that, the enabled instruction can be that management platform refers to according to the startup that user's operation issues herein It enables, can also be that host restarts the enabled instruction triggered when virtual machine automatically, the present embodiment does not limit this.
Header modified module 420 is used for when the virtual machine is successfully started up by the target virtual disk file, The virtual disk sizes values recorded in the header of the target virtual disk file are revised as default sizes values, to avoid it He passes through the target virtual disk file start by virtual machine.
In the present embodiment, the virtual machine is successfully started up by the target virtual disk file, can refer to host On management tool detect the corresponding virtual machine process of the virtual machine (e.g., kvm processes), and the virtual machine process detected Include the target virtual disk file routing information when.Wherein, by taking kvm processes as an example, when the success of each virtual machine After startup, there can be the kvm processes of the virtual machine on the host where the virtual machine, which includes the virtual machine institute The routing information of the virtual disk files used.
When implementation, when the virtual machine is successfully started up by the target virtual disk file, by target virtual disk The value of current record is revised as default sizes values in the size field of the header of file.If other virtual machines will be from target void Quasi- disk file starts, then it is default to read this from the header of the target virtual disk file when executing enabled instruction Sizes values will cause other virtual machines can not be from the target virtual disk file start since to preset sizes values smaller for this.
It is worth noting that, the default sizes values can be a smaller value, when the void of virtual disk files herein When quasi- disk size value is the default sizes values, virtual machine will be unable to start from the virtual disk files.The default sizes values It can be less than or equal to any value of the predetermined threshold value, for example, the default sizes values can be 0,0.5M, 1M etc..
By the above process, different virtual machine can be effectively prevented from while using same virtual disk files, and then really The data protected in virtual disk files are not damaged.
Further, it is after virtual machine successfully starts up in void due to virtual machine starter 400 provided in this embodiment Virtual disk sizes values are configured in the target virtual disk file that quasi- machine uses, and other virtual machines once will be from the target Virtual disk files start, and certainly will need to read the virtual disk sizes values.Therefore, other on either same host are empty Virtual machine on quasi- machine or other hosts, also or the virtual machine on the host in other mainframe clusters, all can not with it is described Virtual machine uses the target virtual disk file simultaneously.
And in existing mode, it is typically limited in the management platform of managing main frame cluster, forbids the host set Different virtual machine in group uses same virtual disk files simultaneously.This mode can not avoid the difference in different mainframe clusters Virtual machine uses a virtual disk files simultaneously.
In practical applications, a virtual machine may be activated and close repeatedly after being created.And according to above-mentioned Description, after a virtual machine is by target virtual disk file start, the virtual disk of the target virtual disk file Sizes values have been modified into default sizes values, if the virtual machine needs to open from the target virtual disk file again after being closed It is dynamic, failure will certainly be started.Thus when restarting after virtual machine is closed every time, it is required for user by being manually set to accordingly Restart.
In addition, in some cases, it is sometimes desirable to which multiple virtual machines use same virtual disk files, for example, in data In the application of library, Database Virtual Machine cluster needs to use same virtual disk files.Accordingly, these virtual machines may also can be by Start and closes multiple.So, default sizes values are had been modified into the virtual disk sizes values of the virtual disk files In the case of, can only manually it be arranged to start by some by user.But virtual machine quantity is more in cluster virtual machine, or Repetition open number it is more in the case of, it is very inconvenient.
For the above situation, for from the virtual machine of target virtual disk file start, the virtual machine can be established With the incidence relation between the target virtual disk file.Accordingly, virtual machine starter 400 provided by the embodiments of the present application Can also include logging modle 430, identification information acquisition module 440 and restarting module 450.
Wherein, logging modle 430 in the virtual machine by the target virtual disk file for being successfully started up, and institute When stating the identification information for not recording the virtual machine in storage device 100, the identification information of the virtual machine is obtained, and should Identification information recording preset memory locations corresponding with the target virtual disk file in the storage device 100.
In the present embodiment, can by by the identification information storage of virtual machine to storage device 100 with destination virtual The corresponding preset memory locations of disk file, to realize being associated with for virtual machine and target virtual disk file.
In detail, when virtual machine is by the target virtual disk file start, can check in storage device 100 is The no identification information for being stored with the virtual machine, if so, indicating to have been set up the virtual machine and target virtual disk file Between incidence relation, it may not be necessary to establish again;If it is not, indicate not yet to establish the virtual machine and target virtual disk file it Between incidence relation, then can create the identification information of the virtual machine, wherein the identification information may include the name of the virtual machine Claim, the title etc. of host where the virtual machine.Further, due to the host in different mainframe clusters may have it is mutually of the same name Claim, thus, which can also include address IP (Internet Protocol) of host where the virtual machine.Then, By the identification information storage of the newly-built virtual machine to the preset memory locations.
Wherein, preset memory locations corresponding with the target virtual disk file, can be in the storage device 100 File associated with the target virtual disk file, for example, there is identical suffix name with the target virtual disk file File;It can also be the reserved field in the target virtual disk file.
Identification information acquisition module 440 is when the virtual disk sizes values got by the virtual machine starting module 410 When no more than the predetermined threshold value, the identification information of the preset memory locations storage is obtained.
Wherein, when the virtual disk sizes values that virtual machine starting module 410 is got are not more than predetermined threshold value, although empty Quasi- machine (rear to claim " virtual machine to be launched ") can not guide operating system from target virtual disk file, but host can still open this The corresponding virtual machine process of virtual machine.When detecting the corresponding virtual machine process of the virtual machine, host can judge the virtual machine Normally start.
Therefore, in the present embodiment when the virtual disk sizes values that virtual machine is got by virtual machine starting module 410 It, can be with the corresponding virtual machine process of the No starting virtual machine when no more than the predetermined threshold value.Host is detecting target void When the virtual disk sizes values of quasi- disk file can not start no more than the predetermined threshold value and the virtual machine, can determine this substantially Target virtual disk file is occupied by other virtual machines, at this point it is possible to obtain pre- with target virtual disk file association If the identification information stored in storage location.
If the identification information got includes the identification information of virtual machine to be launched, then it represents that the virtual machine is fair Perhaps the virtual machine of the target virtual disk file is used, in this case, virtual machine starter 400 can pass through restarting Module 450 restarts the virtual machine.
Module 450 is restarted to be used for when the identification information got includes the identification information of the virtual machine, from The storage device obtains the actual size value of the target virtual disk file, and the head of the target virtual disk file is believed The virtual disk sizes values recorded in breath revert to the actual size value, and re-execute through target virtual disk text Part starts the enabled instruction of the virtual machine.
In the present embodiment, the actual size value of the target virtual disk file can be recorded in storage device 100, In a kind of optional mode, which can in the following way be recorded by the logging modle 430, that is, record mould Block 430 can be also used for:
When the virtual machine is successfully started up by the target virtual disk file, in the header modified module Before the virtual disk sizes values recorded in the header of the target virtual disk file are revised as default sizes values by 420, The virtual disk sizes values are obtained, and using the virtual disk sizes values as the actual size value of the target virtual disk file It is recorded in the preset memory locations.
Wherein, since the virtual machine can show the destination virtual by the target virtual disk file start The not described default sizes values of the virtual disk sizes values of current record in the header of disk file, the destination virtual The actual size value of disk file.Therefore, when the virtual machine is by the target virtual disk file start, host can be with The virtual disk sizes values of current record in the header of the target virtual disk file are obtained by logging modle 430, and It carries out being recorded in the storage device using the virtual disk sizes values as the actual size value of the target virtual disk file In 100.
In implementation process, when the actual size value for recording the target virtual disk file and then by the head Information modified module 420 repaiies the virtual disk sizes values of current record in the header of the target virtual disk file Change.
Optionally, in the present embodiment, the identification information of the virtual machine and the actual size value can be recorded simultaneously.For Convenient for management, the actual size value of the identification information of the virtual machine and target virtual disk file can be formed to a note Record, and by the record storage to the preset memory locations.
When implementation, when any virtual machine is by corresponding target virtual disk file start, you can pass through the record Module 430 records one and the record of the virtual machine, the record include the target virtual disk file actual size value with The identification information of the virtual machine, and by the record storage to the storage device 100 with the target virtual disk file association File in, or storage is in the reserved field of the target virtual disk file.
Optionally, for the ease of management, when the preset memory locations are the reserved words of the target virtual disk file Duan Shi, can be before establishing first record, and a newly-built list is for storing the record.In this way, in the virtual machine When by the target virtual disk file start, the list can be directly acquired, then whether detect in the list includes described The identification information of virtual machine, if do not include, then by including the virtual machine identification information and the target virtual disk file In the record storage of actual size value to the list.
In the present embodiment, do not include described virtual in the identification information got for identification information acquisition module 440 The situation of the identification information of machine, virtual machine starter 400 can also include starting reminding module 460 and force start module 470。
Start reminding module 460 to be used for when in the identification information got not including the identification information of the virtual machine, Output prompt message is with prompt can not be by described target virtual disk file start virtual machine.
Force start module 470 is used to refer to when receiving the startup that user inputs again after the prompt message is exported When enabling with by the target virtual disk file start, the target virtual disk file is obtained from the preset memory locations Actual size value, the virtual disk sizes values recorded in the header of the target virtual disk file are reverted into the reality Border sizes values, and execute the enabled instruction.
When implementing, when user sees the prompt message, if desired force start virtual machine, you can input is logical again Cross the enabled instruction of virtual machine described in the target virtual disk file start.Wherein, the prompt message can also include asking Ask whether user needs the information from virtual machine described in target virtual disk file force start.For example, can be described in display Corresponding option is provided on the interface of output information, such as " force start " and " abandoning starting " two label options, it is described two Label option can be shown by the management platform of host.
In detail, when user selects " abandoning starting " this label option, it will stop executing subsequent operation, work as user When selecting " force start " this label option, it will sent to host by empty described in the target virtual disk file start The enabled instruction of quasi- machine.
It is less than the predetermined threshold value due to starting the virtual disk sizes values that reminding module 460 detects, the mesh The virtual disk sizes values for marking current record in the header of virtual disk files certainly will be the default sizes values after host modifications, Force start is needed now, then this can be preset to sizes values and revert to actual size value.Therefore, when host receives the startup It, can be by the force start module 470 by current record in the header of the target virtual disk file when instruction Virtual disk sizes values are revised as the actual size value recorded in the preset memory locations, then re-execute startup again and refer to It enables.
In this way, when re-executing enabled instruction, due to the size field in the header of target virtual disk file Value has been changed to the actual size value of target virtual disk file, therefore can successfully be opened from target virtual disk file Move the virtual machine.
It is worth noting that, when re-executing enabled instruction, the operation of virtual machine starting module 410 can be triggered herein.
Optionally, in the present embodiment, virtual machine starter 400 can also include the first removing module 480 and/or the Two removing modules 490.
Wherein, the first removing module 480 is used to, when any virtual machine is deleted, the void is deleted in storage device 100 The identification information of quasi- machine.
In the present embodiment, when host detects that any virtual machine is deleted by management tool, the void at this time is indicated Quasi- machine will not reuse corresponding target virtual disk file, then can obtain the void from the xml configuration files of the virtual machine The target virtual disk file added in quasi- machine, and searched and the target virtual disk file association in storage device 100 Preset memory locations delete the identification information of the virtual machine in the preset memory locations.
Wherein, when deleting the identification information of the virtual machine, first removing module 480 can be also used for described in detection Whether preset memory locations further include the identification information of other virtual machines, if not including indicating that the target virtual disk file is worked as It is preceding not used by any virtual machine, then it can be by the virtual disk of current record in the header of the target virtual disk file Sizes values revert to its practical sizes values.
Second removing module 490 is used for when the deletion instruction for receiving the deletion virtual disk files in any virtual machine When, the identification information of the virtual machine is deleted in preset memory locations corresponding with the virtual disk files in storage device 100.
In practical applications, multiple virtual disk files may be added in a virtual machine.When in use, in fact it could happen that The situation of one of virtual disk files is no longer needed, user can be by corresponding management platform in the virtual machine at this time Middle deletion virtual disk files, at this point, the virtual machine will not be used the virtual disk files.At this point it is possible in the void The identification information that the virtual machine is deleted in the corresponding preset memory locations of quasi- disk file, to identify the virtual disk files no longer Permission is used by the virtual machine.
Accordingly, when deleting the identification information of the virtual machine, if detecting, corresponding preset of the virtual disk files is deposited Storage space does not include the identification information of other virtual machines in setting, then it is virtual can to restore this in the header of the virtual disk files The actual size value of disk file.
A specific example is given below, to be further elaborated to above-mentioned virtual machine starter 400.It specifically describes such as Under:
It is assumed that there are storage device 100 and the host communicated with storage device 100 200 and host 300, deposit It is stored with the virtual disk files A that virtual disk sizes values are 40G in storage equipment 100, virtual machine startup is deployed on host 200 Device 400 and virtual machine A are deployed with virtual machine starter 400 and virtual machine B on host 300.
Wherein, virtual disk files A, virtual machine A and virtual machine B are newly-built, i.e. virtual disk files A is not yet any Virtual machine uses, and virtual disk files are not yet added in virtual machine A and virtual machine B.
Virtual disk files A is now added to by virtual machine A by management platform, so that virtual machine A can pass through virtual magnetic Disk file A starts, here, virtual disk files A is the target virtual disk file of virtual machine A.
First, when management platform issues enabled instruction to host 200, to control virtual machine A from virtual disk files A startups When, the virtual disk that host 200 reads current record in the header of virtual disk files A by virtual machine starting module is big Small value is 40G, and 40G is more than predetermined threshold value (being assumed to be 1M), and therefore, virtual machine A can succeed from virtual disk files A guiding behaviour Make system, to normal use.
Second, when virtual machine A is started by virtual disk files A (target virtual disk file), host 200 passes through note The mark letter of the virtual disk sizes values 40G and virtual machine A that are recorded in the header of record module acquisition virtual disk files A Breath, and store to preset memory locations corresponding with virtual disk files A in storage device 100.
Wherein, the identification information of virtual machine A includes the IP of the title of virtual machine A, the title of host 200 and host 200 Location.The preset memory locations can be the unique file for having with virtual disk files A in storage device 100 identical suffix name, It can also be the reserved field of virtual disk files A.Wherein, " 40G " for being recorded in the preset memory locations is as virtual The actual size value of disk file A.To be to have with virtual disk files A in storage device 100 with preset memory locations below It is described in detail for the unique file of identical suffix name.
Third, after the actual size value of logging modle record virtual disk files A and the identification information of virtual machine A, Host 200 is repaiied the virtual disk sizes values of current record in the header of virtual disk files A by header modified module Change default sizes values 0.
In this way, the disk file size that other virtual machines are read when being started by virtual disk files A is 0, also It can not start from virtual disk files A.
If virtual disk files A is added to virtual machine B by user by management platform at this time, and is controlled and passed through virtual disk File A starts virtual machine B, then host 300 can run virtual machine starting module.Specially:
4th, host 300 reads current record in the header of virtual disk files A by virtual machine starting module Virtual disk sizes values are 0, and virtual machine B will be unable to start from virtual disk files A.
5th, host 300 is searched in storage device 100 by identification information acquisition module and is associated with virtual disk files A File, and obtain the identification information stored in this document.
Only include the identification information of virtual machine A in the identification information got at this time, thus may determine that the mark got The identification information for not including virtual machine B in information is known, so that it is determined that virtual machine B does not allow for making from virtual disk files A pressures With.
6th, host 300 does not include the mark of virtual machine B in the identification information got by identification information acquisition module When knowing information, by starting the defeated prompt message of reminding module, to prompt user's virtual disk files A to be used by virtual machine A.
Further, it is also possible to which further the actual size value of prompt user's virtual disk files A is 40G.
" force start " and " abandoning starting " two label options can also be provided on the display page of prompt message. When user selects " abandoning starting ", subsequent operation is no longer carried out;When user selects " force start ", host 300 can be run First force start module.
7th, host 300 is obtained virtually by the first force start module from the associated files of virtual disk files A The actual size value 40G of disk file A, and by the virtual disk sizes values 0 of current record in the header of virtual disk files A It is revised as 40G, then re-executes enabled instruction again.
At this point, the virtual disk sizes values that host 300 can read virtual disk files A by virtual machine starting module are 40G is more than preset 1M, therefore virtual machine B can start from virtual disk files A.
After virtual machine B starts from virtual disk files A, host 300 can be changed with log module and header Module executes and walks similar step with above-mentioned second, third, specially:
8th, host 300 obtains virtual disk text when virtual machine B starts from virtual disk files A, by logging modle The identification information of the actual size value 40G and virtual machine B of part A, and store and closed into storage device 100 with virtual disk files A In the file of connection.It is by header modified module that the virtual disk of current record in the header of virtual disk files A is big again Small value is revised as default sizes values 0.
In implementation process, when detecting that virtual machine A (or virtual machine B) is deleted, it can be deleted in storage device 100 Except the identification information of virtual machine A (or virtual machine B).When the deletion instruction for detecting the deletion virtual disk files A in virtual machine A When, in the identification information with deletion virtual machine A in the associated files of virtual disk files A.If further detecting in virtual machine B The middle deletion instruction for deleting virtual disk files B, then in the mark with deletion virtual machine B in the associated files of virtual disk files A Know information.And due at this time with the identification information that only includes virtual machine B in the associated files of virtual disk files A, can be with The virtual disk sizes values 0 of current record are revised as 40G in the header of virtual disk files A, to indicate current virtual Disk file A is not used by any virtual machine.
As shown in figure 5, being the flow diagram that a kind of virtual machine provided by the embodiments of the present application starts method, this method is answered Each host for being communicated to connect with storage device 100 in Fig. 1.This approach includes the following steps:
Step S501, when executing the enabled instruction by any virtual machine of target virtual disk file start, obtaining should The virtual disk sizes values recorded in the header of target virtual disk file, when the virtual disk sizes values are more than predetermined threshold value When, pass through virtual machine described in the target virtual disk file start.
In the present embodiment, the description as described in step S501 specifically refers in the above about virtual machine starting module 410 description, i.e. step S501 can be executed by virtual machine starting module 410.
Step S502, when the virtual machine is successfully started up by the target disk file, by the destination virtual magnetic The virtual disk sizes values recorded in the header of disk file are revised as default sizes values, pass through to avoid other virtual machines described Target virtual disk file start.
In the present embodiment, the description as described in step S502 specifically refers in the above to header modified module 420 description, i.e. step S502 can be executed by header modified module 420.
Optionally, the actual size value of the target virtual disk file can be recorded in storage device 100, it is corresponding Ground, the virtual machine start method and may include steps of:
When the virtual machine is successfully started up by the target virtual disk file, and do not have in the storage device 100 When recording the identification information of the virtual machine, the identification information of the virtual machine is obtained, and by the identification information recording described Preset memory locations corresponding with the target virtual disk file in storage device 100;
When the virtual disk sizes values got are not more than the predetermined threshold value, the preset memory locations storage is obtained Identification information;
When the identification information got includes the identification information of the virtual machine, obtained from the storage device 100 The actual size value of the target virtual disk file, the virtual magnetic that will be recorded in the header of the target virtual disk file Disk sizes values revert to the actual size value, and re-execute through virtual machine described in the target virtual disk file start Enabled instruction.
The description as described in above-mentioned steps specifically refers in the above to logging modle 430, identification information acquisition module 440 and restarting module 450 detailed description.
Optionally, the virtual machine starts method and can also include the following steps:
When in the identification information got not including the identification information of the virtual machine, output prompt message is to prompt nothing Method passes through described target virtual disk file start virtual machine;
When receive the enabled instruction that user inputs again after the prompt message is exported with by the target void When quasi- disk file starts the virtual machine, the practical big of the target virtual disk file is obtained from the preset memory locations The virtual disk sizes values recorded in the header of the target virtual disk file are reverted to the actual size by small value Value, and execute the enabled instruction.
The description as described in above-mentioned steps specifically refers in the above to starting reminding module 460 and force start module 470 detailed description.
Optionally, in the present embodiment, the virtual machine starts method and can also include the following steps:
When any virtual machine is deleted, the identification information of the virtual machine is deleted in the storage device 100;And/or
When receiving the deletion instruction for deleting virtual disk files in any virtual machine, in the storage device 100 In the identification information of the virtual machine is deleted in preset memory locations corresponding with the virtual disk files.
The description as described in above-mentioned steps specifically refers in the above to the first removing module 480 and the second removing module 490 detailed description.
In conclusion a kind of virtual machine starter of the embodiment of the present application offer, method and host, communicate with storage device It is deployed at least one virtual machine in each host of connection, the virtual magnetic for starting the virtual machine is stored in storage device Disk file.Each host includes virtual machine starting module and header modified module;Virtual machine starting module is used to work as any void When quasi- machine is by a corresponding target virtual disk file start, obtains and recorded in the header of the target virtual disk file Virtual disk sizes values should by the target virtual disk file start when the virtual disk sizes values are more than predetermined threshold value Virtual machine;Header modified module is used for when the virtual machine is by target virtual disk file start, by the destination virtual magnetic The virtual disk sizes values recorded in the header of disk file are revised as default sizes values, pass through the mesh to avoid other virtual machines Virtual disk files are marked to start.In this way, different virtual machine can be effectively prevented from while using same virtual disk files, to Avoid the corrupted data of virtual disk files.
In embodiment provided herein, it should be understood that disclosed device and method, it can also be by other Mode realize.The apparatus embodiments described above are merely exemplary, for example, the flow chart and block diagram in attached drawing are shown The device of multiple embodiments according to the present invention, the architectural framework in the cards of method and computer program product, function And operation.In this regard, each box in flowchart or block diagram can represent one of a module, section or code Point, a part for the module, section or code includes one or more for implementing the specified logical function executable Instruction.It should also be noted that at some as in the realization method replaced, the function of being marked in box can also be attached to be different from The sequence marked in figure occurs.For example, two continuous boxes can essentially be basically executed in parallel, they also may be used sometimes To execute in the opposite order, this is depended on the functions involved.It is also noted that each of block diagram and or flow chart The combination of box in box and block diagram and or flow chart, function or the dedicated of action are based on as defined in execution The system of hardware is realized, or can be realized using a combination of dedicated hardware and computer instructions.
The foregoing is merely the preferred embodiments of the application, are not intended to limit this application, for the skill of this field For art personnel, the application can have various modifications and variations.Within the spirit and principles of this application, any made by repair Change, equivalent replacement, improvement etc., should be included within the protection domain of the application.

Claims (11)

1. a kind of virtual machine starter, which is characterized in that be applied to each host communicated to connect with storage device, Mei Gesuo It states and is deployed at least one virtual machine in host, the virtual disk for starting the virtual machine is stored in the storage device File;Described device includes:
Virtual machine starting module is used for when executing the enabled instruction by any virtual machine of target virtual disk file start, The virtual disk sizes values recorded in the header of the target virtual disk file are obtained, when the virtual disk sizes values are more than in advance If when threshold value, passing through virtual machine described in the target virtual disk file start;
Header modified module will be described for when the virtual machine is successfully started up by the target virtual disk file The virtual disk sizes values recorded in the header of target virtual disk file are revised as default sizes values, virtual to avoid other Machine passes through the target virtual disk file start.
2. virtual machine starter according to claim 1, which is characterized in that record has the mesh in the storage device The actual size value of virtual disk files is marked, which further includes:
Logging modle, for being successfully started up by the target virtual disk file in the virtual machine, and the storage device In when not recording the identification information of the virtual machine, obtain the identification information of the virtual machine, and by the identification information recording The preset memory locations corresponding with the target virtual disk file in the storage device;
Identification information acquisition module, for being not more than when the virtual disk sizes values got by the virtual machine starting module When the predetermined threshold value, the identification information of the preset memory locations storage is obtained;
Module is restarted, for when the identification information got includes the identification information of the virtual machine, being deposited from described Storage equipment obtains the actual size value of the target virtual disk file, will remember in the header of the target virtual disk file The virtual disk sizes values of record revert to the actual size value, and re-execute through the target virtual disk file start The enabled instruction of the virtual machine.
3. virtual machine starter according to claim 2, which is characterized in that the device further includes:
Start reminding module, for when in the identification information got not including the identification information of the virtual machine, output to carry Show information so that prompt can not be by described target virtual disk file start virtual machine;
Force start module, for when receiving the enabled instruction that user inputs again after the prompt message is exported with logical When crossing virtual machine described in the target virtual disk file start, the target virtual disk file is obtained from the storage device Actual size value, the virtual disk sizes values recorded in the header of the target virtual disk file are reverted into the reality Border sizes values, and execute the enabled instruction.
4. according to any virtual machine starters of claim 1-3, which is characterized in that
The logging modle is additionally operable to when the virtual machine is successfully started up by the target virtual disk file, described The virtual disk sizes values recorded in the header of the target virtual disk file are revised as presetting by header modified module Before sizes values, the virtual disk sizes values are obtained, and using the virtual disk sizes values as the target virtual disk file Actual size value be recorded in the preset memory locations.
5. according to any virtual machine starters of claim 1-3, which is characterized in that the device further includes:
First removing module, for when any virtual machine is deleted, the mark of the virtual machine to be deleted in the storage device Information;And/or
Second removing module, for when receive in any virtual machine delete virtual disk files deletion instruction when, in institute State the identification information for deleting the virtual machine in storage device in preset memory locations corresponding with the virtual disk files.
6. a kind of virtual machine starts method, which is characterized in that be applied to each host communicated to connect with storage device, Mei Gesuo It states and is deployed at least one virtual machine in host, the virtual disk for starting the virtual machine is stored in the storage device File;The method includes:
When executing the enabled instruction by any virtual machine of target virtual disk file start, target virtual disk text is obtained The virtual disk sizes values recorded in the header of part pass through the target when the virtual disk sizes values are more than predetermined threshold value Virtual disk files start the virtual machine;
When the virtual machine is successfully started up by the target disk file, by the header of the target virtual disk file The virtual disk sizes values of middle record are revised as default sizes values, pass through target virtual disk text to avoid other virtual machines Part starts.
7. virtual machine according to claim 6 starts method, which is characterized in that record has the mesh in the storage device The actual size value of virtual disk files is marked, this method further includes:
When the virtual machine is successfully started up by the target virtual disk file, and without described in record in the storage device When the identification information of virtual machine, the identification information of the virtual machine is obtained, and by the identification information recording in the storage device In preset memory locations corresponding with the target virtual disk file;
When the virtual disk sizes values got are not more than the predetermined threshold value, the mark of the preset memory locations storage is obtained Know information;
When the identification information got includes the identification information of the virtual machine, the target is obtained from the storage device The actual size value of virtual disk files, the virtual disk sizes values that will be recorded in the header of the target virtual disk file The actual size value is reverted to, and re-executes and is referred to by the startup of virtual machine described in the target virtual disk file start It enables.
8. virtual machine according to claim 7 starts method, which is characterized in that this method further includes:
When in the identification information got not including the identification information of the virtual machine, output prompt message is to prompt not leading to Cross described target virtual disk file start virtual machine;
When receiving the enabled instruction that user inputs again after the prompt message is exported with by the destination virtual magnetic Described in disk file start when virtual machine, the actual size of the target virtual disk file is obtained from the preset memory locations The virtual disk sizes values recorded in the header of the target virtual disk file are reverted to the actual size value by value, And execute the enabled instruction.
9. starting method according to any virtual machines of claim 6-8, which is characterized in that when the virtual machine is described in When target virtual disk file successfully starts up, this method further includes:
By the virtual disk sizes values recorded in the header of the target virtual disk file be revised as default sizes values it Before, the virtual disk sizes values are obtained, and using the virtual disk sizes values as the practical big of the target virtual disk file Small value is recorded in the preset memory locations.
10. starting method according to any virtual machines of claim 6-8, which is characterized in that this method further includes:
When any virtual machine is deleted, the identification information of the virtual machine is deleted in the storage device;And/or
When receive in any virtual machine delete virtual disk files deletion instruction when, in the storage device with the void The identification information of the virtual machine is deleted in the corresponding preset memory locations of quasi- disk file.
11. a kind of host, which is characterized in that communicated to connect with storage device, at least one virtual machine, institute are deployed in the host State the virtual disk files being stored in storage device for starting the virtual machine;
The host includes memory, processor and any virtual machine starters of claim 1-5, the virtual machine Starter is stored in the memory, and is controlled and executed by the processor.
CN201810251730.7A 2018-03-26 2018-03-26 Virtual machine starting device and method and host Active CN108509252B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810251730.7A CN108509252B (en) 2018-03-26 2018-03-26 Virtual machine starting device and method and host

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810251730.7A CN108509252B (en) 2018-03-26 2018-03-26 Virtual machine starting device and method and host

Publications (2)

Publication Number Publication Date
CN108509252A true CN108509252A (en) 2018-09-07
CN108509252B CN108509252B (en) 2021-04-06

Family

ID=63378402

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810251730.7A Active CN108509252B (en) 2018-03-26 2018-03-26 Virtual machine starting device and method and host

Country Status (1)

Country Link
CN (1) CN108509252B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110018883A (en) * 2019-04-11 2019-07-16 苏州浪潮智能科技有限公司 A kind of virtual machine delet method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572242A (en) * 2013-10-24 2015-04-29 华为技术有限公司 Method and device for expanding disk space of virtual machine and virtual machine system
CN105487984A (en) * 2014-09-17 2016-04-13 中兴通讯股份有限公司 Dynamic compression method and apparatus for virtual machine disk data by host system
CN106775924A (en) * 2016-11-07 2017-05-31 北京百度网讯科技有限公司 Virtual machine starts method and apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572242A (en) * 2013-10-24 2015-04-29 华为技术有限公司 Method and device for expanding disk space of virtual machine and virtual machine system
CN105487984A (en) * 2014-09-17 2016-04-13 中兴通讯股份有限公司 Dynamic compression method and apparatus for virtual machine disk data by host system
CN106775924A (en) * 2016-11-07 2017-05-31 北京百度网讯科技有限公司 Virtual machine starts method and apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110018883A (en) * 2019-04-11 2019-07-16 苏州浪潮智能科技有限公司 A kind of virtual machine delet method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN108509252B (en) 2021-04-06

Similar Documents

Publication Publication Date Title
EP2840495B1 (en) Container-based processing method and apparatus
US8726273B2 (en) Space efficient virtual machines
RU2409838C2 (en) Archiving data in virtual application enviroinment
CN109445861B (en) System starting method, device, computer device and storage medium
CN106557384A (en) Based on the data processing method of Linux, device and system
CN103198122B (en) Restart the method and apparatus of memory database
CN104216793A (en) Application program backing up and restoring method and device
CN110347483B (en) Method and device for migrating physical machine to virtual machine and storage medium
CN110659256A (en) Multi-computer room synchronization method, computing device and computer storage medium
JP2007133544A (en) Failure information analysis method and its implementation device
CN108874441B (en) Board card configuration method, device, server and storage medium
CH717425B1 (en) System and method for selectively restoring a computer system to an operational state.
CN103092718A (en) Test data backup system and method
CN105867962A (en) System upgrading method and device
CN111158945B (en) Kernel fault processing method, device, network security equipment and readable storage medium
CN106502830B (en) A kind of method for restoring system backup based on Btrfs file system
CN109726039B (en) Method and apparatus for managing virtual machines
WO2017020460A1 (en) Method and apparatus for integrating plugin
CN108509252A (en) Virtual machine starter, method and host
CN106897063B (en) Method and system for permanently adding OS boot entry to BIOS based on EFI
US8498622B2 (en) Data processing system with synchronization policy
CN107506271A (en) A kind of method of testing and device
CN112835967B (en) Data processing method, device, equipment and medium based on distributed storage system
CN114598604A (en) Monitoring method, monitoring device and terminal for virtual network function instance information
CN106844261A (en) The method and apparatus of hot plug is realized in recovery mode

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
GR01 Patent grant
GR01 Patent grant