CN104142853B - Virtual machine storage resource dispositions method and device - Google Patents

Virtual machine storage resource dispositions method and device Download PDF

Info

Publication number
CN104142853B
CN104142853B CN201410393130.6A CN201410393130A CN104142853B CN 104142853 B CN104142853 B CN 104142853B CN 201410393130 A CN201410393130 A CN 201410393130A CN 104142853 B CN104142853 B CN 104142853B
Authority
CN
China
Prior art keywords
virtual machine
storage
lun
storage resource
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.)
Active
Application number
CN201410393130.6A
Other languages
Chinese (zh)
Other versions
CN104142853A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201410393130.6A priority Critical patent/CN104142853B/en
Publication of CN104142853A publication Critical patent/CN104142853A/en
Priority to PCT/CN2015/078524 priority patent/WO2016023390A1/en
Application granted granted Critical
Publication of CN104142853B publication Critical patent/CN104142853B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines

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 kind of virtual machine deployment method and device.This method obtains virtual machine storage resource and describes file first, parse the storage performance requirement that the storage resource describes virtual machine described in file acquisition, then the LUN according to corresponding to storage performance requires the calling IaaS layer management interface settings virtual machine, and then meet the storage performance requirement of virtual machine.With prior art according to the corresponding data store set faciation ratio of the storage capacity requirement of virtual machine determination, the embodiment of the present invention is when disposing storage resource, the LUN directly according to corresponding to storage performance requires setting virtual machine, and then those of ordinary skill in the art can describe file with flexible configuration virtual machine storage resource, avoid identical LUN in active and standby virtual machine, the data disks of same virtual machine and system disk corresponding data storage cluster, the reliability of virtual machine storage resource is improved, and allocative efficiency is higher.

Description

Virtual machine storage resource dispositions method and device
Technical field
The present invention relates to field of cloud computer technology, in particular to a kind of virtual machine storage resource dispositions method and dress Put.
Background technology
Cloud computing is a kind of pattern paid by usage amount, and this pattern provides network available, easily, on demand and visited Ask, into configurable computing resources shared pool, resource includes network, server, storage, application software etc..In cloud computing Under environment, virtual machine shares the amount of physical memory of IaaS layers, such as solid state hard disc (Solid State Drive, SSD), hard Disk drive (Hard Disk Drive, HDD).
When carrying out deploying virtual machine, cloud management system determines corresponding prior art according to the storage capacity requirement of virtual machine Data storage cluster, include multiple logic units in data storage cluster, each logic unit is with LUN (Logic Unit Number, LUN) for mark, the then LUN as corresponding to data storage cluster is randomly assigned virtual machine.
But virtual machine deployment method of the prior art is randomly assigned according to capacity, may cause virtual machine is Overall, data disks correspond to identical in identical LUN, or virtual machine corresponding data storage cluster active and standby each other LUN, the reliability of storage is reduced, therefore prior art letter is to be modified.
The content of the invention
The embodiments of the invention provide a kind of virtual machine deployment method and relevant device for improving memory reliability.
In a first aspect, the embodiment of the present invention provides a kind of virtual machine deployment method, including:Virtual machine storage resource is obtained to retouch State file;
Parse the storage performance requirement that the storage resource describes virtual machine described in file acquisition;
The LUN according to corresponding to the storage performance requires the calling IaaS layer management interface settings virtual machine.
With reference in a first aspect, in the first possible implementation, the storage performance for obtaining the virtual machine will Ask and specifically include:
Obtain the anti-affine strategy of storage of the first virtual machine, the anti-affine virtual machine of policy mandates first and second virtual The storage resource of machine corresponds to different LUN;
The LUN according to corresponding to storage performance requires the calling IaaS layer management interface settings virtual machine Including:
Call IaaS layer management interfaces that first virtual machine and the second virtual machine point are set according to the anti-affine strategy of storage Different LUN is not corresponded to.
With reference in a first aspect, in second of possible implementation, the parsing storage resource describes file acquisition institute The storage performance requirement for stating virtual machine specifically includes:
Parse the storage resource and describe the anti-affine plan of storage between multiple Logical Disks of virtual machine described in file acquisition Slightly;
The LUN according to corresponding to storage performance requires the calling IaaS layer management interface settings virtual machine Including:
Multiple Logical Disks point of the IaaS layer management interfaces setting virtual machine are called according to the anti-affine strategy of the storage Different LUN is not corresponded to.
With reference to second of possible implementation of first aspect, in the third possible implementation, this method is also Including:Receive virtual machine storage thermophoresis request;
Obtain the current deployment information and the anti-affine strategy of storage of the virtual machine;
The LUN according to corresponding to described anti-affine tactful and described current deployment information sets the virtual machine.
With reference to second of possible implementation of first aspect, in the 4th kind of possible implementation, the storage Resource Description File is virtual network function descriptor.
With reference to second of possible implementation of first aspect, in the 5th kind of possible implementation, methods described Also include before obtaining virtual machine storage resource and describing file:
Different RAID groups are divided into according to the height of I/O performances to storage device;
Each RAID groups are divided into multiple logic units, each logic unit is using LUN as mark.
Second aspect, the embodiment of the present invention provide a kind of virtual machine storage resource deployment device, and it includes:
File obtaining unit, file is described for obtaining virtual machine storage resource;
Resolution unit, the storage performance requirement of virtual machine described in file acquisition is described for parsing the storage resource;
Call unit, for being required to call IaaS layer management interfaces to set the virtual machine corresponding according to the storage performance LUN.
With reference to the implementation of the 5th aspect, in the first possible implementation, the device also includes:
Receiving unit, for receiving virtual machine storage thermophoresis request;
Tactful acquiring unit, for the anti-affine strategy of current deployment information and storage for obtaining the virtual machine;
Strategy execution unit, for setting the virtual machine pair according to described anti-affine tactful and described current deployment information The LUN answered.
With reference to the implementation of the 5th aspect, in second of possible implementation, the resolution unit parsing storage The storage performance requirement that Resource Description File obtains the virtual machine specifically includes:
The resolution unit parses the storage I/O performance requirements that the storage resource describes virtual machine described in file acquisition;
The call unit requires that calling IaaS layer management interfaces are patrolled corresponding to setting the virtual machine according to storage performance Collecting unit number includes:
The call unit calls IaaS layer management interfaces to set the virtual machine pair according to the storage I/O performance requirements The LUN answered, the I/O performances of logic unit corresponding to the LUN are higher than the storage I/O performance requirements.
In virtual machine storage resource dispositions method provided in an embodiment of the present invention, virtual machine storage resource is obtained first and is retouched File is stated, parses the storage performance requirement that the storage resource describes virtual machine described in file acquisition, then will according to storage performance Ask and call IaaS layer management interfaces that LUN corresponding to the virtual machine is set, and then meet that the storage performance of virtual machine will Ask.With prior art according to the corresponding data store set faciation ratio of the storage capacity requirement of virtual machine determination, the embodiment of the present invention When disposing storage resource, the LUN directly according to corresponding to storage performance requires setting virtual machine, and then this area is general Logical technical staff can describe file with flexible configuration virtual machine storage resource, avoid active and standby virtual machine, the data of same virtual machine Identical LUN in disk and system disk corresponding data storage cluster, the reliability of virtual machine storage resource is improved, and Allocative efficiency is higher.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, make required in being described below to embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing.Wherein:
Fig. 1 is the storage resource under cloud computing environment in virtual machine storage resource dispositions method provided in an embodiment of the present invention Organization Chart;
Fig. 2 is the flow chart for the virtual machine storage resource dispositions method that the embodiment of the present invention one provides;
Fig. 3 is the flow chart for the virtual machine storage resource dispositions method that the embodiment of the present invention two provides;
Fig. 4 is the flow chart for the virtual machine storage resource dispositions method that the embodiment of the present invention three provides;
Fig. 5 is the structural representation for the virtual machine storage resource deployment device that the embodiment of the present invention four provides;
Fig. 6 is the structural representation for the virtual machine storage resource deployment device that the embodiment of the present invention five provides.
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 carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.Based on this Embodiment in invention, those of ordinary skill in the art are obtained every other under the premise of performing creative labour is not made Embodiment, belong to the scope of protection of the invention.
The present invention provides a kind of virtual machine storage resource dispositions method and device, in embodiments of the present invention, virtual machine portion Administration needs to use the storage resource of IaaS layers in cloud computing.The Organization Chart of storage resource under cloud computing environment as shown in figure 1, its Middle storage medium can be solid state hard disc, the hard disk drive of physics, be divided in the cloud management system storage medium of IaaS layers Multiple logic units, logic unit are identified by LUN LUN.In addition, logic unit is assigned to data store set In group, such as data storage cluster 1 includes LUN0 and LUN1, and data storage cluster 2 includes LUN2, LUN3 and LUN4.
As shown in Fig. 2 the virtual machine storage resource dispositions method that the embodiment of the present invention one provides includes:
Step 110, acquisition virtual machine storage resource describe file.
Wherein, storage resource describes to carry the storage performance requirement of virtual machine to be disposed in file.Storage resource is retouched State file be specifically as follows virtual network function descriptor (Virtualized Network Function Descriptor, VNFD) or open virtual form (Open Virtualized Format, OVF) describes file.Storage resource can be located at cloud meter Infrastructure in calculation system services (Infrastructure as a Service, IaaS) layer.
Step 120, the parsing storage resource describe the storage performance requirement of virtual machine described in file acquisition.
Specifically, it can include between storage I/O performance requirements, virtual machine system disk, Logical Disk in storage performance requirement The anti-affine strategy of storage, the anti-affine strategy of the storage of the first virtual machine and the second virtual machine is (it is required that the first virtual machine and second The storage resource of virtual machine corresponds to different LUN) etc..
Step 130, patrolled according to corresponding to storage performance requirement calls IaaS layer management interfaces to set the virtual machine Collect unit number.
Specifically, the embodiment of the present invention requires to call the IaaS layer-managements in cloud computing system to connect according to above-mentioned storage performance Mouth sets LUN corresponding to virtual machine, and the logic unit that above-mentioned LUN represents is located in data storage cluster.
In virtual machine storage resource dispositions method provided in an embodiment of the present invention, virtual machine storage resource is obtained first and is retouched File is stated, parses the storage performance requirement that the storage resource describes virtual machine described in file acquisition, then will according to storage performance Ask and call IaaS layer management interfaces that LUN corresponding to the virtual machine is set, and then meet that the storage performance of virtual machine will Ask.With prior art according to the corresponding data store set faciation ratio of the storage capacity requirement of virtual machine determination, the embodiment of the present invention When disposing storage resource, the LUN directly according to corresponding to storage performance requires setting virtual machine, and then this area is general Logical technical staff can describe file with flexible configuration virtual machine storage resource, avoid active and standby virtual machine, the data of same virtual machine Identical LUN in disk and system disk corresponding data storage cluster, the reliability of virtual machine storage resource is improved, and Allocative efficiency is higher.
Further, in storage resource dispositions method provided in an embodiment of the present invention, if storage resource describes to take in file Multiple Logical Disks (such as system disk and data disks) of the anti-affine strategy of storage with host virtual machine or standby virtual machine or virtual machine The anti-affine strategy of storage, then required to call IaaS layer management interfaces to set the void according to storage performance in above-mentioned steps 130 LUN corresponding to plan machine is specifically as follows:IaaS layer management interfaces are called to set according to the anti-affine strategy of storage main virtual Different LUN or multiple Logical Disks point of setting virtual machine in machine and standby virtual machine difference corresponding data storage cluster Different LUN in other corresponding data storage cluster.
The embodiment of the present invention is by the way that multiple Logical Disks of active and standby virtual machine, virtual machine to be deployed in different logic lists respectively In member number, the reliability and stability of data storage can be improved.
Referring to Fig. 3, Fig. 3 is the flow chart for the virtual machine storage resource dispositions method that the embodiment of the present invention two provides.
Step 210, different RAID groups are divided into according to the height of I/O performances to storage device.
Specifically, storage device used due to it storage medium, interface type and there is different I/O performances.This hair Bright embodiment can by IaaS stratus management system in cloud computing environment according to the height of I/O performances by the storage device of IaaS layers It is divided into different RAID groups.
Step 220, each RAID groups are divided into multiple logic units, each logic unit using LUN as Mark.
Wherein, RAID groups can be divided into multiple logic units by the IaaS stratus management system in cloud computing environment, so Logic unit is put into data storage cluster afterwards.Same data storage cluster includes multiple logic units.In RAID groups Logic unit can be respectively put into different data storage clusters, can also be put into same data storage cluster.
The virtual machine storage resource that step 230, reception Saas layer applications are sent describes file.
Specifically included specifically, obtaining virtual machine storage resource in above-described embodiment one and describing the step 110 of file:Receive The virtual machine storage resource that the application of Saas layers is sent describes file.Because the application requires to I/O performances, thus the virtual machine Storage resource describes to carry the storage I/O performance requirements of virtual machine in file.Wherein, generation virtual machine storage resource describes file SaaS layers can be serviced by software using being automatically generated according to the storage resource demands of application, this, which describes file, includes application Memory space requirement, storage performance requirement (such as storage I/O performance requirements, the anti-affine strategy of storage) etc..
It can also originate from opening virtual format descriptor in addition, virtual machine storage resource describes file.
Step 240, the parsing storage resource describe the storage performance requirement of virtual machine described in file acquisition.
In the present embodiment, the storage I/O performance requirements that above-mentioned storage resource describes file acquisition virtual machine are parsed.Its In, parsing storage resource, which describes file, can also obtain the memory space requirement of virtual machine, and virtual machine is distributed and meets what is required The method of memory space
Step 250, according to corresponding to the storage I/O performance requirements call IaaS layer management interfaces to set the virtual machine LUN, the I/O performances of logic unit corresponding to the LUN are higher than the storage I/O performance requirements.
Specifically, the present embodiment is according to the storage I/O performance requirements of virtual machine call IaaS layer management interfaces to set LUN corresponding to virtual machine, the storage I/O performances of logic unit corresponding to the LUN are higher than the storage I/O Performance requirement, the logic unit are located in data storage cluster.
Wherein, logic unit different in the data storage cluster corresponds to different storage I/O performances.
In the virtual machine storage resource dispositions method that the embodiment of the present invention two provides, by storing I/ to virtual machine configuration O performances are higher than desired logic unit, can meet requirement of the virtual machine to high I/O performances, and then the embodiment of the present invention can be with According to the different storage I/O performance requirements of virtual machine, the storage resource of meet demand is configured, improve storage resource utilizes effect Rate.
To understand virtual machine storage resource dispositions method provided in an embodiment of the present invention in more detail, it is given below specific Application scenarios.
In this application scene, the application of Saas layers needs to establish active and standby two virtual machines VM1 and VM2, in order to which ensure can By property, it is necessary to which VM1 is placed on different LUN from VM2 logical volume.In addition, VM1 and VM2 belongs to the virtual machine of storage I/O types, The number (Input/Output Operations Per Second, IOPS) per second for carrying out input/output operations requires higher Such as 500IOPS.
Referring to Fig. 4, the virtual machine storage resource 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 according to the height of I/O performances to storage device Group.
As one of embodiment, the embodiment of the present invention is according to the storage media types of storage device, interface type and I/O SSD, SAS, SATA are divided into three disk arrays (Redundant Arrays of by the corresponding relation between energy Independent Disks, RAID) group, the storage I/O performances of three RAID groups reduce successively.Wherein SSD RAID groups meet High I/O performance requirements, SAS meet common I/O performance requirements, and SATA performances are relatively low, are mainly used as system backup.
Step 320, IaaS stratus management system are divided into multiple logic units to each RAID, and logic unit is put into number According to storage cluster.
Wherein, the data storage cluster of the LUN or different I/O performances of the different I/O performances in data storage cluster can be with Meet the I/O performance requirements of different virtual machine.Logic unit in RAID groups can be respectively put into different data storage clusters In, it can also be put into same data storage cluster.It is corresponding, there may be I/O performance identicals in data storage cluster LUN, there may also be the different LUN of I/O performances height.
In this application scene, for example, LUN0, LUN1, LUN2 correspond to SSD storage, LUN3, LUN4 correspond to SAS store, LUN5, LUN6 correspond to SATA storages.LUN0, LUN1, LUN2 are put into same data storage cluster, and LUN3-LUN6 is put into another In data storage cluster.
Wherein, step 310,320 are realized by IaaS stratus management system.For VMware scenes, IaaS stratus Management system is specially VMware vCloud director.
Step 330, VNF management systems receive the virtual machine storage resource that the application of Saas layers is sent and describe file.
Wherein, it is specially VNFD that virtual machine storage resource, which describes file, and application vendor describes virtual according to application requirement Machine memory requirement, and VNF management systems are uploaded to by WEB client side network.VNF management systems can be located at cloud computing system In PaaS layers.
Step 340, VNF management systems parse the VNFD and obtain the storage performance requirement of the virtual machine, and this is deposited Storage performance requirement is sent to IaaS stratus management systems.
Wherein, VNFD describes virtual machine VM1 and virtual machine VM2 and is stored with anti-compatibility, it is desirable to is placed on different LUN On.In addition, I/O performance requirements are 500I/OPS.
Step 350, IaaS stratus management system create virtual machine VM1 and VM2.
Specifically, according to virtual machine VM1, VM2, to the demand of resource, (including computing resource needs IaaS stratus management system Ask, network resource requirement, storage demand etc.) distribution server resource, storage resource.
Wherein, the step of process of IaaS stratus management system distribution storage resource includes creating storage mapping relation, Shen Please the action of physical resource realized by step 360.
Step 360, VNF management systems call the selection of IaaS layer management interfaces according to virtual machine VM1 and VM2 storage demand Meet two logic units of I/O performance requirements, and set virtual machine VM1 and VM2 to correspond to different LUN.
Specifically, virtual machine VM1 and VM2 requires to I/O performances, and requires that storage is anti-affine, VNF management systems are called IaaS layer management interfaces select two LUN LUN0, LUN1 for meeting I/O performance requirements, and set VM1 pairs of virtual machine LUN0, VM2 is answered to correspond to LUN1.In addition, by calling IaaS layer management interfaces, IaaS stratus management system will storage virtual machine VM1 and VM2 I/O performance requirements, the anti-affine strategy of storage.
After LUN corresponding to virtual machine VM1 and VM2 is set, by IaaS layer managing systems to electric on virtual machine, completion The establishment process of virtual machine.The virtual machine creating process that this application scene provides can meet the storage I/O of active and standby virtual machine Anti- affine strategy, can be stored, improves the reliability of active and standby virtual machine, and can be selected according to the I/O situations that virtual machine defines Suitable storage deployment, improve the utilization ratio of storage resource.
Further, in this application scene, during follow-up operation, find to store on LUN0 by IaaS stratus management system Capacity and storage I/O performances can not meet virtual machine VM1 requirements, it is necessary to VM1 be moved on other LUN from LUN0, IaaS layers Triggering or the artificial triggering VM1 thermophoresis request automatically of cloud management system.
The virtual machine storage resource 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 virtual machine VM1 current deployment letter Breath.
Wherein, thermophoresis asks to be used to show that VM1 needs to carry out thermophoresis, including VM1 source LUN, i.e. LUN0.
IaaS cloud management system obtains virtual machine VM1 current deployment information, and the deployment information includes VM1 Logical Disk Position, I/O performance requirements, the position of backup virtual machine VM2 Logical Disk etc..In the present embodiment, its backup virtual machine VM2 Logical Disk be located on LUN1, LUN2-LUN6 is idle, and the I/O performances of LUN0 corresponding to VM1 are higher.
Step 380, IaaS cloud management system are corresponding according to VM1 current deployment information, the anti-affine strategy setting VM1 of storage Migration LUN.
Specifically, IaaS cloud management system according to the VM1 obtained in step 380 current deployment information, preserve before The anti-affine strategy of storage and storage I/O performances, determine that VM1 can not be moved on VM2 logic unit LUN1, finally set LUN2 is migration LUN corresponding to VM1, and then completes VM1 thermomigration process.
In this application scene, suitable storage resource is selected according to the I/O performance requirements of virtual machine during deploying virtual machine, And when the virtual machine storage resource of original allocation can not meet to require, thermophoresis is performed to virtual machine, combined during thermophoresis The storage performance of virtual machine requires that selection meets desired target storage resource.Compared with prior art, the embodiment of the present invention can To better meet the requirement of the storage performance of virtual machine, the utilization ratio of storage resource is improved.
Referring to Fig. 5, Fig. 5 is the schematic diagram for the virtual machine storage resource deployment device that the embodiment of the present invention four provides.
As illustrated, virtual machine storage resource deployment device provided in an embodiment of the present invention mainly includes:
File obtaining unit 410, file is described for obtaining virtual machine storage resource;Wherein, storage resource describes file It can be virtual network function descriptor;
Resolution unit 420, the storage performance requirement of virtual machine described in file acquisition is described for parsing the storage resource;
Call unit 430, for being required to call IaaS layer management interfaces to set the virtual machine according to the storage performance Corresponding LUN.
The virtual machine storage resource deployment device that the embodiment of the present invention four provides can be used in foregoing corresponding deployment side In method embodiment one, embodiment two and embodiment three, its using process and beneficial effect it is identical with above-described embodiment, details referring to Above-described embodiment, it will not be repeated here.
Dispose in device in virtual machine storage resource provided in an embodiment of the present invention, obtained first by file obtaining unit 410 Virtual machine storage resource is taken to describe file, resolution unit 420 parses the storage resource and describes depositing for virtual machine described in file acquisition Performance requirement is stored up, is then required to call IaaS layer management interfaces to set the virtual machine according to storage performance by call unit 430 Corresponding LUN, and then meet the storage performance requirement of virtual machine.Memory capacity with prior art according to virtual machine It is required that data store set faciation ratio corresponding to determining, the embodiment of the present invention is when disposing storage resource, directly according to storage performance It is required that LUN corresponding to virtual machine is set, and then those of ordinary skill in the art can be stored with flexible configuration virtual machine and be provided Source Description file, avoid identical in active and standby virtual machine, the data disks of same virtual machine and system disk corresponding data storage cluster LUN, the reliability of virtual machine storage resource is improved, and allocative efficiency is higher.
With further reference to Fig. 5, virtual machine storage resource deployment device provided in an embodiment of the present invention also includes:
Receiving unit 440, for receiving virtual machine storage thermophoresis request;
Tactful acquiring unit 450, for the anti-affine strategy of current deployment information and storage for obtaining the virtual machine;
Strategy execution unit 460, it is described virtual for being set according to described anti-affine tactful and described current deployment information LUN corresponding to machine.
To manage the storage device of IaaS layers, virtual machine storage resource deployment device provided in an embodiment of the present invention also wraps Include:
Array division unit 470, for obtaining before virtual machine storage resource describes file, to storage device according to I/ The height of O performances is divided into different RAID groups;
Unit number allocation unit 480, for each RAID groups to be divided into multiple logic units, each logic unit Using LUN as mark.
Virtual machine storage resource deployment device provided in an embodiment of the present invention can also use answering in live migration of virtual machine With scene, specifically used process referring to above-described embodiment three description.
Further, disposed in virtual machine storage resource provided in an embodiment of the present invention in device, resolution unit 420 parses The storage performance requirement that storage resource describes virtual machine described in file acquisition specifically includes:
The resolution unit 420 parse the storage resource describe virtual machine described in file acquisition storage I/O performances will Ask;
The call unit 430 is according to corresponding to storage performance requires the calling IaaS layer management interface settings virtual machine LUN includes:
The call unit 430 calls the setting of IaaS layer management interfaces described virtual according to the storage I/O performance requirements LUN corresponding to machine, the I/O performances of logic unit corresponding to the LUN will higher than the storage I/O performances Ask.
In another embodiment, resolution unit 420 parses the storage that storage resource describes virtual machine described in file acquisition It can require to specifically include:
Resolution unit 420 parses that the storage resource describes host virtual machine described in file acquisition and the storage of standby virtual machine is anti- Affine strategy;
The call unit 430 is according to corresponding to storage performance requires the calling IaaS layer management interface settings virtual machine LUN includes:
Call unit 430 calls IaaS layer management interfaces to set the host virtual machine and standby void according to the anti-affine strategy of storage Plan machine corresponds to different LUN respectively.
In another embodiment, the resolution unit 420 parses storage resource and describes depositing for virtual machine described in file acquisition Storage performance requirement specifically includes:
Resolution unit 420 parses the storage resource and describes depositing between multiple Logical Disks of virtual machine described in file acquisition The anti-affine strategy of storage;And
The call unit 430 is according to corresponding to storage performance requires the calling IaaS layer management interface settings virtual machine LUN includes:
Call unit 430 calls IaaS layer management interfaces to set the more of the virtual machine according to the anti-affine strategy of the storage Individual Logical Disk corresponds to different LUN respectively.
Referring to Fig. 6, Fig. 6 is the schematic diagram for the virtual machine storage resource deployment device that the embodiment of the present invention five provides.
As illustrated, virtual machine storage resource deployment device provided in an embodiment of the present invention mainly includes:
Processor 510, memory 520 and bus 530, the memory 520 is used to store computer executed instructions, described Processor 510 is connected with the memory 520 by the bus 530, and when described device is run, the processor 610 is held The row computer executed instructions, so that described device performs following method:
Obtain virtual machine storage resource and describe file;
Parse the storage performance requirement that the storage resource describes virtual machine described in file acquisition;
The LUN according to corresponding to the storage performance requires the calling IaaS layer management interface settings virtual machine.
The virtual machine storage resource deployment device that the embodiment of the present invention five provides performs the process of the above method and foregoing right Dispositions method embodiment one, the embodiment two answered are identical with the implementation procedure of embodiment three, have identical beneficial effect, details Referring to above-described embodiment, will not be repeated here.
It will be recognized by those of ordinary skill in the art that the possibility implementation of various aspects of the invention or various aspects System, method or computer program product can be embodied as.Therefore, each aspect of the present invention or various aspects Possible implementation can use complete hardware embodiment, complete software embodiment (including firmware, resident software etc.), or The form of the embodiment of integration software and hardware aspect, collectively referred to herein as " circuit ", " module " or " system ".In addition, The possibility implementation of each aspect of the present invention or various aspects can use the form of computer program product, computer journey Sequence product refers to be stored in the computer readable program code in computer-readable medium.
Computer-readable medium can be computer-readable signal media or computer-readable recording medium.Computer can Read storage medium including but not limited to electronics, magnetic, optics, electromagnetism, infrared or semiconductor system, equipment either device or Foregoing is any appropriately combined, such as random access memory (RAM), read-only storage (ROM), the read-only storage of erasable programmable Device (EPROM or flash memory), optical fiber, portable read-only storage (CD-ROM).
Processor in computer reads the computer readable program code being stored in computer-readable medium so that place Reason device is able to carry out function action specified in the combination of each step or each step in flow charts;Generation is implemented in block diagram Each piece or each piece of combination specified in function action device.
Computer readable program code can be performed completely on the computer of user, partly held on the computer of user Row, as single software kit, partly on the computer of user and part on the remote computer, or completely long-range Performed on computer or server.It is also noted that in some alternate embodiments, each step or frame in flow charts Each piece of function of indicating may not be occurred by the order indicated in figure in figure.For example, dependent on involved function, show in succession Two steps or two blocks gone out may be actually executed substantially concurrently, or these blocks sometimes may be by with opposite suitable Sequence performs.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually Performed with hardware or software mode, application-specific and design constraint depending on technical scheme.Professional and technical personnel Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed The scope of the present invention.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention described should be defined by scope of the claims.

Claims (12)

1. a kind of virtual machine storage resource dispositions method, it is characterised in that methods described includes:
Obtain virtual machine storage resource and describe file;The storage resource describes to carry depositing for virtual machine to be disposed in file Store up performance requirement;
Parse the storage performance requirement that the storage resource describes virtual machine described in file acquisition;
The LUN according to corresponding to the storage performance requires the calling IaaS layer management interface settings virtual machine is different LUN is different between virtual machine, and the data disks of same virtual machine are different with the LUN of system disk.
2. according to the method for claim 1, it is characterised in that the storage performance requirement for obtaining the virtual machine is specifically Including:
The anti-affine strategy of storage of the first virtual machine is obtained, the anti-affine virtual machine of policy mandates first and the second virtual machine Storage resource corresponds to different LUN;
The LUN according to corresponding to storage performance requires the calling IaaS layer management interface settings virtual machine includes:
IaaS layer management interfaces are called to set first virtual machine and the second virtual machine right respectively according to the anti-affine strategy of storage Answer different LUN.
3. according to the method for claim 1, it is characterised in that the parsing storage resource describes virtual described in file acquisition The storage performance requirement of machine specifically includes:
Parse the storage resource and describe the anti-affine strategy of storage between multiple Logical Disks of virtual machine described in file acquisition;
The LUN according to corresponding to storage performance requires the calling IaaS layer management interface settings virtual machine includes:
IaaS layer management interfaces are called to set multiple Logical Disks of the virtual machine right respectively according to the anti-affine strategy of the storage Answer different LUN.
4. according to the method described in any one of Claim 1-3, it is characterised in that the parsing storage resource describes file and obtained The storage performance requirement of the virtual machine is taken to specifically include:
Parse the storage I/O performance requirements that the storage resource describes virtual machine described in file acquisition;
The LUN according to corresponding to storage performance requires the calling IaaS layer management interface settings virtual machine includes:
The LUN according to corresponding to the storage I/O performance requirements call IaaS layer management interfaces to set the virtual machine, The I/O performances of logic unit corresponding to the LUN are higher than the storage I/O performance requirements.
5. according to the method described in any one of Claim 1-3, it is characterised in that methods described also includes:
Receive virtual machine storage thermophoresis request;
Obtain the current deployment information and the anti-affine strategy of storage of the virtual machine;
The LUN according to corresponding to described anti-affine tactful and described current deployment information sets the virtual machine.
6. according to the method for claim 4, it is characterised in that the storage resource describes file and retouched for virtual network function State symbol.
7. the method according to claim 1 or 6, it is characterised in that the acquisition virtual machine storage resource describes file bag Include:
Receive the virtual machine storage resource that the application of SaaS layers is sent and describe file.
8. according to the method for claim 1, it is characterised in that methods described describes file in acquisition virtual machine storage resource Also include before:
Different RAID groups are divided into according to the height of I/O performances to storage device;
Each RAID groups are divided into multiple logic units, each logic unit is using LUN as mark.
9. a kind of virtual machine storage resource disposes device, it is characterised in that including:
File obtaining unit, file is described for obtaining virtual machine storage resource;The storage resource describes to carry in file The storage performance requirement of virtual machine to be disposed;
Resolution unit, the storage performance requirement of virtual machine described in file acquisition is described for parsing the storage resource;
Call unit, for requiring that calling IaaS layer management interfaces are patrolled corresponding to setting the virtual machine according to the storage performance Unit number is collected, LUN is different between different virtual machine, the data disks of same virtual machine and the LUN of system disk It is different.
10. device according to claim 9, it is characterised in that also include:
Receiving unit, for receiving virtual machine storage thermophoresis request;
Tactful acquiring unit, for the anti-affine strategy of current deployment information and storage for obtaining the virtual machine;
Strategy execution unit, corresponding to the virtual machine is set according to described anti-affine tactful and described current deployment information LUN.
11. device according to claim 9, it is characterised in that also include:
Array division unit, for obtaining before virtual machine storage resource describes file, to storage device according to I/O performances Height is divided into different RAID groups;
Unit number allocation unit, for each RAID groups to be divided into multiple logic units, each logic unit is with logic Unit number is mark.
12. according to the device described in any one of claim 9 to 11, it is characterised in that the resolution unit parses storage resource The storage performance requirement of virtual machine described in description file acquisition specifically includes:
The resolution unit parses the storage I/O performance requirements that the storage resource describes virtual machine described in file acquisition;
Call unit logic list according to corresponding to storage performance requires the calling IaaS layer management interface settings virtual machine Member number includes:
The call unit is according to corresponding to the storage I/O performance requirements call IaaS layer management interfaces to set the virtual machine LUN, the I/O performances of logic unit corresponding to the LUN are higher than the storage I/O performance requirements.
CN201410393130.6A 2014-08-12 2014-08-12 Virtual machine storage resource dispositions method and device Active CN104142853B (en)

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 CN104142853A (en) 2014-11-12
CN104142853B true 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)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104142853B (en) * 2014-08-12 2018-02-09 华为技术有限公司 Virtual machine storage resource dispositions method and device
CN104598316B (en) * 2014-12-25 2018-06-05 华为技术有限公司 A kind of storage resource distribution method and device
CN104468836B (en) * 2014-12-29 2019-01-18 成都极驰科技有限公司 Virtual disk creation method and device and distributed memory system
WO2016119242A1 (en) * 2015-01-30 2016-08-04 华为技术有限公司 Method, device and system for obtaining virtual resources
US10002014B2 (en) * 2015-07-10 2018-06-19 International Business Machines Corporation Management of a virtual machine in a virtualized computing environment based on a fabric limit
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
CN106161603B (en) * 2016-06-28 2019-09-20 华为技术有限公司 A kind of method of networking, equipment and framework
CN107844304B (en) * 2016-09-18 2021-03-19 阿里巴巴集团控股有限公司 Virtual machine hot upgrading method and device
CN106648462B (en) * 2016-11-21 2019-10-25 华为技术有限公司 Date storage method and device
US10296367B2 (en) * 2017-02-03 2019-05-21 Microsoft Technology Licensing, Llc Resource management for virtual machines in cloud computing systems
CN108667864B (en) * 2017-03-29 2020-07-28 华为技术有限公司 Method and device for scheduling resources
CN109426547B (en) * 2017-09-04 2022-05-17 华为技术有限公司 Thermal migration method, device and system of virtual machine
EP3735765A4 (en) 2018-06-01 2021-01-13 Huawei Technologies Co., Ltd. Multiple server-architecture cluster for providing a virtual network function
CN110661641B (en) * 2018-06-29 2021-07-16 华为技术有限公司 Virtual network function VNF deployment method and device
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

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103795804A (en) * 2014-02-24 2014-05-14 华为技术有限公司 Storage resource scheduling method and storage calculation system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8479194B2 (en) * 2007-04-25 2013-07-02 Microsoft Corporation Virtual machine migration
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

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103795804A (en) * 2014-02-24 2014-05-14 华为技术有限公司 Storage resource scheduling method and storage calculation system

Also Published As

Publication number Publication date
WO2016023390A1 (en) 2016-02-18
CN104142853A (en) 2014-11-12

Similar Documents

Publication Publication Date Title
CN104142853B (en) Virtual machine storage resource dispositions method and device
US10261712B2 (en) Storage capacity allocation using distributed spare space
CN104636080B (en) Storage system and the method for it
CN110413201B (en) Method, apparatus and computer program product for managing a storage system
CN103797770B (en) A kind of method and system of shared storage resources
JP6019513B2 (en) Method and system for sharing storage resources
US9411746B2 (en) Computer system, computer and method for performing thin provisioning capacity management in coordination with virtual machines
JP5661921B2 (en) Computer system and management system
US20110066823A1 (en) Computer system performing capacity virtualization based on thin provisioning technology in both storage system and server computer
US9009404B2 (en) Viewing compression and migration status
CN104283959B (en) A kind of memory mechanism based on grading performance suitable for cloud platform
JP2010097372A (en) Volume management system
CN103562881A (en) Defragmentation of data storage pools
US11307900B2 (en) Adjustment of the number of central processing units to meet performance requirements of an I/O resource
JP2022517890A (en) Methods and systems for maintaining storage failure tolerance in composable infrastructure
US20150331759A1 (en) Apparatus, system and method for temporary copy policy
US11347414B2 (en) Using telemetry data from different storage systems to predict response time
CN102915270A (en) Method for recording storage I/O (input/output) requirement and verifying pressure simulation
US9940073B1 (en) Method and apparatus for automated selection of a storage group for storage tiering
CN112732168A (en) Method, apparatus and computer program product for managing a storage system
US9348513B2 (en) SAS virtual tape drive
CN110196752A (en) Data processing method, device and storage medium
JP6361390B2 (en) Storage control device and control program
US11960417B2 (en) Input/output queue hinting for resource utilization
US11847351B2 (en) Automatic identification and ranking of migration candidate storage groups based on relative performance impact to current storage array components

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