CN104142853A - Virtual machine storage resource deployment method and device - Google Patents
Virtual machine storage resource deployment method and device Download PDFInfo
- Publication number
- CN104142853A CN104142853A CN201410393130.6A CN201410393130A CN104142853A CN 104142853 A CN104142853 A CN 104142853A CN 201410393130 A CN201410393130 A CN 201410393130A CN 104142853 A CN104142853 A CN 104142853A
- Authority
- CN
- China
- Prior art keywords
- virtual machine
- storage
- storage resources
- unit number
- description document
- 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
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
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention provides a virtual machine deployment method and a virtual machine deployment device. The method comprises the following steps of firstly acquiring a virtual machine storage resource description file, analyzing the storage resource description file to acquire the storage performance requirement of a virtual machine, and calling a logic unit number corresponding to the virtual machine and set by an IaaS layer management interface according to the storage performance requirement so as to further meet the storage performance requirement of the virtual machine. Compared with the prior art for determining the corresponding data storage group according to the storage capacity requirement of the virtual machine, when the storage resource is deployed, the logic unit number corresponding to the virtual machine is directly set according to the storage performance requirement, so that the storage resource description file of the virtual machine can be flexibly configured by ordinary technical personnel of the field, a main virtual machine and a standby virtual machine as well as a data disk and a system disk of the same virtual machine can be prevented from corresponding to an identical logic unit number in the data storage group, the reliability of the storage resource of the virtual machine can be improved, and the configuration efficiency is high.
Description
Technical field
The present invention relates to cloud computing technology field, in particular to a kind of virtual machine storage resources dispositions method and device.
Background technology
Cloud computing is a kind of pattern of paying by use amount, and this pattern provides access to netwoks available, easily, as required, enters configurable computing resource sharing pond, and resource comprises network, server, storage, application software etc.Under the environment of cloud computing, the amount of physical memory of virtual machine share I aaS layer, for example solid state hard disc (Solid State Drive, SSD), hard disk drive (Hard Disk Drive, HDD).
Prior art is in the time carrying out deploying virtual machine, cloud management system is determined corresponding data store set group according to the storage capacity requirement of virtual machine, in data store set group, comprise multiple logical blocks, each logical block is with logical unit number (Logic Unit Number, LUN) for mark, then by logical unit number corresponding to data store set group Random assignment virtual machine.
But, virtual machine deployment method of the prior art is according to capacity Random assignment, may cause the corresponding identical logical unit number of system disk, data disks of virtual machine, or identical logical unit number in active and standby virtual machine corresponding data storage cluster each other, the reliability that has reduced storage, therefore prior art letter is waited to improve.
Summary of the invention
The embodiment of the present invention provides a kind of virtual machine deployment method and relevant device that improves memory reliability.
First aspect, the embodiment of the present invention provides a kind of virtual machine deployment method, comprising: obtain virtual machine storage resources description document;
Resolve described storage resources description document and obtain the memory property requirement of described virtual machine;
Require to call IaaS layer management interface according to described memory property the logical unit number that described virtual machine is corresponding is set.
In conjunction with first aspect, in the possible implementation of the first, described in obtain described virtual machine memory property require specifically comprise:
Obtain the anti-affine strategy of storage of the first virtual machine, described anti-affine strategy requires the logical unit number corresponding to storage resources of the first virtual machine and the second virtual machine;
Describedly require to call IaaS layer management interface according to memory property and the logical unit number that described virtual machine is corresponding is set comprises:
Call IaaS layer management interface according to the anti-affine strategy of storage described the first virtual machine and the second virtual machine different logical unit number of correspondence are respectively set.
In conjunction with first aspect, in the possible implementation of the second, the memory property that described parsing storage resources description document is obtained described virtual machine requires specifically to comprise:
Resolve described storage resources description document and obtain the anti-affine strategy of storage between multiple Logical Disk of described virtual machine;
Describedly require to call IaaS layer management interface according to memory property and the logical unit number that described virtual machine is corresponding is set comprises:
Call multiple Logical Disk that IaaS layer management interface arranges described virtual machine corresponding different logical unit number respectively according to the anti-affine strategy of described storage.
In conjunction with the possible implementation of the second of first aspect, in the third possible implementation, the method also comprises: sink virtual machine storage thermophoresis request;
Obtain current deployment information and the anti-affine strategy of storage of described virtual machine;
According to described anti-affine strategy and described current deployment information, the logical unit number that described virtual machine is corresponding is set.
In conjunction with the possible implementation of the second of first aspect, in the 4th kind of possible implementation, described storage resources description document is virtual network function descriptor.
In conjunction with the possible implementation of the second of first aspect, in the 5th kind of possible implementation, described method also comprised before obtaining virtual machine storage resources description document:
Memory device is divided into different RAID groups according to the height of I/O performance;
Each described RAID group is divided into multiple logical blocks, and each logical block is taking logical unit number as mark.
Second aspect, the embodiment of the present invention provides a kind of virtual machine storage resources deployment devices, and it comprises:
File acquisition unit, for obtaining virtual machine storage resources description document;
Resolution unit, the memory property requirement of obtaining described virtual machine for resolving described storage resources description document;
Call unit, arranges for requiring to call IaaS layer management interface according to described memory property the logical unit number that described virtual machine is corresponding.
In conjunction with the implementation of the 5th aspect, in the possible implementation of the first, this device also comprises:
Receiving element, for sink virtual machine storage thermophoresis request;
Strategy acquiring unit, for obtaining current deployment information and the anti-affine strategy of storage of described virtual machine;
Strategy execution unit, for arranging according to described anti-affine strategy and described current deployment information the logical unit number that described virtual machine is corresponding.
In conjunction with the implementation of the 5th aspect, in the possible implementation of the second, the memory property that described resolution unit parsing storage resources description document is obtained described virtual machine requires specifically to comprise:
Described resolution unit is resolved described storage resources description document and obtains the storage I/O performance requirement of described virtual machine;
Described call unit requires to call IaaS layer management interface according to memory property and the logical unit number that described virtual machine is corresponding is set comprises:
Described call unit calls IaaS layer management interface according to described storage I/O performance requirement the logical unit number that described virtual machine is corresponding is set, and the I/O performance of logical block corresponding to described logical unit number is higher than described storage I/O performance requirement.
In the virtual machine storage resources dispositions method providing in the embodiment of the present invention, first obtain virtual machine storage resources description document, resolve this storage resources description document and obtain the memory property requirement of described virtual machine, then require to call IaaS layer management interface according to memory property the logical unit number that described virtual machine is corresponding is set, and then meet the memory property requirement of virtual machine.Determine corresponding data store set faciation ratio with prior art according to the storage capacity requirement of virtual machine, the embodiment of the present invention is in the time disposing storage resources, directly require to arrange according to memory property the logical unit number that virtual machine is corresponding, and then those of ordinary skill in the art can flexible configuration virtual machine storage resources description document, avoid identical logical unit number in the data disks of active and standby virtual machine, same virtual machine and system disk corresponding data storage cluster, improved the reliability of virtual machine storage resources, and allocative efficiency is higher.
Brief description of the drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.Wherein:
Fig. 1 is the Organization Chart of the storage resources under cloud computing environment in the virtual machine storage resources dispositions method that provides of the embodiment of the present invention;
Fig. 2 is the process flow diagram of the virtual machine storage resources dispositions method that provides of the embodiment of the present invention one;
Fig. 3 is the process flow diagram of the virtual machine storage resources dispositions method that provides of the embodiment of the present invention two;
Fig. 4 is the process flow diagram of the virtual machine storage resources dispositions method that provides of the embodiment of the present invention three;
Fig. 5 is the structural representation of the virtual machine storage resources deployment devices that provides of the embodiment of the present invention four;
Fig. 6 is the structural representation of the virtual machine storage resources deployment devices that provides of the embodiment of the present invention five.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtaining under performing creative labour prerequisite, belong to the scope of protection of the invention.
The invention provides a kind of virtual machine storage resources dispositions method and device, in embodiments of the present invention, deploying virtual machine need to use the storage resources of IaaS layer in cloud computing.The Organization Chart of the storage resources under cloud computing environment as shown in Figure 1, wherein storage medium can be solid state hard disc, the hard disk drive of physics, on the cloud management system storage medium of IaaS layer, divided multiple logical blocks, logical block identifies by logical unit number LUN.In addition, logical block is assigned in data store set group, and for example data store set group 1 comprises LUN0 and LUN1, and data store set group 2 comprises LUN2, LUN3 and LUN4.
As shown in Figure 2, the virtual machine storage resources dispositions method that the embodiment of the present invention one provides comprises:
Step 110, obtain virtual machine storage resources description document.
Wherein, in storage resources description document, carried the memory property requirement of virtual machine to be disposed.Storage resources description document is specifically as follows virtual network function descriptor (Virtualized Network Function Descriptor, or open virtual form (Open Virtualized Format, OVF) description document VNFD).Storage resources can be arranged in the infrastructure of cloud computing system and serve (Infrastructure as a Service, IaaS) layer.
Step 120, the memory property requirement of resolving described storage resources description document and obtaining described virtual machine.
Concrete, memory property can comprise the anti-affine strategy of storage (requiring the logical unit number corresponding to storage resources of the first virtual machine and the second virtual machine) of the anti-affine strategy of storage, the first virtual machine and the second virtual machine between storage I/O performance requirement, dummy machine system dish, Logical Disk etc. in requiring.
Step 130, require to call IaaS layer management interface according to described memory property the logical unit number that described virtual machine is corresponding is set.
Concrete, the embodiment of the present invention requires the IaaS layer management interface calling in cloud computing system that the logical unit number that virtual machine is corresponding is set according to above-mentioned memory property, and the logical block that above-mentioned logical unit number represents is arranged in data store set group.
In the virtual machine storage resources dispositions method providing in the embodiment of the present invention, first obtain virtual machine storage resources description document, resolve this storage resources description document and obtain the memory property requirement of described virtual machine, then require to call IaaS layer management interface according to memory property the logical unit number that described virtual machine is corresponding is set, and then meet the memory property requirement of virtual machine.Determine corresponding data store set faciation ratio with prior art according to the storage capacity requirement of virtual machine, the embodiment of the present invention is in the time disposing storage resources, directly require to arrange according to memory property the logical unit number that virtual machine is corresponding, and then those of ordinary skill in the art can flexible configuration virtual machine storage resources description document, avoid identical logical unit number in the data disks of active and standby virtual machine, same virtual machine and system disk corresponding data storage cluster, improved the reliability of virtual machine storage resources, and allocative efficiency is higher.
Further, in the storage resources dispositions method that the embodiment of the present invention provides, for example, if carry the anti-affine strategy of storage of host virtual machine or the standby anti-affine strategy of storage of virtual machine or multiple Logical Disk (system disk and data disks) of virtual machine in storage resources description document, in above-mentioned steps 130, requiring to call IaaS layer management interface according to memory property arranges the logical unit number that described virtual machine is corresponding and is specifically as follows: call IaaS layer management interface according to the anti-affine strategy of storage host virtual machine and standby virtual machine different logical unit number or multiple Logical Disk that virtual machine is set different logical unit number in corresponding data storage clusters respectively in corresponding data storage cluster is respectively set.
The embodiment of the present invention, by multiple Logical Disk of active and standby virtual machine, virtual machine are deployed in respectively in different logical unit number, can improve the reliability and stability of data storage.
Referring to Fig. 3, the process flow diagram of the virtual machine storage resources dispositions method that Fig. 3 provides for the embodiment of the present invention two.
Step 210, memory device is divided into different RAID groups according to the height of I/O performance.
Concrete, memory device is because its storage medium adopting, interface type have different I/O performances.The embodiment of the present invention can be divided into different RAID groups according to the height of I/O performance by the memory device of IaaS layer by IaaS stratus management system in cloud computing environment.
Step 220, each described RAID group is divided into multiple logical blocks, each logical block is taking logical unit number as mark.
Wherein, the IaaS stratus management system in cloud computing environment can be divided into RAID group multiple logical blocks, then logical block is put into data store set group.Same data store set group comprises multiple logical blocks.Logical block in RAID group can be put into respectively different data store set groups, also can put into same data store set group.
The virtual machine storage resources description document that step 230, the application of reception Saas layer send.
Concrete, the step 110 of obtaining virtual machine storage resources description document in above-described embodiment one specifically comprises: receive the virtual machine storage resources description document that the application of Saas layer sends.Because this application has requirement to I/O performance, thereby in this virtual machine storage resources description document, carry the storage I/O performance requirement of virtual machine.Wherein, generating virtual machines storage resources description document can serve SaaS layer application by software and automatically generate according to the storage resource demands of application, and this description document comprises that the storage space of application requires, memory property requires (for example store I/O performance requirement, store anti-affine strategy) etc.
In addition, virtual machine storage resources description document can also come from open virtual format description file.
Step 240, the memory property requirement of resolving described storage resources description document and obtaining described virtual machine.
In the present embodiment, resolve above-mentioned storage resources description document and obtain the storage I/O performance requirement of virtual machine.Wherein, resolve the storage space requirement that storage resources description document can also be obtained virtual machine, the method for virtual machine being distributed to the storage space meeting the demands
Step 250, call IaaS layer management interface the logical unit number that described virtual machine is corresponding is set according to described storage I/O performance requirement, the I/O performance of logical block corresponding to this logical unit number is higher than described storage I/O performance requirement.
Concrete, the present embodiment calls IaaS layer management interface according to the storage I/O performance requirement of virtual machine the logical unit number that described virtual machine is corresponding is set, the storage I/O performance of logical block corresponding to this logical unit number is higher than described storage I/O performance requirement, and this logical block is arranged in data store set group.
Wherein, storage I/O performance corresponding to different logical block in described data store set group.
In the virtual machine storage resources dispositions method providing in the embodiment of the present invention two, by to virtual machine configuration store I/O performance higher than the logical block requiring, can meet the requirement of virtual machine to high I/O performance, and then the embodiment of the present invention can be according to the difference storage I/O performance requirement of virtual machine, configure the storage resources satisfying the demands, improved the utilization ratio of storage resources.
The virtual machine storage resources dispositions method providing for understanding in more detail the embodiment of the present invention, provides concrete application scenarios below.
In this application scene, the application of Saas layer need to be set up active and standby two virtual machine VM1 and VM2, in order to ensure reliability, needs VM1 to be placed on different LUN from the logical volume of VM2.In addition, VM1 and VM2 belong to the virtual machine of storage I/O type, and the number of times (Input/Output Operations Per Second, IOPS) that carries out input/output operations per second is had relatively high expectations as 500IOPS.
Referring to Fig. 4, the virtual machine storage resources dispositions method that the embodiment of the present invention three provides comprises the following steps:
Step 310, IaaS stratus management system are divided into different RAID groups to memory device according to the height of I/O performance.
As one of embodiment, the embodiment of the present invention is divided into three disk arrays (Redundant Arrays of Independent Disks according to the corresponding relation between the storage media types of memory device, interface type and I/O performance by SSD, SAS, SATA, RAID) group, the storage I/O performance of three RAID groups reduces successively.Wherein the RAID group of SSD meets high I/O performance requirement, and SAS meets common I/O performance requirement, and SATA performance is lower, mainly as system backup.
Step 320, IaaS stratus management system are divided into multiple logical blocks to each RAID, and logical block is put into data store set group.
Wherein, the LUN of the different I/O performance in data store set group or the data store set group of different I/O performance can meet the I/O performance requirement of different virtual machine.Logical block in RAID group can be put into respectively different data store set groups, also can put into same data store set group.Corresponding, in data store set group, can there is the LUN that I/O performance is identical, also can there is the different LUN of I/O performance height.
In this application scene, for example LUN0, LUN1, the corresponding SSD storage of LUN2, the corresponding SAS storage of LUN3, LUN4, the corresponding SATA storage of LUN5, LUN6.LUN0, LUN1, LUN2 put into same data store set group, and LUN3-LUN6 puts into another data store set group.
Wherein, step 310,320 all realizes by IaaS stratus management system.For VMware scene, IaaS stratus management system is specially VMware vCloud director.
Step 330, VNF management system receive the virtual machine storage resources description document that the application of Saas layer sends.
Wherein, virtual machine storage resources description document is specially VNFD, and application vendor is described virtual machine memory requirement according to application requirements, and uploads to VNF management system by WEB client network.VNF management system can be arranged in the PaaS layer of cloud computing system.
The memory property requirement that step 340, VNF management system are resolved described VNFD and obtained described virtual machine, and this memory property is required to send to IaaS stratus management system.
Wherein, VNFD has described virtual machine VM1 and virtual machine VM2 stores anti-compatibility, requires to be placed on different LUN.In addition, I/O performance requirement is 500I/OPS.
Step 350, IaaS stratus management system create virtual machine VM1 and VM2.
Concrete, IaaS stratus management system is the demand to resource (comprising computational resource requirements, network resource requirement, storage demand etc.) distribution server resource, storage resources according to virtual machine VM1, VM2.
Wherein, the process of IaaS stratus management system memory allocated resource comprises the step that creates Storage Mapping relation, and the action of application physical resource realizes by step 360.
Step 360, VNF management system are called IaaS layer management interface according to the storage demand of virtual machine VM1 and VM2 and are selected to meet two logical blocks of I/O performance requirement, and the logical unit number that virtual machine VM1 is corresponding different with VM2 is set.
Concrete, virtual machine VM1 and VM2 have requirement to I/O performance, and require storage anti-affine, and VNF management system is called IaaS layer management interface and selected to meet two logical unit number LUN0, LUN1 of I/O performance requirement, and the corresponding LUN0 of virtual machine VM1 is set, the corresponding LUN1 of VM2.In addition,, by calling IaaS layer management interface, IaaS stratus management system will storage virtual machine VM1 and the I/O performance requirement of VM2, is stored anti-affine strategy.
Setting after the LUN that virtual machine VM1 and VM2 are corresponding, by IaaS layer managing system, virtual machine is powered on, complete the constructive process of virtual machine.The virtual machine creating process that this application scene provides can meet active and standby virtual machine storage I/O performance, store anti-affine strategy, improve the reliability of active and standby virtual machine, and can select suitable storage to dispose according to the I/O situation of virtual machine definition, improve the utilization ratio of storage resources.
Further, in this application scene, when follow-up operation, find that by IaaS stratus management system the upper memory capacity of LUN0 and storage I/O performance cannot meet virtual machine VM1 requirement, VM1 need to be moved to other LUN from LUN0, IaaS stratus management system triggers or manual activation VM1 thermophoresis request automatically.
The virtual machine storage resources dispositions method that the embodiment of the present invention three provides is further comprising the steps of:
Step 370, IaaS stratus management system receive VM1 thermophoresis request, obtain the current deployment information of virtual machine VM1.
Wherein, thermophoresis request is used for showing that VM1 need to carry out thermophoresis, comprising the source LUN of VM1, i.e. LUN0.
IaaS cloud management system is obtained the current deployment information of virtual machine VM1, and this deployment information comprises the position of the Logical Disk of VM1, I/O performance requirement, the position of the Logical Disk of backup virtual machine VM2 etc.In the present embodiment, it is upper that the Logical Disk of its backup virtual machine VM2 is positioned at LUN1, the LUN2-LUN6 free time, and the I/O performance of LUN0 corresponding to VM1 is higher.
Step 380, IaaS cloud management system according to the current deployment information of VM1, store anti-affine strategy the migration logical unit number that VM1 is corresponding be set.
Concrete, the anti-affine strategy of storage that IaaS cloud management system is preserved according to the current deployment information of the VM1 obtaining in step 380, before and storage I/O performance, determine that VM1 can not move on the logical block LUN1 of VM2, it is the migration logical unit number that VM1 is corresponding that LUN2 is finally set, and then completes the thermophoresis process of VM1.
In this application scene, I/O performance requirement according to virtual machine when deploying virtual machine is selected suitable storage resources, and in the time that the virtual machine storage resources of original allocation cannot meet the demands, virtual machine is carried out to thermophoresis, and when thermophoresis, the memory property of combined with virtual machine requires the target storage resources that selection meets the demands.Compared with prior art, the embodiment of the present invention can better meet the memory property requirement of virtual machine, improves the utilization ratio of storage resources.
Referring to Fig. 5, Fig. 5 is the schematic diagram of the virtual machine storage resources deployment devices that provides of the embodiment of the present invention four.
As shown in the figure, the virtual machine storage resources deployment devices that the embodiment of the present invention provides mainly comprises:
File acquisition unit 410, for obtaining virtual machine storage resources description document; Wherein, storage resources description document can be virtual network function descriptor;
Resolution unit 420, the memory property requirement of obtaining described virtual machine for resolving described storage resources description document;
Call unit 430, arranges for requiring to call IaaS layer management interface according to described memory property the logical unit number that described virtual machine is corresponding.
In dispositions method embodiment mono-, embodiment bis-and embodiment tri-that the virtual machine storage resources deployment devices that the embodiment of the present invention four provides can use in aforementioned correspondence, its use procedure is identical with above-described embodiment with beneficial effect, details, referring to above-described embodiment, do not repeat them here.
In the virtual machine storage resources deployment devices providing in the embodiment of the present invention, first obtain virtual machine storage resources description document by file acquisition unit 410, resolution unit 420 is resolved the memory property requirement that this storage resources description document is obtained described virtual machine, then require to call IaaS layer management interface by call unit 430 according to memory property the logical unit number that described virtual machine is corresponding is set, and then meet the memory property requirement of virtual machine.Determine corresponding data store set faciation ratio with prior art according to the storage capacity requirement of virtual machine, the embodiment of the present invention is in the time disposing storage resources, directly require to arrange according to memory property the logical unit number that virtual machine is corresponding, and then those of ordinary skill in the art can flexible configuration virtual machine storage resources description document, avoid identical logical unit number in the data disks of active and standby virtual machine, same virtual machine and system disk corresponding data storage cluster, improved the reliability of virtual machine storage resources, and allocative efficiency is higher.
With further reference to Fig. 5, the virtual machine storage resources deployment devices that the embodiment of the present invention provides also comprises:
Receiving element 440, for sink virtual machine storage thermophoresis request;
Strategy acquiring unit 450, for obtaining current deployment information and the anti-affine strategy of storage of described virtual machine;
Strategy execution unit 460, for arranging according to described anti-affine strategy and described current deployment information the logical unit number that described virtual machine is corresponding.
For the memory device of managing I aaS layer, the virtual machine storage resources deployment devices that the embodiment of the present invention provides also comprises:
Array partition unit 470, for before obtaining virtual machine storage resources description document, is divided into different RAID groups to memory device according to the height of I/O performance;
Unit number allocation units 480, for each described RAID group is divided into multiple logical blocks, each logical block is taking logical unit number as mark.
The virtual machine storage resources deployment devices that the embodiment of the present invention provides can also use the application scenarios at live migration of virtual machine, and concrete use procedure is referring to the description of above-described embodiment three.
Further, in the virtual machine storage resources deployment devices providing in the embodiment of the present invention, resolution unit 420 resolve storage resources description document obtain described virtual machine memory property require specifically comprise:
Described resolution unit 420 is resolved described storage resources description document and obtains the storage I/O performance requirement of described virtual machine;
Described call unit 430 requires to call IaaS layer management interface according to memory property and the logical unit number that described virtual machine is corresponding is set comprises:
Described call unit 430 calls IaaS layer management interface according to described storage I/O performance requirement the logical unit number that described virtual machine is corresponding is set, and the I/O performance of logical block corresponding to described logical unit number is higher than described storage I/O performance requirement.
In another embodiment, resolution unit 420 resolve storage resources description document obtain described virtual machine memory property require specifically comprise:
Resolution unit 420 is resolved described storage resources description document and is obtained described host virtual machine and the anti-affine strategy of storage for virtual machine;
Described call unit 430 requires to call IaaS layer management interface according to memory property and the logical unit number that described virtual machine is corresponding is set comprises:
Call unit 430 calls IaaS layer management interface according to the anti-affine strategy of storage described host virtual machine and the standby virtual machine different logical unit number of correspondence is respectively set.
In another embodiment, described resolution unit 420 resolve storage resources description document obtain described virtual machine memory property require specifically comprise:
Resolution unit 420 is resolved described storage resources description document and is obtained the anti-affine strategy of storage between multiple Logical Disk of described virtual machine; And
Described call unit 430 requires to call IaaS layer management interface according to memory property and the logical unit number that described virtual machine is corresponding is set comprises:
Call unit 430 calls multiple Logical Disk that IaaS layer management interface arranges described virtual machine corresponding different logical unit number respectively according to the anti-affine strategy of described storage.
Referring to Fig. 6, Fig. 6 is the schematic diagram of the virtual machine storage resources deployment devices that provides of the embodiment of the present invention five.
As shown in the figure, the virtual machine storage resources deployment devices that the embodiment of the present invention provides mainly comprises:
Processor 510, storer 520 and bus 530, described storer 520 is for storing computer executed instructions, described processor 510 is connected by described bus 530 with described storer 520, in the time of described device operation, described processor 610 is carried out described computer executed instructions, so that described device is carried out following method:
Obtain virtual machine storage resources description document;
Resolve described storage resources description document and obtain the memory property requirement of described virtual machine;
Require to call IaaS layer management interface according to described memory property the logical unit number that described virtual machine is corresponding is set.
It is identical with the implementation of embodiment tri-with the dispositions method embodiment mono-of aforementioned correspondence, embodiment bis-that the virtual machine storage resources deployment devices that the embodiment of the present invention five provides is carried out the process of said method, there is identical beneficial effect, details, referring to above-described embodiment, do not repeat them here.
The possible implementation that one of ordinary skill in the art will appreciate that various aspects of the present invention or various aspects can be embodied as system, method or computer program.Therefore, the possible implementation of each aspect of the present invention or various aspects can adopt complete hardware implementation example, complete implement software example (comprising firmware, resident software etc.), or the form of the embodiment of integration software and hardware aspect, is all referred to as " circuit ", " module " or " system " here.In addition, the possible implementation of each aspect of the present invention or various aspects can adopt the form of computer program, and computer program refers to the computer readable program code being stored in computer-readable medium.
Computer-readable medium can be computer-readable signal media or computer-readable recording medium.Computer-readable recording medium is including but not limited to electronics, magnetic, optics, electromagnetism, infrared or semiconductor system, equipment or device, or aforesaid appropriately combined arbitrarily, as random access memory (RAM), ROM (read-only memory) (ROM), Erasable Programmable Read Only Memory EPROM (EPROM or flash memory), optical fiber, portable ROM (read-only memory) (CD-ROM).
Processor in computing machine reads the computer readable program code being stored in computer-readable medium, makes processor can carry out the function action specifying in the combination of in process flow diagram each step or each step; Generation is implemented in the device of the function action specifying in each piece of block diagram or each combination.
Computer readable program code can be completely carried out on user's computing machine, part is carried out on user's computing machine, as independent software package, part on user's computing machine and part on remote computer, or on remote computer or server, carry out completely.Also should be noted that in some alternate embodiment, in process flow diagram, in each step or block diagram, each dated function may be not according to occurring in sequence of indicating in figure.For example, depend on related function, in fact two steps or two pieces that illustrate in succession may be executed substantially concurrently, or these pieces sometimes may be carried out with reverse order.
Those of ordinary skill in the art can recognize, unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein, can realize with the combination of electronic hardware or computer software and electronic hardware.These functions are carried out with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can realize described function with distinct methods to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, any be familiar with those skilled in the art the present invention disclose technical scope in; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should described be as the criterion with the protection domain of claim.
Claims (12)
1. a virtual machine storage resources dispositions method, is characterized in that, described method comprises:
Obtain virtual machine storage resources description document;
Resolve described storage resources description document and obtain the memory property requirement of described virtual machine;
Require to call IaaS layer management interface according to described memory property the logical unit number that described virtual machine is corresponding is set.
2. method according to claim 1, is characterized in that, described in obtain described virtual machine memory property require specifically comprise:
Obtain the anti-affine strategy of storage of the first virtual machine, described anti-affine strategy requires the logical unit number corresponding to storage resources of the first virtual machine and the second virtual machine;
Describedly require to call IaaS layer management interface according to memory property and the logical unit number that described virtual machine is corresponding is set comprises:
Call IaaS layer management interface according to the anti-affine strategy of storage described the first virtual machine and the second virtual machine different logical unit number of correspondence are respectively set.
3. method according to claim 1, is characterized in that, the memory property that described parsing storage resources description document is obtained described virtual machine requires specifically to comprise:
Resolve described storage resources description document and obtain the anti-affine strategy of storage between multiple Logical Disk of described virtual machine;
Describedly require to call IaaS layer management interface according to memory property and the logical unit number that described virtual machine is corresponding is set comprises:
Call multiple Logical Disk that IaaS layer management interface arranges described virtual machine corresponding different logical unit number respectively according to the anti-affine strategy of described storage.
4. according to the method described in claim 1 to 3 any one, it is characterized in that, the memory property that described parsing storage resources description document is obtained described virtual machine requires specifically to comprise:
Resolve described storage resources description document and obtain the storage I/O performance requirement of described virtual machine;
Describedly require to call IaaS layer management interface according to memory property and the logical unit number that described virtual machine is corresponding is set comprises:
Call IaaS layer management interface according to described storage I/O performance requirement the logical unit number that described virtual machine is corresponding is set, the I/O performance of logical block corresponding to described logical unit number is higher than described storage I/O performance requirement.
5. according to the method described in claim 1 to 3 any one, it is characterized in that, described method also comprises:
Sink virtual machine storage thermophoresis request;
Obtain current deployment information and the anti-affine strategy of storage of described virtual machine;
According to described anti-affine strategy and described current deployment information, the logical unit number that described virtual machine is corresponding is set.
6. method according to claim 4, is characterized in that, described storage resources description document is virtual network function descriptor.
7. according to the method described in claim 1 or 6, it is characterized in that, described in obtain virtual machine storage resources description document and comprise:
Receive the virtual machine storage resources description document that the application of SaaS layer sends.
8. method according to claim 1, is characterized in that, described method also comprised before obtaining virtual machine storage resources description document:
Memory device is divided into different RAID groups according to the height of I/O performance;
Each described RAID group is divided into multiple logical blocks, and each logical block is taking logical unit number as mark.
9. a virtual machine storage resources deployment devices, is characterized in that, comprising:
File acquisition unit, for obtaining virtual machine storage resources description document;
Resolution unit, the memory property requirement of obtaining described virtual machine for resolving described storage resources description document;
Call unit, arranges for requiring to call IaaS layer management interface according to described memory property the logical unit number that described virtual machine is corresponding.
10. device according to claim 9, is characterized in that, also comprises:
Receiving element, for sink virtual machine storage thermophoresis request;
Strategy acquiring unit, for obtaining current deployment information and the anti-affine strategy of storage of described virtual machine;
Strategy execution unit, for arranging according to described anti-affine strategy and described current deployment information the logical unit number that described virtual machine is corresponding.
11. devices according to claim 9, is characterized in that, also comprise:
Array partition unit, for before obtaining virtual machine storage resources description document, is divided into different RAID groups to memory device according to the height of I/O performance;
Unit number allocation units, for each described RAID group is divided into multiple logical blocks, each logical block is taking logical unit number as mark.
12. according to the device described in claim 9 to 11 any one, it is characterized in that, the memory property that described resolution unit parsing storage resources description document is obtained described virtual machine requires specifically to comprise:
Described resolution unit is resolved described storage resources description document and obtains the storage I/O performance requirement of described virtual machine;
Described call unit requires to call IaaS layer management interface according to memory property and the logical unit number that described virtual machine is corresponding is set comprises:
Described call unit calls IaaS layer management interface according to described storage I/O performance requirement the logical unit number that described virtual machine is corresponding is set, and the I/O performance of logical block corresponding to described logical unit number is higher than described storage I/O performance requirement.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410393130.6A CN104142853B (en) | 2014-08-12 | 2014-08-12 | Virtual machine storage resource dispositions method and device |
PCT/CN2015/078524 WO2016023390A1 (en) | 2014-08-12 | 2015-05-08 | Method and device for deploying virtual machine storage resource |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410393130.6A CN104142853B (en) | 2014-08-12 | 2014-08-12 | Virtual machine storage resource dispositions method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104142853A true CN104142853A (en) | 2014-11-12 |
CN104142853B CN104142853B (en) | 2018-02-09 |
Family
ID=51852034
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410393130.6A Active CN104142853B (en) | 2014-08-12 | 2014-08-12 | Virtual machine storage resource dispositions method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104142853B (en) |
WO (1) | WO2016023390A1 (en) |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104468836A (en) * | 2014-12-29 | 2015-03-25 | 成都致云科技有限公司 | Virtual disk creating method and device and distributed storage system |
CN104598316A (en) * | 2014-12-25 | 2015-05-06 | 华为技术有限公司 | Storage resource distribution method and device |
WO2016023390A1 (en) * | 2014-08-12 | 2016-02-18 | 华为技术有限公司 | Method and device for deploying virtual machine storage resource |
CN105468449A (en) * | 2015-12-22 | 2016-04-06 | 内蒙古农业大学 | Delivery method capable of supporting dynamic cloud service by using reusable working load mode |
CN105607950A (en) * | 2015-10-30 | 2016-05-25 | 浪潮(北京)电子信息产业有限公司 | Virtual machine resource configuration method and apparatus |
WO2016119242A1 (en) * | 2015-01-30 | 2016-08-04 | 华为技术有限公司 | Method, device and system for obtaining virtual resources |
CN106648462A (en) * | 2016-11-21 | 2017-05-10 | 华为技术有限公司 | Data storage method and device |
CN107844304A (en) * | 2016-09-18 | 2018-03-27 | 阿里巴巴集团控股有限公司 | The hot upgrade method of virtual machine and device |
CN108028804A (en) * | 2015-07-10 | 2018-05-11 | 国际商业机器公司 | The management of virtual machine in virtual computation environmental based on structure limitation |
CN108667864A (en) * | 2017-03-29 | 2018-10-16 | 华为技术有限公司 | A kind of method and apparatus carrying out scheduling of resource |
CN109426547A (en) * | 2017-09-04 | 2019-03-05 | 华为技术有限公司 | A kind of thermomigration process of virtual machine, device and system |
CN110249311A (en) * | 2017-02-03 | 2019-09-17 | 微软技术许可有限责任公司 | The resource management of virtual machine is directed in cloud computing system |
WO2020001409A1 (en) * | 2018-06-29 | 2020-01-02 | 华为技术有限公司 | Virtual network function (vnf) deployment method and apparatus |
CN110677499A (en) * | 2019-10-30 | 2020-01-10 | 北京普瑞华夏国际教育科技有限公司 | Cloud resource management application system |
CN111221620A (en) * | 2018-11-27 | 2020-06-02 | 华为技术有限公司 | Storage method, storage device and storage medium |
CN112166579A (en) * | 2018-06-01 | 2021-01-01 | 华为技术有限公司 | Multi-server architecture cluster providing virtualized network functionality |
CN114911566A (en) * | 2021-02-09 | 2022-08-16 | 中国电信股份有限公司 | Virtual machine scheduling method and device |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106161603B (en) * | 2016-06-28 | 2019-09-20 | 华为技术有限公司 | A kind of method of networking, equipment and framework |
CN115412440B (en) * | 2022-08-19 | 2024-07-09 | 浪潮思科网络科技有限公司 | Distributed deployment method and device for VNF (virtual network function) device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080270564A1 (en) * | 2007-04-25 | 2008-10-30 | Microsoft Corporation | Virtual machine migration |
CN103795804A (en) * | 2014-02-24 | 2014-05-14 | 华为技术有限公司 | Storage resource scheduling method and storage calculation system |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102103518B (en) * | 2011-02-23 | 2013-11-13 | 运软网络科技(上海)有限公司 | System for managing resources in virtual environment and implementation method thereof |
CN103699428A (en) * | 2013-12-20 | 2014-04-02 | 华为技术有限公司 | Method and computer device for affinity binding of interrupts of virtual network interface card |
CN104142853B (en) * | 2014-08-12 | 2018-02-09 | 华为技术有限公司 | Virtual machine storage resource dispositions method and device |
-
2014
- 2014-08-12 CN CN201410393130.6A patent/CN104142853B/en active Active
-
2015
- 2015-05-08 WO PCT/CN2015/078524 patent/WO2016023390A1/en active Application Filing
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080270564A1 (en) * | 2007-04-25 | 2008-10-30 | Microsoft Corporation | Virtual machine migration |
CN103795804A (en) * | 2014-02-24 | 2014-05-14 | 华为技术有限公司 | Storage resource scheduling method and storage calculation system |
Non-Patent Citations (2)
Title |
---|
何世晓等: "《Linux***案例精解》", 30 June 2010 * |
麦里 等: "《VMware vSphere 5虚拟数据中心构建指南》", 31 March 2013 * |
Cited By (32)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016023390A1 (en) * | 2014-08-12 | 2016-02-18 | 华为技术有限公司 | Method and device for deploying virtual machine storage resource |
CN104598316A (en) * | 2014-12-25 | 2015-05-06 | 华为技术有限公司 | Storage resource distribution method and device |
CN104468836B (en) * | 2014-12-29 | 2019-01-18 | 成都极驰科技有限公司 | Virtual disk creation method and device and distributed memory system |
CN104468836A (en) * | 2014-12-29 | 2015-03-25 | 成都致云科技有限公司 | Virtual disk creating method and device and distributed storage system |
WO2016119242A1 (en) * | 2015-01-30 | 2016-08-04 | 华为技术有限公司 | Method, device and system for obtaining virtual resources |
CN106030537A (en) * | 2015-01-30 | 2016-10-12 | 华为技术有限公司 | Method, device and system for obtaining virtual resources |
CN106030537B (en) * | 2015-01-30 | 2019-06-21 | 华为技术有限公司 | A kind of virtual resource acquisition methods, apparatus and system |
CN108028804A (en) * | 2015-07-10 | 2018-05-11 | 国际商业机器公司 | The management of virtual machine in virtual computation environmental based on structure limitation |
CN105607950A (en) * | 2015-10-30 | 2016-05-25 | 浪潮(北京)电子信息产业有限公司 | Virtual machine resource configuration method and apparatus |
CN105468449A (en) * | 2015-12-22 | 2016-04-06 | 内蒙古农业大学 | Delivery method capable of supporting dynamic cloud service by using reusable working load mode |
CN107844304B (en) * | 2016-09-18 | 2021-03-19 | 阿里巴巴集团控股有限公司 | Virtual machine hot upgrading method and device |
CN107844304A (en) * | 2016-09-18 | 2018-03-27 | 阿里巴巴集团控股有限公司 | The hot upgrade method of virtual machine and device |
CN106648462B (en) * | 2016-11-21 | 2019-10-25 | 华为技术有限公司 | Date storage method and device |
CN106648462A (en) * | 2016-11-21 | 2017-05-10 | 华为技术有限公司 | Data storage method and device |
WO2018090606A1 (en) * | 2016-11-21 | 2018-05-24 | 华为技术有限公司 | Data storage method and device |
US11036535B2 (en) | 2016-11-21 | 2021-06-15 | Huawei Technologies Co., Ltd. | Data storage method and apparatus |
CN110249311A (en) * | 2017-02-03 | 2019-09-17 | 微软技术许可有限责任公司 | The resource management of virtual machine is directed in cloud computing system |
CN110249311B (en) * | 2017-02-03 | 2023-02-28 | 微软技术许可有限责任公司 | Resource management for virtual machines in cloud computing systems |
CN108667864A (en) * | 2017-03-29 | 2018-10-16 | 华为技术有限公司 | A kind of method and apparatus carrying out scheduling of resource |
CN108667864B (en) * | 2017-03-29 | 2020-07-28 | 华为技术有限公司 | Method and device for scheduling resources |
US11604670B2 (en) | 2017-09-04 | 2023-03-14 | Huawei Technologies Co., Ltd. | Virtual machine live migration method, apparatus, and system |
CN109426547A (en) * | 2017-09-04 | 2019-03-05 | 华为技术有限公司 | A kind of thermomigration process of virtual machine, device and system |
CN112166579B (en) * | 2018-06-01 | 2022-02-25 | 华为技术有限公司 | Multi-server architecture cluster providing virtualized network functionality |
CN112166579A (en) * | 2018-06-01 | 2021-01-01 | 华为技术有限公司 | Multi-server architecture cluster providing virtualized network functionality |
US11442791B2 (en) | 2018-06-01 | 2022-09-13 | Huawei Technologies Co., Ltd. | Multiple server-architecture cluster for providing a virtual network function |
CN110661641A (en) * | 2018-06-29 | 2020-01-07 | 华为技术有限公司 | Virtual network function VNF deployment method and device |
WO2020001409A1 (en) * | 2018-06-29 | 2020-01-02 | 华为技术有限公司 | Virtual network function (vnf) deployment method and apparatus |
US11886904B2 (en) | 2018-06-29 | 2024-01-30 | Huawei Technologies Co., Ltd. | Virtual network function VNF deployment method and apparatus |
CN111221620A (en) * | 2018-11-27 | 2020-06-02 | 华为技术有限公司 | Storage method, storage device and storage medium |
CN111221620B (en) * | 2018-11-27 | 2024-02-09 | 华为技术有限公司 | Storage method, device and storage medium |
CN110677499A (en) * | 2019-10-30 | 2020-01-10 | 北京普瑞华夏国际教育科技有限公司 | Cloud resource management application system |
CN114911566A (en) * | 2021-02-09 | 2022-08-16 | 中国电信股份有限公司 | Virtual machine scheduling method and device |
Also Published As
Publication number | Publication date |
---|---|
CN104142853B (en) | 2018-02-09 |
WO2016023390A1 (en) | 2016-02-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104142853A (en) | Virtual machine storage resource deployment method and device | |
CN111344683B (en) | Namespace allocation in non-volatile memory devices | |
US10261712B2 (en) | Storage capacity allocation using distributed spare space | |
JP5932043B2 (en) | Volatile memory representation of non-volatile storage set | |
CN110413201B (en) | Method, apparatus and computer program product for managing a storage system | |
US20130013880A1 (en) | Storage system and its data processing method | |
US10891066B2 (en) | Data redundancy reconfiguration using logical subunits | |
KR101579941B1 (en) | Method and apparatus for isolating input/output of virtual machines | |
US10013359B2 (en) | Redundant disk array storage system and method using heterogeneous disks and a lookup table | |
US10425352B2 (en) | Policy driven storage hardware allocation | |
US9787761B2 (en) | Allocating physical nodes for processes in an execution plan | |
US9832081B2 (en) | Allocating physical nodes for processes in an execution plan | |
CN111124250A (en) | Method, apparatus and computer program product for managing storage space | |
CN112948279A (en) | Method, apparatus and program product for managing access requests in a storage system | |
US10353641B2 (en) | Storage system and method of managing volumes thereof based on received correlation information of the volumes | |
US9348513B2 (en) | SAS virtual tape drive | |
JP5730446B1 (en) | Hierarchical storage system with trial area, storage controller and program | |
US11119703B2 (en) | Utilizing a set of virtual storage units distributed across physical storage units | |
AU2020382999A1 (en) | Intelligent data pool | |
US11960417B2 (en) | Input/output queue hinting for resource utilization | |
WO2017008571A1 (en) | Method and device for allocating space for volume | |
US9223510B2 (en) | Optimizing storage utilization by modifying a logical volume offset | |
US10162531B2 (en) | Physical allocation unit optimization | |
US20130024614A1 (en) | Storage manager | |
US10938900B1 (en) | Software defined storage defragmentation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |