CN108733383A - A kind of XenServer virtual machines are loaded into method, the system of CD ISO files - Google Patents

A kind of XenServer virtual machines are loaded into method, the system of CD ISO files Download PDF

Info

Publication number
CN108733383A
CN108733383A CN201810275503.8A CN201810275503A CN108733383A CN 108733383 A CN108733383 A CN 108733383A CN 201810275503 A CN201810275503 A CN 201810275503A CN 108733383 A CN108733383 A CN 108733383A
Authority
CN
China
Prior art keywords
vdi
vbd
virtual machine
iso files
cloud management
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
CN201810275503.8A
Other languages
Chinese (zh)
Other versions
CN108733383B (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.)
Guangdong Ruijiang Cloud Computing Co Ltd
Guangdong Eflycloud Computing Co Ltd
Original Assignee
Guangdong Ruijiang Cloud Computing 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 Guangdong Ruijiang Cloud Computing Co Ltd filed Critical Guangdong Ruijiang Cloud Computing Co Ltd
Priority to CN201810275503.8A priority Critical patent/CN108733383B/en
Publication of CN108733383A publication Critical patent/CN108733383A/en
Application granted granted Critical
Publication of CN108733383B publication Critical patent/CN108733383B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)
  • Stored Programmes (AREA)

Abstract

A kind of method that XenServer virtual machines are loaded into CD ISO files, step A:User uses specified CD ISO files in cloud management dispatching platforms virtual machine;Step B:Cloud management platform is by calling XenAPI to check whether device numbering has connection VDI for the VBD equipment of 3 CD types on virtual machine;Step C;The VDI equipment for being connected it if cloud management platform if the VBD equipment has connection VDI is extracted;Cloud management platform directly searches the VDI corresponding to specified CD ISO files if the VBD equipment does not connect VDI;Step D:The VDI is inserted into the CD type VBD equipment that virtual machine facility number is 3 by cloud management platform by calling XenAPI to search the VDI corresponding to specified CD ISO files after finding;Step E:Virtual machine finds to specify CD ISO files and uses CD ISO files automatically.The present invention realizes XenServer virtual machines when being loaded into CD ISO files, regardless of whether having, installation XenServer Tools need not restart or hot plug, virtual machine can find specified CD ISO files.

Description

A kind of XenServer virtual machines are loaded into method, the system of CD ISO files
Technical field
The present invention relates to the sides that virtual machine field more particularly to a kind of XenServer virtual machines are loaded into CD ISO files Method, system.
Background technology
It is carried when XenServer virtual machines need replacing ISO files in the case of carry multiple CD ISO files Fashionable, there are two types of ways at present:
1, cold plug is carried out in the case where XenServer virtual machines are fitted without XenServer Tools to replace, Virtual machine is needed to be switched on or restart;
2, the VBD heat provided using XenAPI in the case where XenServer virtual machines have installation XenServer Tools Connecting-disconnecting interface all extracts the CD-ROM drive of virtual machine carry, then the CD-ROM drive that is loaded into will be needed to be mounted to void for first again Quasi- machine.
Both the above way has the following disadvantages:It is incompatible that whether there is or not installation XenServer Tools, cumbersome, effects Rate is low.
Invention content
It is real it is an object of the invention to propose that a kind of XenServer virtual machines are loaded into method, the system of CD ISO files Existing XenServer virtual machines are when being loaded into CD ISO files, regardless of whether there is installation XenServer Tools that need not all weigh It opens or hot plug, virtual machine can find specified CD ISO files.
For this purpose, the present invention uses following technical scheme:
A kind of method that XenServer virtual machines are loaded into CD ISO files, it is real using VDI in XenServer virtual machines Disk image in exampleization physical store is associated VDI and virtual machine by VBD, and there are one device numbering categories by the VBD Property, it sorts from 0 to 6, there are one CD type VBD, the VBD that device numbering is 3 for acquiescence band when creating for XenServer virtual machines Acquiescence is without connection VDI;
Process including being loaded into CD ISO files:
Step A:User uses specified CD ISO files in cloud management dispatching platforms virtual machine;
Step B:Cloud management platform is by calling XenAPI to check that device numbering sets for the VBD of 3 CD types on virtual machine It is standby whether to have connection VDI;
Step C;The VDI equipment for being connected it if cloud management platform if the VBD equipment has connection VDI is extracted;If should VBD equipment does not connect the VDI then direct VDI searched corresponding to specified CD ISO files of cloud management platform;
Step D:Cloud management platform is by calling XenAPI to search the VDI corresponding to specified CD ISO files, after finding The VDI is inserted into the CD type VBD equipment that virtual machine facility number is 3;
Step E:Virtual machine finds to specify CD ISO files and uses CD ISO files automatically.
Preferably, if cloud management platform checks that the CD type VBD equipment that virtual machine facility number is 3 has connection VDI, cloud Management platform is by calling the VBD interfaces eject that XenAPI is provided to extract the VDI equipment connected.
Preferably, the cloud management platform finds the VDI corresponding to specified CD ISO files, and uses XenAPI The VDI is inserted into the CD type VBD equipment that virtual machine facility number is 3 by the VBD connections VDI interfaces insert of offer.
A kind of XenServer virtual machines loading CD ISO file system, including VDI connecting detections module, VDI are inserted into VBD Module;
The VDI connecting detections module, for using specified CD ISO in cloud management dispatching platforms virtual machine as user When file, by calling XenAPI to check whether device numbering has connection VDI for the VBD equipment of 3 CD types on virtual machine;
The VDI is inserted into VBD modules, is found for the cloud management platform corresponding to specified CD ISO files VDI, and the VDI is inserted into the CD classes that virtual machine facility number is 3 by the VBD connections VDI interfaces insert provided using XenAPI Type VBD equipment.
Description of the drawings
Fig. 1 is the flow chart of the replacement CD ISO files of the present invention;
Wherein:VBD- Virtual Block Devices, VDI- virtual disk images.
Specific implementation mode
Technical solution to further illustrate the present invention below with reference to the accompanying drawings and specific embodiments.
The method that a kind of XenServer virtual machines of the present embodiment are loaded into CD ISO files, in XenServer virtual machines The middle disk image instantiated using VDI in physical store, is associated VDI and virtual machine by VBD, the VBD has one A device numbering attribute sorts from 0 to 6, and there are one the CD that device numbering is 3 for acquiescence band when creating for XenServer virtual machines Type VBD, the VBD acquiescence are without connection VDI;
As shown in Figure 1, the process including being loaded into CD ISO files:
Step A:User uses specified CD ISO files in cloud management dispatching platforms virtual machine;
Step B:Cloud management platform is by calling XenAPI to check that device numbering sets for the VBD of 3 CD types on virtual machine It is standby whether to have connection VDI;
Step C;The VDI equipment for being connected it if cloud management platform if the VBD equipment has connection VDI is extracted;If should VBD equipment does not connect the VDI then direct VDI searched corresponding to specified CD ISO files of cloud management platform;
Step D:Cloud management platform is by calling XenAPI to search the VDI corresponding to specified CD ISO files, after finding The VDI is inserted into the CD type VBD equipment that virtual machine facility number is 3;
Step E:Virtual machine finds to specify CD ISO files and uses CD ISO files automatically.
By using XenServer virtual machines create when acquiescence band there are one device numbering be 3 CD types VBD this Feature, and VDI interfaces are plugged using the VBD of XenAPI, to realize regardless of whether there is installation XenServer Tools situations Under, need not all it restart or hot plug, virtual machine just can find specified CD automatically, and be loaded into CD ISO files, operation side Just.
Compatible whether there is or not the XenServer virtual machines of installation XenServer Tools to realize, raising virtual machine uses effect Rate promotes the user experience of cloud computing management platform.
Preferably, if cloud management platform checks that the CD type VBD equipment that virtual machine facility number is 3 has connection VDI, cloud Management platform is by calling the VBD interfaces eject that XenAPI is provided to extract the VDI equipment connected.
Preferably, the cloud management platform finds the VDI corresponding to specified CD ISO files, and uses XenAPI The VDI is inserted into the CD type VBD equipment that virtual machine facility number is 3 by the VBD connections VDI interfaces insert of offer.
A kind of XenServer virtual machines loading CD ISO file system, including VDI connecting detections module, VDI are inserted into VBD Module;
The VDI connecting detections module, for using specified CD ISO in cloud management dispatching platforms virtual machine as user When file, by calling XenAPI to check whether device numbering has connection VDI for the VBD equipment of 3 CD types on virtual machine;
The VDI is inserted into VBD modules, is found for the cloud management platform corresponding to specified CD ISO files VDI, and the VDI is inserted into the CD classes that virtual machine facility number is 3 by the VBD connections VDI interfaces insert provided using XenAPI Type VBD equipment.
The technical principle of the present invention is described above in association with specific embodiment.These descriptions are intended merely to explain the present invention's Principle, and it cannot be construed to limiting the scope of the invention in any way.Based on the explanation herein, the technology of this field Personnel would not require any inventive effort the other specific implementation modes that can associate the present invention, these modes are fallen within Within protection scope of the present invention.

Claims (4)

1. a kind of method that XenServer virtual machines are loaded into CD ISO files uses VDI examples in XenServer virtual machines Change the disk image in physical store, associated VDI and virtual machine by VBD, it is characterised in that:There are one the VBD Device numbering attribute sorts from 0 to 6, and there are one the CD classes that device numbering is 3 for acquiescence band when creating for XenServer virtual machines Type VBD, the VBD acquiescence are without connection VDI;
Process including being loaded into CD ISO files:
Step A:User uses specified CD ISO files in cloud management dispatching platforms virtual machine;
Step B:Cloud management platform is by calling XenAPI to check that device numbering is for the VBD equipment of 3 CD types on virtual machine It is no to have connection VDI;
Step C;The VDI equipment for being connected it if cloud management platform if the VBD equipment has connection VDI is extracted;If the VBD is set It is standby that without connection VDI, then cloud management platform directly searches the VDI corresponding to specified CD ISO files;
Step D:Cloud management platform, should after finding by calling XenAPI to search the VDI corresponding to specified CD ISO files VDI is inserted into the CD type VBD equipment that virtual machine facility number is 3;
Step E:Virtual machine finds to specify CD ISO files and uses CD ISO files automatically.
2. a kind of method that XenServer virtual machines are loaded into CD ISO files according to claim 1, it is characterised in that:
If cloud management platform checks that the CD type VBD equipment that virtual machine facility number is 3 has connection VDI, cloud management platform logical The VBD interfaces eject for calling XenAPI to provide is crossed to extract the VDI equipment connected.
3. a kind of method that XenServer virtual machines are loaded into CD ISO files according to claim 1, it is characterised in that:
The cloud management platform finds the VDI corresponding to specified CD ISO files, and is connected using the VBD that XenAPI is provided It meets VDI interfaces insert and the VDI is inserted into the CD type VBD equipment that virtual machine facility number is 3.
4. a kind of XenServer virtual machines are loaded into CD ISO file system, it is characterised in that:Including VDI connecting detections module, VDI is inserted into VBD modules;
The VDI connecting detections module, for using specified CD ISO files in cloud management dispatching platforms virtual machine as user When, by calling XenAPI to check whether device numbering has connection VDI for the VBD equipment of 3 CD types on virtual machine;
The VDI is inserted into VBD modules, and the VDI corresponding to specified CD ISO files is found for the cloud management platform, And the VDI is inserted into the CD types VBD that virtual machine facility number is 3 by the VBD connections VDI interfaces insert provided using XenAPI Equipment.
CN201810275503.8A 2018-03-30 2018-03-30 Method and system for loading optical disk ISO file into XenServer virtual machine Active CN108733383B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810275503.8A CN108733383B (en) 2018-03-30 2018-03-30 Method and system for loading optical disk ISO file into XenServer virtual machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810275503.8A CN108733383B (en) 2018-03-30 2018-03-30 Method and system for loading optical disk ISO file into XenServer virtual machine

Publications (2)

Publication Number Publication Date
CN108733383A true CN108733383A (en) 2018-11-02
CN108733383B CN108733383B (en) 2022-04-08

Family

ID=63940567

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810275503.8A Active CN108733383B (en) 2018-03-30 2018-03-30 Method and system for loading optical disk ISO file into XenServer virtual machine

Country Status (1)

Country Link
CN (1) CN108733383B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113886007A (en) * 2021-09-18 2022-01-04 云宏信息科技股份有限公司 Configuration method, management method, system and medium for KVM virtualization system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101916172A (en) * 2010-08-17 2010-12-15 中国人民解放军国防科学技术大学 Virtual disk image logic partitioning-based on-demand software distribution method
CN103034453A (en) * 2011-09-30 2013-04-10 国际商业机器公司 Method and device for managing persistent data of preinstalled application in virtual machine instance
CN103713952A (en) * 2013-12-17 2014-04-09 创新科存储技术(深圳)有限公司 Virtual disk distributed-memory method based on UFS (Universal Flash Storage)
CN104182257A (en) * 2011-11-22 2014-12-03 华为数字技术(成都)有限公司 Application software installation method and device
CN104636077A (en) * 2013-11-15 2015-05-20 中国电信股份有限公司 Network block device storage system and method for virtual machine
CN105556478A (en) * 2013-09-10 2016-05-04 赛门铁克公司 Systems and methods for protecting virtual machine data
CN106406979A (en) * 2016-09-04 2017-02-15 国云科技股份有限公司 Method of migrating virtual machine of XenServer platform to KVM virtual platform
US20170262204A1 (en) * 2016-03-09 2017-09-14 Commvault Systems, Inc. Hypervisor-independent block-level live browse for access to backed up virtual machine (vm) data and hypervisor-free file-level recovery (block-level pseudo-mount)

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101916172A (en) * 2010-08-17 2010-12-15 中国人民解放军国防科学技术大学 Virtual disk image logic partitioning-based on-demand software distribution method
CN103034453A (en) * 2011-09-30 2013-04-10 国际商业机器公司 Method and device for managing persistent data of preinstalled application in virtual machine instance
CN104182257A (en) * 2011-11-22 2014-12-03 华为数字技术(成都)有限公司 Application software installation method and device
CN105556478A (en) * 2013-09-10 2016-05-04 赛门铁克公司 Systems and methods for protecting virtual machine data
CN104636077A (en) * 2013-11-15 2015-05-20 中国电信股份有限公司 Network block device storage system and method for virtual machine
CN103713952A (en) * 2013-12-17 2014-04-09 创新科存储技术(深圳)有限公司 Virtual disk distributed-memory method based on UFS (Universal Flash Storage)
US20170262204A1 (en) * 2016-03-09 2017-09-14 Commvault Systems, Inc. Hypervisor-independent block-level live browse for access to backed up virtual machine (vm) data and hypervisor-free file-level recovery (block-level pseudo-mount)
CN106406979A (en) * 2016-09-04 2017-02-15 国云科技股份有限公司 Method of migrating virtual machine of XenServer platform to KVM virtual platform

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113886007A (en) * 2021-09-18 2022-01-04 云宏信息科技股份有限公司 Configuration method, management method, system and medium for KVM virtualization system
CN113886007B (en) * 2021-09-18 2022-03-01 云宏信息科技股份有限公司 Configuration method, management method, system and medium for KVM virtualization system

Also Published As

Publication number Publication date
CN108733383B (en) 2022-04-08

Similar Documents

Publication Publication Date Title
EP2017711A3 (en) Method and apparatus for managing virtual ports on storage systems
CN108830138A (en) Livestock recognition methods, device and storage medium
CN108153719A (en) Merge the method and apparatus of electrical form
CN103634128A (en) A configuration method of a virtual machine placing strategy and an apparatus
CN101425907A (en) General purpose hardware platform, corresponding architecture system and electricity supply method for advanced mezzanine card
CN108733383A (en) A kind of XenServer virtual machines are loaded into method, the system of CD ISO files
CN102073602A (en) Computer system, connection control device as well as connecting and disconnecting method
CN104574275B (en) A kind of method for merging textures during modeling rendering
CN103389905A (en) Plug-in loading method and plug-in loading system
CN105893068A (en) Offline upgrading method and device of intelligent equipment
CN104484211B (en) The method and device of shared image file
CN103761202B (en) A kind of data storage node hard disk position identification method and system
CN104200148A (en) Smart card redundancy switching method based on independently domestic redundancy server
CN106648794A (en) Component loading method and device
CN206441175U (en) A kind of isolator of movable storage device
CN103914423B (en) A kind of information processing method and electronic equipment
CN101645002A (en) Method for controlling USB device through coprocessor for mobile phone
CN108200038A (en) A kind of secure virtual machine means of defence, device, readable medium and storage control
CN106817260A (en) A kind of Cabinet administration system and method
CN107977578A (en) A kind of distributed memory system and its data recovery method and device
CN108304249A (en) A kind of method, the system of XenServer virtual machines quick-replaceable CD ISO files
CN209328011U (en) Fly control communication system
CN102831048B (en) The file monitor method and system of subscriber equipment
CN103885813B (en) Packet capturing method in virtual machine environment
CN103503403B (en) Data processing method and equipment

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