CN107193633A - A kind of batch creates the method and device of virtual machine - Google Patents
A kind of batch creates the method and device of virtual machine Download PDFInfo
- Publication number
- CN107193633A CN107193633A CN201710368165.8A CN201710368165A CN107193633A CN 107193633 A CN107193633 A CN 107193633A CN 201710368165 A CN201710368165 A CN 201710368165A CN 107193633 A CN107193633 A CN 107193633A
- Authority
- CN
- China
- Prior art keywords
- virtual machine
- file
- batch
- predetermined number
- creates
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/45562—Creating, 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)
- Stored Programmes (AREA)
Abstract
The invention discloses the method and device that a kind of batch creates virtual machine, this method includes:Receive the instruction of perform script file;The script file is performed, batch establishment is carried out to the virtual machine of predetermined number according to the virtual machine creating file pre-set;The present invention passes through perform script file, batch establishment is carried out to the virtual machine of predetermined number according to the virtual machine creating file pre-set, staff can be made once to configure the virtual machine that all batch is created, reduce the workload of staff, and accelerate the speed that batch creates virtual machine, the saving time, race power is improved for the deployment after sale of enterprise, reduce the error rate of manual configuration, fault rate is reduced for the deployment after sale of enterprise, win mass force, and simplify configuration step, reduce the requirement for staff, the professional ability of staff is reduced for enterprise, win professional power, improve Consumer's Experience.
Description
Technical field
The present invention relates to technical field of virtualization, more particularly to a kind of batch creates the method and device of virtual machine.
Background technology
With the development of modern society's science and technology, virtualization technology has obtained the development of high speed, and virtualization refers to by virtual
One computer virtual is many logical computers by change technology.Multiple logical computers are run simultaneously on one computer,
Each logical computer can run different operating systems, and application program can be run in separate space and
It is independent of each other, so as to significantly improve the operating efficiency of computer
Virtualization is redefined using the method for software has divided IT resources, it is possible to achieve the dynamically distributes of IT resources, spirit
Scheduling living, cross-domain shared, raising IT resource utilizations, enable IT resources really to turn into social infrastructure, serve each row
Flexible and changeable application demand in each industry.Virtual machine is exactly the embodiment mode of virtualization technology, in the big data epoch, improves virtual
The batch deployment of machine, Integrated IT Resources are highly important links.
In the prior art, with KVM virtual machines in Fig. 1 (Kernel-based Virtual Machine, the void based on kernel
Plan machine) batch create exemplified by, N number of KVM virtual machines are created if desired, it is necessary to as shown in Figure 1 by staff repeat n times wound
Build the process of virtual machine so that the speed that batch creates virtual machine is very slow, it is necessary to take considerable time;And due to needing work
The different content of the multiple manual configuration of personnel so that virtual machine creating process error rate is high, and misarrangement ability;And to work
The requirement of personnel is higher, it is necessary to which staff's has higher professional standards.Therefore, how to accelerate batch and create virtual machine
Speed, the reduction error rate and requirement to staff is urgent problem now.
The content of the invention
It is an object of the invention to provide the method and device that a kind of batch creates virtual machine, to pass through perform script file batch
Amount creates virtual machine, accelerates the speed that batch creates virtual machine, reduces error rate and the requirement to staff, improve
Consumer's Experience.
In order to solve the above technical problems, the present invention provides a kind of method that batch creates virtual machine, including:
Receive the instruction of perform script file;
The script file is performed, the virtual machine of predetermined number is criticized according to the virtual machine creating file pre-set
Amount is created.
Optionally, it is described to perform the script file, according to the virtual machine creating file pre-set to predetermined number
Virtual machine carries out batch establishment, including:
The script file is performed, the xml document in the virtual machine creating file is to the virtual machine creating mistake
Custom content in journey is configured;Wherein, the custom content includes virtual machine title, the institute of the virtual machine creating
State the resource allocation of predetermined number and the virtual machine;
The image files of the qcow2 forms in the virtual machine creating file by replicating the predetermined number, to institute
The operating system for stating virtual machine is installed, and the virtual machine of the predetermined number is created in batches.
Optionally, the establishment process of the image files of the qcow2 forms, including:
By the use of the image files of raw forms as backing_file, the image files of the qcow2 forms are created;
Wherein, the image files of the raw forms include mounted operating system.
In addition, present invention also offers the device that a kind of batch creates virtual machine, including:
Receiving module, the instruction for receiving perform script file;
Performing module, for performing the script file, according to the virtual machine creating file pre-set to predetermined number
Virtual machine carry out batch establishment.
Optionally, the performing module, including:
Submodule is configured, for performing the script file, the xml document in the virtual machine creating file is to institute
The custom content during virtual machine creating is stated to be configured;Wherein, the custom content includes virtual machine title, described
The predetermined number of virtual machine creating and the resource allocation of the virtual machine;
Submodule is replicated, for the qcow2 forms in the virtual machine creating file by replicating the predetermined number
Image files, the operating system to the virtual machine installed, and the virtual machine of the predetermined number is created in batches.
Optionally, the device also includes:
Creation module, for by the use of the image files of raw forms as backing_file, creating the qcow2 forms
Image files;Wherein, the image files of the raw forms include mounted operating system.
The method that a kind of batch provided by the present invention creates virtual machine, including:Receive the instruction of perform script file;Hold
The row script file, batch establishment is carried out according to the virtual machine creating file pre-set to the virtual machine of predetermined number;
It can be seen that, the present invention is by perform script file, according to the virtual machine creating file pre-set to predetermined number
Virtual machine carries out batch establishment, and staff can be made once to configure the virtual machine that all batch is created, and reduces staff's
Workload, and the speed that batch creates virtual machine is accelerated, the time is saved, is that the deployment after sale of enterprise improves race
Power, reduces the error rate of manual configuration, is the reduction fault rate of deployment after sale of enterprise, wins mass force, and simplify and match somebody with somebody
Step is put, the requirement for staff is reduced, is the professional ability that enterprise reduces staff, professional power is won, carries
Consumer's Experience is risen.In addition, present invention also offers the device that a kind of batch creates virtual machine, equally with above-mentioned beneficial effect
Really.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
The embodiment of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis
The accompanying drawing of offer obtains other accompanying drawings.
The schematic flow sheet that Fig. 1 creates for KVM virtual machine batches in the prior art;
A kind of batch that Fig. 2 is provided by the embodiment of the present invention creates the flow chart of the method for virtual machine;
A kind of batch that Fig. 3 is provided by the embodiment of the present invention creates the operating process schematic diagram of the method for virtual machine;
A kind of batch that Fig. 4 is provided by the embodiment of the present invention creates the structure chart of the device of virtual machine.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
A part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Fig. 2 and Fig. 3 are refer to, a kind of batch that Fig. 2 is provided by the embodiment of the present invention creates the stream of the method for virtual machine
Cheng Tu;A kind of batch that Fig. 3 is provided by the embodiment of the present invention creates the operating process schematic diagram of the method for virtual machine.This method
It can include:
Step 101:Receive the instruction of perform script file.
Wherein, the finger for the perform script file that the instruction of perform script file can directly transmit for user or staff
Order;Can also be user or staff after the storage path of virtual machine creating file is configured, the perform script text of transmission
The instruction of part.As long as after the instruction that perform script file can be received, by next step perform script file, according to setting in advance
The virtual machine creating file put carries out batch establishment to the virtual machine of predetermined number, for perform script file instruction it is specific
Content, the present embodiment does not do any limitation.
That is, the method that the present embodiment is provided can also include storing virtual machine creating file to storage path
The step of corresponding position.
Step 102:Perform script file, enters according to the virtual machine creating file pre-set to the virtual machine of predetermined number
Row batch is created.
Wherein, virtual machine creating file can include xml document (virtual machine creating template file) and qcow2 forms
Image files, such as this step can be perform script file, and the xml document in virtual machine creating file is created to virtual machine
Custom content during building is configured;Qcow2 forms in virtual machine creating file by replicating predetermined number
Image files, the operating system to virtual machine is installed, and batch creates the virtual machine of predetermined number;Xml texts can also be included
Part, the image files of qcow2 forms and operating system ISO files;Alternative document can also be included.As long as in perform script
During file, that is, during virtual machine creating, the batch that virtual machine can be completed according to virtual machine creating file is created, for
The concrete composition of virtual machine creating file, the present embodiment does not do any limitation.
It is understood that the custom content of xml document configuration can be configured for needed for when batch creates virtual machine
Content, can include virtual machine title, the predetermined number of virtual machine creating and virtual machine resource allocation as CPU, in
Deposit, the configuration of the hardware foundation such as hard disk, can be by designer according to virtual machine creating mistake for the particular content of custom content
The content configured needed for journey is voluntarily set, and the present embodiment is unrestricted to this.
Specifically, for the specific acquisition modes and process of virtual machine creating file, can be by designer or user's root
Factually voluntarily set with scene and user's request, the present embodiment is unrestricted to this.Such as the xml in virtual machine creating file
The image files of file and qcow2 forms, can be obtained, such as staff can first prepare xml by the flow shown in Fig. 3
File;Xml document is defined again, virtual machine Global Information is configured, such as name, UUID values, memory size, CPU quantity are repaiied
Change system information such as system architecture, start medium, whether open the information such as options menu;Then a kind of raw form (files are created
Form) image files;Image files are defined, such as carry ISO configures Microsoft Loopback Adapter, defines virtual machine;Installation operation system
System, after operating system installation, installation system software, after the completion of by virtual machine raw forms image preserve;Image now
Included mounted operating system, it is possible to use the image of raw forms creates qcow2 forms as backing_file
Image.The present embodiment is unrestricted to this.
Wherein, the specific code of xml document can be with as follows:
<Domain type='kvm'># type of virtual machine
<name>%vmname%</name># virtual machine titles
<uuid>%uuid%</uuid># virtual machines uuid
<memory>%memory%</memory>Virutal machine memory
<currentMemory>%memory%</currentMemory>
<vcpu>%cpu%</vcpu># virtual machines CPU
<os># dummy machine systems are configured
<Type arch='x86_64'machine='pc-0.14'>hvm</type>
<Boot dev='hd'/>
<Bootmenu enable='yes'/>
</os>
<features>
<acpi/>
<apic/>
<pae/>
</features>
<Clock offset='localtime'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>restart</on_crash>
<devices>
<emulator>/usr/bin/kvm</emulator>
<Disk type='file'device='disk'># magnetic disk of virtual machine
<Driver name='qemu'type='qcow2'cache='none'/>Define the image of qcow2 forms<
Source file='%qcow2_image_path%'/>
<Target dev='vda'bus='virtio'/>
<Address type='pci'domain='0x0000'bus='0x00'slot='0x08'function
=' 0x0'/></disk>
<Disk type='file'device='cdrom'>
<Driver name='qemu'type='raw'cache='none'/>
<Source file="/>
<Target dev='hda'bus='ide'/>
<readonly/>
<Address type='drive'controller='0'bus='1'unit='0'/>
</disk>
<Controller type='ide'index='0'>
<Address type='pci'domain='0x0000'bus='0x00'slot='0x01'function
=' 0x1'/></controller>
<Controller type='fdc'index='0'/>
<Interface type='bridge'>
<Mac address='%mac%'/># defines virtual machine mac addresses
<Source bridge='%br%'/>
<Target dev='vnet0'/>
<Alias name='net0'/>
<Address type='pci'domain='0x0000'bus='0x00'slot='0x03'function
=' 0x0'/>
</interface>
<Serial type='pty'>
<Target port='0'/>
</serial>
<Console type='pty'>
<Target type='serial'port='0'/>
</console>
<Input type='tablet'bus='usb'/># defines USB
<Input type='mouse'bus='ps2'/># defines mouse type
<Graphics type='vnc'port='5900'autoport='yes'listen='0.0.0.0'
Keymap='en-us'>
<Listen type='address'address='0.0.0.0'/>
</graphics>
<Sound model='ich6'>
<Address type='pci'domain='0x0000'bus='0x00'slot='0x04'function
=' 0x0'/>
</sound>
<video>
<Model type='vga'vram='9216'heads='1'/>
<Address type='pci'domain='0x0000'bus='0x00'slot='0x02'function
=' 0x0'/>
</video>
<Memballoon model='virtio'>
<Address type='pci'domain='0x0000'bus='0x00'slot='0x05'function
=' 0x0'/>
</memballoon>
</devices>
</domain>
Wherein, the specific code of the image files of qcow2 forms can be with as follows:
<Disk type='file'device='cdrom'>
<Driver name='qemu'type='raw'cache='none'/>
<Source file='/datapool/iso/ubuntu-14.04.3-server-amd64.iso'/># is specified
ISO file paths
<Target dev='hda'bus='ide'/>
<readonly/>
<Address type='drive'controller='0'bus='1'unit='0'/>
</disk>
openssl rand-hex 6|sed's/(..)/1:/g;s/.$//'
40:d9:44:0c:55:ac
<Interface type='bridge'>
<Mac address='40:d9:44:0c:55:ac'/>
<Source bridge='br100'/>
<Target dev='vnet0'/>
<Alias name='net0'/>
<Address type='pci'domain='0x0000'bus='0x00'slot='0x03'function
=' 0x0'/>
</interface>
Wherein, this step can be that the image as replicated N parts of qcow2 forms in Fig. 3 is carried out by the execution of script file
File, creates the process of N number of virtual machine.
As long as right it is understood that the virtual machine of virtual machine creating quantity by the execution of script file, can be created
The detailed process performed in script file, the present embodiment does not do any limitation.
It should be noted that can be create_qcow2_vm.bash files for the content and type of script file,
Can also be alternative document, the present embodiment is unrestricted to this.
Specifically, the specific code such as the script file of create_qcow2_vm.bash files can be with as follows:
#!/bin/sh
for i in`seq 1 2`;do
# generation virtual machine configuration name variables
File=ubuntu14.04_vm $ { i } .xml
# definition correspondence virtual machine catalogue variables
Directory=ubuntu14.04_vm $ { i }
# defines qcow2 form image variables
Qcow2_disk=ubuntu14.04_vm $ { i } .qcow2
# creates virtual machine storing directory
mkdir-p/datapool/vm/$directory
# replicates KVM virtual machine templates configuration file to assigned catalogue
cp kvm_vm_qcow2_template.xml/datapool/vm/$directory/$file
# configures internal memory and CPU
Sed-i " s, %memory%, 1048576, g "/datapool/vm/ $ directory/ $ file
Sed-i " s, %cpu%, 1, g "/datapool/vm/ $ directory/ $ file
# configures virtual machine title
Sed-i " s, %vmname%, ubuntu14.04_vm $ { i }, g "/datapool/vm/ $ directory/ $ file
# generates UUID numbers and writes configuration file at random
Uuid=`uuidgen`
Sed-i " s, %uuid%, $ uuid, g "/datapool/vm/ $ directory/ $ file
# is under corresponding virtual machine catalogue, by the use of os_ubuntu14.04._temp.raw as backing_file, batch
Amount creates qcow2 disks (must write os_ubuntu14.04._temp.raw absolute path exactly here)
Qemu-img create-f qcow2-o cluster_size=2M, backing_file=/datapool/
temp_image/os_ubuntu14.04._temp.raw/datapool/vm/$directory/$qcow2_disk 40G
# configures qcow2 form image disks
Sed-i " s, %qcow2_image_path% ,/datapool/vm/ $ directory/ $ qcow2_disk, g "/
datapool/vm/$directory/$file
# configurations ISO (in fact can be without defining this, because our raw forms image has installed behaviour
Make system, so carrying out the installation of operating system without reloading ISO)
#sed-i " s, %iso_path% ,/datapool/iso/ubuntu-14.04.3-server-amd64.iso,
g"/datapool/vm/$directory/$file
# generates mac addresses and writes configuration file at random
Macaddr=" fa:92:$ (dd if=/dev/urandom count=1 2>/dev/null|md5sum|
sed's/^\(..\)\(..\)\(..\)\(..\).*$/\1:\2:\3:\4/')"
Sed-i " s, %mac%, $ macaddr, g "/datapool/vm/ $ directory/ $ file
# configuration Microsoft Loopback Adapter connection bridges
Sed-i " s, %br%, br100, g "/datapool/vm/ $ directory/ $ file
#----------------- is defined and startup virtual machine --- --- --- --- --- --- ----
# defines virtual machine
virsh define/datapool/vm/$directory/$file
# starts virtual machine
virsh start ubuntu14.04_vm${i}
done
It is understood that xml document configuration custom content can be with script file in this step code phase
Correspondence, the content that custom content can be configured needed for script file code, the present embodiment is unrestricted to this.
In the present embodiment, the embodiment of the present invention is by perform script file, according to the virtual machine creating file pre-set
Batch establishment is carried out to the virtual machine of predetermined number, staff can be made once to configure the virtual machine that all batch is created, subtracted
The workload of few staff, and the speed that batch creates virtual machine is accelerated, the time is saved, is that the deployment after sale of enterprise is carried
High race power, reduces the error rate of manual configuration, is the reduction fault rate of deployment after sale of enterprise, wins mass force, and
And configuration step is simplified, the requirement for staff is reduced, is the professional ability that enterprise reduces staff, wins
Professional power, improves Consumer's Experience.
Fig. 4 is refer to, a kind of batch that Fig. 4 is provided by the embodiment of the present invention creates the structure chart of the device of virtual machine.
The device can include:
Receiving module 100, the instruction for receiving perform script file;
Performing module 200, for perform script file, according to the virtual machine creating file pre-set to predetermined number
Virtual machine carries out batch establishment.
Optionally, performing module 200, can include:
Submodule is configured, for perform script file, the xml document in virtual machine creating file is to virtual machine creating
During custom content configured;Wherein, custom content includes virtual machine title, the predetermined number of virtual machine creating
And the resource allocation of virtual machine;
Submodule is replicated, the image texts for the qcow2 forms in the virtual machine creating file by replicating predetermined number
Part, the operating system to virtual machine is installed, and batch creates the virtual machine of predetermined number.
Optionally, the device can also include:
Creation module, for by the use of the image files of raw forms as backing_file, creating qcow2 forms
Image files;Wherein, the image files of raw forms include mounted operating system.
In the present embodiment, the embodiment of the present invention is virtual according to what is pre-set by the perform script file of performing module 200
Machine establishment file carries out batch establishment to the virtual machine of predetermined number, and staff can be made once to configure what all batches were created
Virtual machine, reduces the workload of staff, and accelerates the speed that batch creates virtual machine, saves the time, is enterprise
Deployment improves race power after sale, reduces the error rate of manual configuration, is the reduction fault rate of deployment after sale of enterprise, wins
Mass force, and configuration step is simplified, the requirement for staff is reduced, is the specialty that enterprise reduces staff
Ability, wins professional power, improves Consumer's Experience.
The embodiment of each in specification is described by the way of progressive, and what each embodiment was stressed is and other realities
Apply the difference of example, between each embodiment identical similar portion mutually referring to.For device disclosed in embodiment
Speech, because it is corresponded to the method disclosed in Example, so description is fairly simple, related part is referring to method part illustration
.
Professional further appreciates that, with reference to the unit of each example of the embodiments described herein description
And algorithm steps, can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware and
The interchangeability of software, generally describes the composition and step of each example according to function in the above description.These
Function is performed with hardware or software mode actually, depending on the application-specific and design constraint of technical scheme.Specialty
Technical staff can realize described function to each specific application using distinct methods, but this realization should not
Think beyond the scope of this invention.
Directly it can be held with reference to the step of the method or algorithm that the embodiments described herein is described with hardware, processor
Capable software module, or the two combination are implemented.Software module can be placed in random access memory (RAM), internal memory, read-only deposit
Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology
In any other form of storage medium well known in field.
The method and device that batch provided by the present invention creates virtual machine is described in detail above.Herein should
The principle and embodiment of the present invention are set forth with specific case, the explanation of above example is only intended to help and managed
Solve the method and its core concept of the present invention.It should be pointed out that for those skilled in the art, not departing from
On the premise of the principle of the invention, some improvement and modification can also be carried out to the present invention, these are improved and modification also falls into this hair
In bright scope of the claims.
Claims (6)
1. a kind of method that batch creates virtual machine, it is characterised in that including:
Receive the instruction of perform script file;
The script file is performed, batch wound is carried out to the virtual machine of predetermined number according to the virtual machine creating file pre-set
Build.
2. the method that batch according to claim 1 creates virtual machine, it is characterised in that the execution script text
Part, batch establishment is carried out according to the virtual machine creating file pre-set to the virtual machine of predetermined number, including:
The script file is performed, during the xml document in the virtual machine creating file is to the virtual machine creating
Custom content configured;Wherein, the custom content include virtual machine title, the virtual machine creating it is described pre-
If the resource allocation of quantity and the virtual machine;
The image files of the qcow2 forms in the virtual machine creating file by replicating the predetermined number, to the void
The operating system of plan machine is installed, and the virtual machine of the predetermined number is created in batches.
3. the method that batch according to claim 2 creates virtual machine, it is characterised in that the image of the qcow2 forms
The establishment process of file, including:
By the use of the image files of raw forms as backing_file, the image files of the qcow2 forms are created;Wherein,
The image files of the raw forms include mounted operating system.
4. a kind of batch creates the device of virtual machine, it is characterised in that including:
Receiving module, the instruction for receiving perform script file;
Performing module, for performing the script file, according to void of the virtual machine creating file pre-set to predetermined number
Plan machine carries out batch establishment.
5. batch according to claim 4 creates the device of virtual machine, it is characterised in that the performing module, including:
Submodule is configured, for performing the script file, the xml document in the virtual machine creating file is to the void
Custom content during plan machine is created is configured;Wherein, the custom content include virtual machine title, it is described virtual
The predetermined number and the resource allocation of the virtual machine that machine is created;
Submodule is replicated, for the qcow2 forms in the virtual machine creating file by replicating the predetermined number
Image files, the operating system to the virtual machine is installed, and the virtual machine of the predetermined number is created in batches.
6. batch according to claim 5 creates the device of virtual machine, it is characterised in that also include:
Creation module, for by the use of the image files of raw forms as backing_file, creating the qcow2 forms
Image files;Wherein, the image files of the raw forms include mounted operating system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710368165.8A CN107193633A (en) | 2017-05-23 | 2017-05-23 | A kind of batch creates the method and device of virtual machine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710368165.8A CN107193633A (en) | 2017-05-23 | 2017-05-23 | A kind of batch creates the method and device of virtual machine |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107193633A true CN107193633A (en) | 2017-09-22 |
Family
ID=59875332
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710368165.8A Pending CN107193633A (en) | 2017-05-23 | 2017-05-23 | A kind of batch creates the method and device of virtual machine |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107193633A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109101323A (en) * | 2018-09-10 | 2018-12-28 | 南京铱迅信息技术股份有限公司 | Snapshot implementing method based on qcow2 format under virtual machine operating status |
CN110704161A (en) * | 2019-09-27 | 2020-01-17 | 联想(北京)有限公司 | Virtual machine creation method and device and computer equipment |
CN110990117A (en) * | 2019-11-22 | 2020-04-10 | 北京浪潮数据技术有限公司 | Method, device and computer readable storage medium for deploying virtual machine |
WO2023092430A1 (en) * | 2021-11-25 | 2023-06-01 | 国云科技股份有限公司 | Virtual machine initialization method and apparatus, terminal device, and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105653348A (en) * | 2015-12-30 | 2016-06-08 | 深圳市创想天空科技股份有限公司 | Virtual machine clone method and system |
CN106155759A (en) * | 2015-03-26 | 2016-11-23 | 华为软件技术有限公司 | virtual machine batch creation method and device |
CN106528263A (en) * | 2016-10-21 | 2017-03-22 | 郑州云海信息技术有限公司 | A method for injecting metainformation into virtual machines and performing initialization in a virtualization environment |
-
2017
- 2017-05-23 CN CN201710368165.8A patent/CN107193633A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106155759A (en) * | 2015-03-26 | 2016-11-23 | 华为软件技术有限公司 | virtual machine batch creation method and device |
CN105653348A (en) * | 2015-12-30 | 2016-06-08 | 深圳市创想天空科技股份有限公司 | Virtual machine clone method and system |
CN106528263A (en) * | 2016-10-21 | 2017-03-22 | 郑州云海信息技术有限公司 | A method for injecting metainformation into virtual machines and performing initialization in a virtualization environment |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109101323A (en) * | 2018-09-10 | 2018-12-28 | 南京铱迅信息技术股份有限公司 | Snapshot implementing method based on qcow2 format under virtual machine operating status |
CN110704161A (en) * | 2019-09-27 | 2020-01-17 | 联想(北京)有限公司 | Virtual machine creation method and device and computer equipment |
CN110704161B (en) * | 2019-09-27 | 2022-05-31 | 联想(北京)有限公司 | Virtual machine creation method and device and computer equipment |
CN110990117A (en) * | 2019-11-22 | 2020-04-10 | 北京浪潮数据技术有限公司 | Method, device and computer readable storage medium for deploying virtual machine |
WO2023092430A1 (en) * | 2021-11-25 | 2023-06-01 | 国云科技股份有限公司 | Virtual machine initialization method and apparatus, terminal device, and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11314499B2 (en) | Simulating end-to-end upgrade process in production environment | |
EP3491519B1 (en) | Optimized uefi reboot process | |
Graziano | A performance analysis of Xen and KVM hypervisors for hosting the Xen Worlds Project | |
US20100262722A1 (en) | Dynamic Assignment of Graphics Processing Unit to a Virtual Machine | |
EP2479666B1 (en) | Methods and systems to display platform graphics during operating system initialization | |
CN107193633A (en) | A kind of batch creates the method and device of virtual machine | |
US20110113426A1 (en) | Apparatuses for switching the running of a virtual machine between multiple computer devices belonging to the same computer platform and the associated switching methods | |
US9495181B2 (en) | Creating a virtual appliance | |
CN104598294A (en) | Efficient and safe virtualization method for mobile equipment and equipment thereof | |
WO2016184320A1 (en) | Method and device for upgrading qemu online | |
US20040109017A1 (en) | Decoupled hardware configuration manager | |
CN104572165A (en) | UEFI (Unified Extensible Firmware Interface) firmware implementation method based on Feiteng server | |
CN104572161B (en) | A kind of UEFI firmware implementation methods based on Godson portable computer | |
CN106648827A (en) | Method for online adding virtual machine resources | |
US10223149B2 (en) | Implementing device models for virtual machines with reconfigurable hardware | |
CN111679889B (en) | Conversion migration method and system of virtual machine | |
CN114090171A (en) | Virtual machine creation method, migration method and computer readable medium | |
US9038077B1 (en) | Data transfer protection in a multi-tasking modeling environment | |
US20110314203A1 (en) | Resource adjustment methods and systems for virtual machines | |
CN104182271A (en) | Virtualization implementation method based on SW processor | |
CN114237814A (en) | Virtual machine migration method and device across virtualization platforms and computer equipment | |
WO2022036670A1 (en) | Methods and apparatus to perform an enhanced s3 protocol to update firmware with a boot script update | |
CN107861795A (en) | Method, system, device and the readable storage medium storing program for executing of analog physical TCM chips | |
US20210097184A1 (en) | Secure buffer for bootloader | |
US10241821B2 (en) | Interrupt generated random number generator states |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170922 |