CN106855820A - The CD hot-plug method and system of a kind of virtual machine - Google Patents

The CD hot-plug method and system of a kind of virtual machine Download PDF

Info

Publication number
CN106855820A
CN106855820A CN201611116228.2A CN201611116228A CN106855820A CN 106855820 A CN106855820 A CN 106855820A CN 201611116228 A CN201611116228 A CN 201611116228A CN 106855820 A CN106855820 A CN 106855820A
Authority
CN
China
Prior art keywords
virtual machine
libvirt
virtual
hot
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.)
Pending
Application number
CN201611116228.2A
Other languages
Chinese (zh)
Inventor
范日明
李文杰
林楷填
毛亮
黄仝宇
宋兵
宋一兵
汪刚
侯玉清
刘双广
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gosuncn Technology Group Co Ltd
Original Assignee
Gosuncn Technology Group 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 Gosuncn Technology Group Co Ltd filed Critical Gosuncn Technology Group Co Ltd
Priority to CN201611116228.2A priority Critical patent/CN106855820A/en
Publication of CN106855820A publication Critical patent/CN106855820A/en
Pending legal-status Critical Current

Links

Classifications

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

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 present invention relates to hot plug technology, more particularly, to the CD hot-plug method and system of a kind of virtual machine.Method includes:Libvirt api, libvirt is called to create the virtual machine with virtual drive according to configuration file;Virtual machine information according to creating updates the data storehouse record;Share directory is provided with CD resources sharing storage region, optical file is uploaded in share directory;Using the media file switching interface of virsh instruments, insertion or ejection CD order are performed, completed to the CD hot plug operations in share directory.Different hypervisor is used uniformly across libvirt interfaces and is managed in the present invention, shields the difference of hypervisor.And the method for the present invention completes the hot plug of CD by the virtual drive of virtual machine, it is not necessary to the support of hardware CD-ROM drive, high efficiency, flexible CD warm connection function are realized.

Description

The CD hot-plug method and system of a kind of virtual machine
Technical field
The present invention relates to hot plug technology, more particularly, to the CD hot-plug method and system of a kind of virtual machine.
Background technology
Virtual machine(Virtual Machine)Refer to by software simulation it is with complete hardware system function, operate in Complete computer in one completely isolated environment.
Image file is the file for being combined into data and program, its in future source material by after form conversion in hard disk On be saved as with the duplicate file of purpose CD content, this file is then carved into CD in one to one corresponding mode In.Image file is a kind of complete copy file of optical file information, and it includes all information of CD, it is necessary to special is virtual CD-ROM drive software is loaded into this kind of image file and is read out.
Compact disc image files are also Disc image file, formal only one of which file, storage format and optical file phase Together, it is possible to the content of true reflection CD, it can be created by imprinting software or image file tools.Image file Form have many kinds, one of which is international standard ISO9660, and the compact disc image files for meeting this standard are typically with iso Extension name, iso is CD mirroring form the most general, can be supported by most of imprinting softwares and virtual drive software.
Current operation of the virtual machine to CD, carry is carried out generally by ISO optical files are directly accessed.But this side Formula needs copied files or dummy machine system shared storage environment, and operation and managerial efficiency are all very low.In order to improve behaviour Make efficiency, the method for use is mainly and virtual management layer is optimized at present, specifically includes:
One is, for xen virtual machines, is supported using the configuration of xenstore and the loop equipment of linux, by way of carry Realize.This mode is specifically to utilize Xenserver(Virtualized server)In xenstore provide that a kind of virtual machine is shared to be deposited The support of storage, loop equipment carries, but generally virtualization are carried out to the ISO optical files of xenstore by xen administration orders Management platform needs to support polytype hypervisor that this scheme is only applicable to xen, and can bring asking for compatibility Topic, also needs to additionally install virtual drive support for windows system virtual machines.
Two are, hardware CD-ROM drive is distributed to virtual machine to be used, and the plug of entity optical disc medium is mapped to virtual machine operations. Hardware CD-ROM drive is distributed directly to virtual machine and uses, if multiple virtual machines need to be supported using the plug of CD simultaneously, this side Formula is still limited by hardware resource distribution limitation.
It can be seen that, although above two scheme solves the efficiency of CD hot plug operations, but to specific Hypervisor relies on excessive, or need to support the exclusive of hardware CD-ROM drive, flexibility and hardware resource in management Using above bearing very big cost.
The content of the invention
The present invention is to overcome at least one defect described in above-mentioned prior art(It is not enough), there is provided a kind of high efficiency, flexibly Virtual machine CD hot-plug method.
The present invention also provides a kind of high efficiency, the CD hot plug system of flexible virtual machine.
In order to solve the above technical problems, technical scheme is as follows:
A kind of CD hot-plug method of virtual machine, including:
Libvirt api, libvirt is called to create the virtual machine with virtual drive according to configuration file;
Virtual machine information according to creating updates the data storehouse record;
Share directory is provided with CD resources sharing storage region, optical file is uploaded in share directory;
Using the media file switching interface of virsh instruments, insertion or ejection CD order are performed, completed in share directory CD hot plug operations.
Libvirt is the Virtual Machine Manager storehouse increased income, and it supports various hypervisor, including Xen, KVM, QEMU With some virtual products for other operating systems, unified api interfaces are externally provided.The present invention is by calling libvirt Api carry out the management of virtual machine, the type of hypervisor by configure specified during xml document but hypervisor type Unrestricted, different hypervisor is used uniformly across libvirt interfaces and is managed, and shields the difference of hypervisor. And optical file is uploaded in the share directory of CD resources sharing storage region so that optical file can be across physical node Shared, different physical machines can access the optical file of same storage region, so as to reduce management cost.Additionally, this The method of invention completes the hot plug of CD by the virtual drive of virtual machine, it is not necessary to the support of hardware CD-ROM drive, realizes efficient Rate, flexible CD warm connection function.
In such scheme, libvirt api, libvirt is called to create the virtual machine with virtual drive according to configuration file Specific steps include:
Configuration xml document, specifies hypervisor types;
Configuration xml document, is virtual machine distribution virtual drive;
A physical machine node is selected, the libvirt on the physical machine node is connected remotely to;
Call libvirt api create virtual machine, libvirt according to the configuration of xml document determine hypervisor types and Virtual drive, creates the virtual machine with virtual drive.
In such scheme, CD resources sharing storage region is built by NFS, glusterfs or SAN mode.
In such scheme, the specific steps that the CD in share directory completes the hot insertion operation in hot plug are included:
Inquiry database, the physical machine node where obtaining virtual machine;
It is connected remotely to the libvirt on physical machine node;
The change-media interfaces of libvirt are called, specifies optical file to distribute to virtual machine with inserted mode, complete CD Insertion operation.
In such scheme, the specific steps that the CD in share directory completes the hot drawing division operation in hot plug are included:
Inquiry database, the physical machine node where obtaining virtual machine;
It is connected remotely to the libvirt on physical machine node;
The change-media interfaces of libvirt are called, optical file is ejected to eject mode, completed CD and pull out operation.
A kind of CD hot plug system of virtual machine, including:
Virtual machine creating module, for calling libvirt api, libvirt to create the void with virtual drive according to configuration file Plan machine;
Database update module, for updating the data storehouse record according to the virtual machine information for creating;
Optical file processing module, the share directory for optical file to be uploaded to CD resources sharing storage region;
CD hot plug module, for the media file switching interface using virsh instruments, performs insertion or ejection CD life Order, completes to the CD hot plug operations in share directory.
Libvirt is the Virtual Machine Manager storehouse increased income, and it supports various hypervisor, including Xen, KVM, QEMU With some virtual products for other operating systems, unified api interfaces are externally provided.The present invention is by calling libvirt Api carry out the management of virtual machine, the type of hypervisor specified when configuring xml document by virtual machine creating module but The type of hypervisor is unrestricted, and different hypervisor is used uniformly across libvirt interfaces and is managed, shielding The difference of hypervisor.And optical file is uploaded to being total to for CD resources sharing storage region by optical file processing module In enjoying catalogue so that optical file can be shared across physical node, and different physical machines can access same storage region Optical file, so as to reduce management cost.Additionally, system of the invention completes the heat of CD by the virtual drive of virtual machine Plug, it is not necessary to the support of hardware CD-ROM drive, realizes high efficiency, flexible CD warm connection function.
In such scheme, virtual machine creating module is specifically included:
Xml file configuration modules, for configuring xml document, specify hypervisor types and for virtual machine distributes virtual drive;
Far call module, for selecting a physical machine node, is connected remotely to the libvirt on the physical machine node;
Creation module, for calling libvirt api to create virtual machine, libvirt determines according to the configuration of xml document Hypervisor types and virtual drive, create the virtual machine with virtual drive.
In such scheme, CD resources sharing storage region is built by NFS, glusterfs or SAN mode.
In such scheme, CD hot plug module is specifically included:
Enquiry module, for inquiring about database, the physical machine node where obtaining virtual machine;
Long-range link block, for the libvirt being connected remotely on physical machine node;
Hot-swappable module, the change-media interfaces for calling libvirt specify optical file to distribute to inserted mode Virtual machine, completes CD insertion operation;And, the change-media interfaces of libvirt are called, eject CD to eject mode File, completes CD and pulls out operation.
The present invention is used uniformly across libvirt interfaces and is managed to different hypervisor, shields virtualization layer The difference of hypervisor, optical file can be shared across physical machine, it is not necessary to the support of hardware CD-ROM drive, realizes high efficiency, spirit CD warm connection function living.And the shared storage of cross-node of the present invention so that can access same in different physical machines The optical file of individual storage region, so as to reduce management cost.
Brief description of the drawings
Fig. 1 is a kind of flow chart of the CD hot-plug method specific embodiment of virtual machine of the invention.
Fig. 2 is a kind of logical architecture figure of the CD hot-plug method specific embodiment of virtual machine of the invention.
Fig. 3 is a kind of Organization Chart of the CD hot plug system specific embodiment of virtual machine of the invention.
Specific embodiment
Accompanying drawing being for illustration only property explanation, it is impossible to be interpreted as the limitation to this patent;
In order to more preferably illustrate the present embodiment, accompanying drawing some parts have omission, zoom in or out, and do not represent the chi of actual product It is very little;
To those skilled in the art, some known features and its explanation may be omitted and will be understood by accompanying drawing.
In the description of the invention, it is to be understood that additionally, term " first ", " second " are only used for describing purpose, and It is not intended that indicating or implying relative importance or imply the quantity of indicated technical characteristic.Thus, " first " of restriction, One or more this feature can be expressed or be implicitly included to the feature of " second ".In the description of the invention, unless separately It is described, " multiple " is meant that two or more.
In the description of the invention, it is necessary to illustrate, unless otherwise clearly defined and limited, term " installation ", " company Connect " should be interpreted broadly, for example, it may be being fixedly connected, or being detachably connected, or it is integrally connected;It can be machine Tool is connected, or electrically connected;It can be joined directly together, or be indirectly connected with by intermediary, it may be said that two The connection of element internal.For the ordinary skill in the art, with concrete condition above-mentioned term can be understood in the present invention Concrete meaning.
Technical scheme is described further with reference to the accompanying drawings and examples.
Embodiment 1
As shown in figure 1, the flow chart of the CD hot-plug method specific embodiment for a kind of virtual machine of the invention.Referring to Fig. 1, this A kind of specific steps of the CD hot-plug method of virtual machine of specific embodiment include:
S110. libvirt api, libvirt is called to create the virtual machine with virtual drive according to configuration file.In this step Resources of virtual machine is defined using the xml configuration files of Libvirt, specific steps include:
S111. xml document is configured, hypervisor types are specified;
S112. xml document is configured, is virtual machine distribution virtual drive;
S113. a physical machine node is selected, the libvirt on the physical machine node is connected remotely to;
S114. libvirt api are called to create virtual machine, libvirt determines hypervisor types according to the configuration of xml document And virtual drive, create the virtual machine with virtual drive.
When implementing, described for distributing a virtual drive comprising following in configuration file:
<disk type='block' device='cdrom'>
<driver name='qemu' type='raw'/>
<target dev='hdr' bus='ide'/>
<readonly/>
</disk>
Wherein driver name is specified according to different hypervisor, and QEMU conducts are used in this example Hypervisor, need to such as be switched to other hypervisor, and the configuration for changing xml document can be completed.
Performing virsh create guest.xml can create a virtual machine with virtual drive.
The virtual machine for being created is actually to operate in be mounted with the physical machine node of libvirt, and libvirt is only right The virtual machine operated in this physical machine is managed.
S210. storehouse record is updated the data according to the virtual machine information for creating;Database is created in system deployment with mysql Physical machine on, by system remote connected reference.By this step, the information of virtual machine can be recorded in database, convenient Subsequent step obtains virtual machine information.
S310. share directory is provided with CD resources sharing storage region, optical file is uploaded in share directory;CD Resource-sharing storage region is specified in environmental structure, can be NFS, glusterfs or SAN mode.Use in this example NFS, optical file is uploaded and deletion action can be completed by calling service interface.Created in CD resources sharing storage region A share directory/source/media/ is built, during optical file uploaded into this catalogue, hypervisor is visited with read-only mode Ask optical file, therefore multiple virtual machines while can be independent of each other when accessing optical file, this mode ensure that same light Disk file can be used by multiple virtual machines simultaneously, based on this, it is possible to achieve the shared storage of cross-node, on different virtual machines The optical file of same storage region can be accessed, management cost is reduced.
S410. using the media file switching interface of virsh instruments, insertion or ejection CD order are performed, it is right to complete CD hot plug operations in share directory.Specifically, heat insertion and hot drawing division operation during CD is hot-swappable are specially:
(1)Hot insertion operation
Inquiry database, the physical machine node where obtaining virtual machine;
It is connected remotely to the libvirt on physical machine node;
The change-media interfaces of libvirt are called, specifies optical file to distribute to virtual machine with inserted mode, complete CD Insertion operation;
(2)Hot drawing division operation:
Inquiry database, the physical machine node where obtaining virtual machine;
It is connected remotely to the libvirt on physical machine node;
The change-media interfaces of libvirt are called, optical file is ejected to eject mode, completed CD and pull out operation.
Step S410 performs an order, you can realize to sharing mesh using the media file switching interface of virsh instruments CD in record carries out hot plug operations, and specific instructions are:
Insertion CD:Perform virsh guest1 hdr change-media -- insert/source/media/ test.iso
Ejection CD:Perform virsh guest1 hdr change-media -- eject.
As shown in Fig. 2 the logical construction schematic diagram of the CD hot-plug method for a kind of virtual machine of this specific embodiment.Ginseng See Fig. 2, the layering logic layers include interface layer, management level and virtual machine, interface layer provides service interface, and management level are provided with physics Machine, CD resources sharing storage region specified type in environmental structure such as uses NFS, optical file to upload and deletion action Can by calling interface layer service interface complete, created in CD resources sharing storage region a share directory/ Source/media/ carrys out stored CD file.Virtual machine is to operate in be mounted with the physical machine node of libvirt, Virtual machines of the libvirt only to operating in this physical machine is managed, and the information of virtual machine can be recorded in database.
The method of this specific embodiment is used uniformly across libvirt interfaces and is managed to different hypervisor, shielding The difference of virtualization layer hypervisor, optical file can be shared across physical machine, it is not necessary to the support of hardware CD-ROM drive, realizes High efficiency, flexible CD warm connection function.And the shared storage of cross-node of the present invention so that can be in different physical machines The optical file of same storage region is accessed, so as to reduce management cost.
Embodiment 2
On the basis of embodiment 1, present invention also offers a kind of CD hot plug system of virtual machine.Referring to Fig. 3, this is specific A kind of CD hot plug system of virtual machine of embodiment specifically include virtual machine creating module 510, database update module 610, Optical file processing module 710 and CD hot plug module 810;Specifically:
Virtual machine creating module 510, for calling libvirt api, libvirt to create band virtual drive according to configuration file Virtual machine.Specifically, virtual machine creating module evidence includes:
Xml file configuration modules, for configuring xml document, specify hypervisor types and for virtual machine distributes virtual drive; When implementing, described for distributing a virtual drive comprising following in configuration file:
<disk type='block' device='cdrom'>
<driver name='qemu' type='raw'/>
<target dev='hdr' bus='ide'/>
<readonly/>
</disk>
Wherein driver name is specified according to different hypervisor, and QEMU conducts are used in this example Hypervisor, need to such as be switched to other hypervisor, and the configuration for changing xml document can be completed.
Far call module, for selecting a physical machine node, is connected remotely on the physical machine node libvirt;
Creation module, for calling libvirt api to create virtual machine, libvirt determines according to the configuration of xml document Hypervisor types and virtual drive, create the virtual machine with virtual drive.When implementing, virsh create are performed Guest.xml creates a virtual machine with virtual drive.
Database update module 610, for updating the data storehouse record according to the virtual machine information for creating;The information of virtual machine Can record in database, convenient inquiry virtual machine information.
Optical file processing module 710, the shared mesh for optical file to be uploaded to CD resources sharing storage region Record.CD resources sharing storage region is specified in environmental structure, can be NFS, glusterfs or SAN mode.In this example Using NFS, optical file processing module 710 can be uploaded and deletion action by calling service interface to complete optical file. Being created in CD resources sharing storage region has a share directory/source/media/, and optical file is uploaded into this catalogue In, hypervisor accesses optical file, therefore multiple virtual machines while can mutually not when accessing optical file with read-only mode Influence, this mode ensure that same optical file can be used by multiple virtual machines simultaneously, based on this, it is possible to achieve cross-node Shared storage, can access the optical file of same storage region on different virtual machines, reduce management cost.
CD hot plug module 810, for the media file switching interface using virsh instruments, performs insertion or bullet Go out CD order, complete to the CD hot plug operations in share directory.It is specifically included:
Enquiry module, for inquiring about database, the physical machine node where obtaining virtual machine;
Long-range link block, for the libvirt being connected remotely on physical machine node;
Hot-swappable module, the change-media interfaces for calling libvirt specify optical file to distribute to inserted mode Virtual machine, completes CD insertion operation;And, the change-media interfaces of libvirt are called, eject CD to eject mode File, completes CD and pulls out operation.
System of the invention is managed collectively to different hypervisor interfaces, shields the difference of hypervisor, Optical file can across physical machine nodes sharing so that the CD of same storage region can be accessed in different physical machines File, so as to reduce management cost.At the same time, the method does not need the support of hardware CD-ROM drive, realizes high efficiency, flexible CD warm connection function.
The same or analogous part of same or analogous label correspondence;
Position relationship for the explanation of being for illustration only property described in accompanying drawing, it is impossible to be interpreted as the limitation to this patent;
Obviously, the above embodiment of the present invention is only intended to clearly illustrate example of the present invention, and is not to this hair The restriction of bright implementation method.For those of ordinary skill in the field, can also do on the basis of the above description Go out the change or variation of other multi-forms.There is no need and unable to be exhaustive to all of implementation method.It is all in the present invention Spirit and principle within any modification, equivalent and the improvement made etc., should be included in the guarantor of the claims in the present invention Within the scope of shield.

Claims (9)

1. the CD hot-plug method of a kind of virtual machine, it is characterised in that including:
Libvirt api, libvirt is called to create the virtual machine with virtual drive according to configuration file;
Virtual machine information according to creating updates the data storehouse record;
Share directory is provided with CD resources sharing storage region, optical file is uploaded in share directory;
Using the media file switching interface of virsh instruments, insertion or ejection CD order are performed, completed in share directory CD hot plug operations.
2. the CD hot-plug method of virtual machine according to claim 1, it is characterised in that call libvirt api, Libvirt includes according to the specific steps that configuration file creates the virtual machine with virtual drive:
Configuration xml document, specifies hypervisor types;
Configuration xml document, is virtual machine distribution virtual drive;
A physical machine node is selected, the libvirt on the physical machine node is connected remotely to;
Call libvirt api create virtual machine, libvirt according to the configuration of xml document determine hypervisor types and Virtual drive, creates the virtual machine with virtual drive.
3. the CD hot-plug method of virtual machine according to claim 1, it is characterised in that CD resources sharing memory block Built by NFS, glusterfs or SAN mode in domain.
4. the CD hot-plug method of virtual machine according to claim 1, it is characterised in that to the CD in share directory The specific steps for completing the hot insertion operation in hot plug include:
Inquiry database, the physical machine node where obtaining virtual machine;
It is connected remotely to the libvirt on physical machine node;
The change-media interfaces of libvirt are called, specifies optical file to distribute to virtual machine with inserted mode, complete CD Insertion operation.
5. the CD hot-plug method of the virtual machine according to claim any one of 1-4, it is characterised in that to share directory In the specific steps of hot drawing division operation that complete in hot plug of CD include:
Inquiry database, the physical machine node where obtaining virtual machine;
It is connected remotely to the libvirt on physical machine node;
The change-media interfaces of libvirt are called, optical file is ejected to eject mode, completed CD and pull out operation.
6. the CD hot plug system of a kind of virtual machine, it is characterised in that including:
Virtual machine creating module, for calling libvirt api, libvirt to create the void with virtual drive according to configuration file Plan machine;
Database update module, for updating the data storehouse record according to the virtual machine information for creating;
Optical file processing module, the share directory for optical file to be uploaded to CD resources sharing storage region;
CD hot plug module, for the media file switching interface using virsh instruments, performs insertion or ejection CD life Order, completes to the CD hot plug operations in share directory.
7. the CD hot plug system of virtual machine according to claim 6, it is characterised in that virtual machine creating module is specific Including:
Xml file configuration modules, for configuring xml document, specify hypervisor types and for virtual machine distributes virtual drive;
Far call module, for selecting a physical machine node, is connected remotely to the libvirt on the physical machine node;
Creation module, for calling libvirt api to create virtual machine, libvirt determines according to the configuration of xml document Hypervisor types and virtual drive, create the virtual machine with virtual drive.
8. the CD hot plug system of virtual machine according to claim 6, it is characterised in that CD resources sharing memory block Built by NFS, glusterfs or SAN mode in domain.
9. the CD hot plug system of the virtual machine according to claim any one of 6-8, it is characterised in that CD hot plug Module is specifically included:
Enquiry module, for inquiring about database, the physical machine node where obtaining virtual machine;
Long-range link block, for the libvirt being connected remotely on physical machine node;
Hot-swappable module, the change-media interfaces for calling libvirt specify optical file to distribute to inserted mode Virtual machine, completes CD insertion operation;And, the change-media interfaces of libvirt are called, eject CD to eject mode File, completes CD and pulls out operation.
CN201611116228.2A 2016-12-07 2016-12-07 The CD hot-plug method and system of a kind of virtual machine Pending CN106855820A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611116228.2A CN106855820A (en) 2016-12-07 2016-12-07 The CD hot-plug method and system of a kind of virtual machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611116228.2A CN106855820A (en) 2016-12-07 2016-12-07 The CD hot-plug method and system of a kind of virtual machine

Publications (1)

Publication Number Publication Date
CN106855820A true CN106855820A (en) 2017-06-16

Family

ID=59125790

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611116228.2A Pending CN106855820A (en) 2016-12-07 2016-12-07 The CD hot-plug method and system of a kind of virtual machine

Country Status (1)

Country Link
CN (1) CN106855820A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108536515A (en) * 2018-03-02 2018-09-14 武汉噢易云计算股份有限公司 The virtual machine of VDI plays the method and system of the music CD of client computer
CN112015520A (en) * 2020-09-14 2020-12-01 支付宝(杭州)信息技术有限公司 Data uploading system and method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105573820A (en) * 2015-12-15 2016-05-11 国云科技股份有限公司 Hot plug method for Xen virtual machine compact disc

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105573820A (en) * 2015-12-15 2016-05-11 国云科技股份有限公司 Hot plug method for Xen virtual machine compact disc

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
劳福喜: "kvm-在virsh环境中改变CD媒介", 《HTTPS://WWW.LAOFUXI.COM/494.HTML》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108536515A (en) * 2018-03-02 2018-09-14 武汉噢易云计算股份有限公司 The virtual machine of VDI plays the method and system of the music CD of client computer
CN108536515B (en) * 2018-03-02 2021-10-01 武汉噢易云计算股份有限公司 Method and system for playing music CD of client by virtual machine of VDI
CN112015520A (en) * 2020-09-14 2020-12-01 支付宝(杭州)信息技术有限公司 Data uploading system and method
CN112015520B (en) * 2020-09-14 2024-06-07 支付宝(杭州)信息技术有限公司 Data uploading system and method

Similar Documents

Publication Publication Date Title
US11061584B2 (en) Profile-guided data preloading for virtualized resources
CN102834822B (en) By trooping of sharing of virtual machine quick-full backup
US10908892B2 (en) Generating and deploying object code files compiled on build machines
US10936553B2 (en) Intelligent file system with transparent storage tiering
US8122212B2 (en) Method and apparatus for logical volume management for virtual machine environment
US8370835B2 (en) Method for dynamically generating a configuration for a virtual machine with a virtual hard disk in an external storage device
US10838914B2 (en) Chain file system
US7421556B2 (en) Method and apparatus for migrating data between heterogeneous data storage devices
CN101650660B (en) Booting a computer system from central storage
US8060703B1 (en) Techniques for allocating/reducing storage required for one or more virtual machines
CN104011677B (en) Method and system for deployment of a software image on multiple targets with streaming technique
US10956593B2 (en) Sharing of data among containers running on virtualized operating systems
US7962672B1 (en) Techniques for data storage configuration
US11321007B2 (en) Deletion of volumes in data storage systems
CN105408864A (en) Data processing
US20190140905A1 (en) Increasing reusability of and reducing storage resources requred for virtial machine images
CN110806911B (en) Cloud desktop management and control method, device and system
EP1637987A2 (en) Operation environment associating data migration method
US20170277439A1 (en) Techniques for Path Optimization in Storage Networks
CN101387989A (en) Computer system and method for constructing virtual storage device based on sectorization management
US8700846B2 (en) Multiple instances of mapping configurations in a storage system or storage appliance
US11068353B1 (en) Systems and methods for selectively restoring files from virtual machine backup images
CN106855820A (en) The CD hot-plug method and system of a kind of virtual machine
US10915272B2 (en) Data management in shared storage systems including movement of logical units of data and mapping of virtual devices to storage device groups, wherein the movement and the mapping are, both, based on policy specifying that backup data type cannot be shared with other data types
CN106528226A (en) Operation system installation method and apparatus

Legal Events

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

Application publication date: 20170616

RJ01 Rejection of invention patent application after publication