CN109582234A - Storage resources distribution method, device, electronic equipment and computer-readable medium - Google Patents
Storage resources distribution method, device, electronic equipment and computer-readable medium Download PDFInfo
- Publication number
- CN109582234A CN109582234A CN201811409627.7A CN201811409627A CN109582234A CN 109582234 A CN109582234 A CN 109582234A CN 201811409627 A CN201811409627 A CN 201811409627A CN 109582234 A CN109582234 A CN 109582234A
- Authority
- CN
- China
- Prior art keywords
- storage resources
- storage
- service request
- state
- resources pond
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/067—Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0629—Configuration or reconfiguration of storage systems
- G06F3/0631—Configuration or reconfiguration of storage systems by allocating resources to storage systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0638—Organizing or formatting or addressing of data
- G06F3/0644—Management of space entities, e.g. partitions, extents, pools
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0662—Virtualisation aspects
- G06F3/0665—Virtualisation aspects at area level, e.g. provisioning of virtual or logical volumes
Abstract
This disclosure relates to a kind of storage resources distribution method, device, electronic equipment and computer-readable medium.It can be used in cloud computing management platform, include operation system type, business storage requirements in the service request this method comprises: receiving the service request of business side;The state in multiple storage resources ponds in distributed document stocking system is obtained in real time, and the state includes performance state and capacity data;According to the service request, the state, and storage reference table determine the first storage resources pond;And storage space creation is carried out to respond the service request of the business side based on first storage resources pond.This disclosure relates to storage resources distribution method, device, electronic equipment and computer-readable medium, automatically can be equipped with optimal storage space in cloud computing platform for different service request.
Description
Technical field
This disclosure relates to computer information processing field, in particular to a kind of storage resources distribution method, device,
Electronic equipment and computer-readable medium.
Background technique
Under the overall background that traditional IT architecture changes to cloud computing framework, OpenStack as cloud computing management platform at
For enterprise's widely used solution, the private clound, public cloud, mixed cloud of suitable industrial nature can be provided for various industries
Scheme, but during using OpenStack, business utilization side how to be allowed more to automate, is intelligent, quickly in cloud meter
The deployment and operation for calculating finishing service on platform, are the problems in technology today.
Currently, using most of cloud platforms of OpenStack, for the storage demand that a upper-layer service side proposes, one
As step be: first pass through statistical service demand, the performance of the virtual hard disk including virtual machine system disk and the additional carry of virtual machine
Demand, capacity requirement etc., then the performance of storage different from what is provided on platform, capacity compare, the money of artificial selection application
Source Type and quantity;Finally by manual creation host, hard disk, the distribution of memory space is completed.This deployment way can not intelligence
Can, automation, resource be quickly provided, black box operation can not be provided to business side, business side is needed to OpenStack cloud platform
Infrastructure, that is, service layer (Infrastructure as a Service, IAAS) have many basic knowledge that could select
Best configuration scheme.By taking large-scale Mysql application as an example, user needs to understand that required Mysql applies the capacity stored to bottom
It is required with detailed performance indicator, while having detailed understanding to IAAS layers of currently stored performance of bottom and capacity, it can be accurate
The suitable memory space of selection.Such processing mode both takes a substantial amount of time or occupies a large amount of manpower.
Therefore, it is necessary to a kind of new storage resources distribution method, device, electronic equipment and computer-readable mediums.
Above- mentioned information are only used for reinforcing the understanding to the background of the disclosure, therefore it disclosed in the background technology part
It may include the information not constituted to the prior art known to persons of ordinary skill in the art.
Summary of the invention
In view of this, the disclosure provides a kind of storage resources distribution method, device, electronic equipment and computer-readable Jie
Matter automatically can be equipped with optimal storage space in cloud computing platform for different service requests.
Other characteristics and advantages of the disclosure will be apparent from by the following detailed description, or partially by the disclosure
Practice and acquistion.
According to the one side of the disclosure, it proposes a kind of storage resources distribution method, can be used in cloud computing management platform, it should
Method includes: the service request of reception business side, includes operation system type, business storage requirements in the service request;It is real
When obtain distributed document stocking system in multiple storage resources ponds state, the state includes performance state and capacity number
According to;According to the service request, the state, and storage reference table determine the first storage resources pond;And based on described the
One storage resources pond carries out storage space creation to respond the service request of the business side.
In a kind of exemplary embodiment of the disclosure, further includes: establish storage reference table, the storage by historical data
Depositing reference table includes operation system demand and storage resources pond corresponding relationship.
In a kind of exemplary embodiment of the disclosure, the service request for receiving business side includes: the flat of reception business side
The service request of Tai Ji service layer;And receive software, that is, service layer service request of business side.
In a kind of exemplary embodiment of the disclosure, multiple storage resources in distributed document stocking system are obtained in real time
The state in pond includes: the shape by calling script and scheduled distributed document stocking system interface to obtain multiple storage resources ponds
State.
In a kind of exemplary embodiment of the disclosure, according to the service request, the state, and storage reference table
Determine that the first storage resources pond includes: according to the service request and the state, the control storage reference table determines multiple
Storage resources pond;The multiple storage resources pond is ranked up, is provided optimal storage resources pond as first storage
Source pond.
In a kind of exemplary embodiment of the disclosure, the multiple storage resources pond is ranked up, by optimal storage
It includes: to carry out in the multiple storage resources pond according to resource services matching degree that resource pool, which is deposited, as first storage resources pond
Sequence, using the highest storage resources pond of matching degree as first storage resources pond.
In a kind of exemplary embodiment of the disclosure, based on first storage resources pond carry out storage space creation with
The service request for responding the business side includes: based on first storage resources pond by calling Nova to carry out host system disk
Creation;Based on first storage resources pond by calling Cinder to complete the creation of hard disk volume;And hard disk is wrapping with and is downloaded to
Host is to complete the service request of the business side.
According to the one side of the disclosure, it proposes a kind of storage resources distributor, can be used in cloud computing management platform, it should
Device includes: receiving module, includes operation system type, industry in the service request for receiving the service request of business side
Business storage requirements;Block of state, it is described for obtaining the state in multiple storage resources ponds in distributed document stocking system in real time
State includes performance state and capacity data;Resource module, for according to the service request, the state, and storage ginseng
It examines table and determines the first storage resources pond;And respond module, for carrying out storage space wound based on first storage resources pond
It builds to respond the service request of the business side.
According to the one side of the disclosure, a kind of electronic equipment is proposed, which includes: one or more processors;
Storage device, for storing one or more programs;When one or more programs are executed by one or more processors, so that one
A or multiple processors realize such as methodology above.
According to the one side of the disclosure, it proposes a kind of computer-readable medium, is stored thereon with computer program, the program
Method as mentioned in the above is realized when being executed by processor.
According to storage resources distribution method, device, electronic equipment and the computer-readable medium of the disclosure, by obtaining automatically
The status data and result for obtaining each storage resources pond store reference table, can be automatically difference in cloud computing platform
Service request be equipped with optimal storage space.
It should be understood that the above general description and the following detailed description are merely exemplary, this can not be limited
It is open.
Detailed description of the invention
Its example embodiment is described in detail by referring to accompanying drawing, above and other target, feature and the advantage of the disclosure will
It becomes more fully apparent.Drawings discussed below is only some embodiments of the present disclosure, for the ordinary skill of this field
For personnel, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is the system block diagram of a kind of storage resources distribution method shown according to an exemplary embodiment and device.
Fig. 2 is a kind of flow chart of storage resources distribution method shown according to an exemplary embodiment.
Fig. 3 is a kind of flow chart of the storage resources distribution method shown according to another exemplary embodiment.
Fig. 4 is a kind of schematic diagram of the storage resources distribution method shown according to another exemplary embodiment.
Fig. 5 is a kind of block diagram of storage resources distributor shown according to an exemplary embodiment.
Fig. 6 is the block diagram of a kind of electronic equipment shown according to an exemplary embodiment.
Fig. 7 is that a kind of computer readable storage medium schematic diagram is shown according to an exemplary embodiment.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be real in a variety of forms
It applies, and is not understood as limited to embodiment set forth herein;On the contrary, thesing embodiments are provided so that the disclosure will be comprehensively and complete
It is whole, and the design of example embodiment is comprehensively communicated to those skilled in the art.Identical appended drawing reference indicates in figure
Same or similar part, thus repetition thereof will be omitted.
In addition, described feature, structure or characteristic can be incorporated in one or more implementations in any suitable manner
In example.In the following description, many details are provided to provide and fully understand to embodiment of the disclosure.However,
It will be appreciated by persons skilled in the art that can with technical solution of the disclosure without one or more in specific detail,
Or it can be using other methods, constituent element, device, step etc..In other cases, it is not shown in detail or describes known side
Method, device, realization or operation are to avoid fuzzy all aspects of this disclosure.
Block diagram shown in the drawings is only functional entity, not necessarily must be corresponding with physically separate entity.
I.e., it is possible to realize these functional entitys using software form, or realized in one or more hardware modules or integrated circuit
These functional entitys, or these functional entitys are realized in heterogeneous networks and/or processor device and/or microcontroller device.
Flow chart shown in the drawings is merely illustrative, it is not necessary to including all content and operation/step,
It is not required to execute by described sequence.For example, some operation/steps can also decompose, and some operation/steps can close
And or part merge, therefore the sequence actually executed is possible to change according to the actual situation.
It should be understood that although herein various assemblies may be described using term first, second, third, etc., these groups
Part should not be limited by these terms.These terms are to distinguish a component and another component.Therefore, first group be discussed herein below
Part can be described as the second component without departing from the teaching of disclosure concept.As used herein, term " and/or " include associated
All combinations for listing any of project and one or more.
It will be understood by those skilled in the art that attached drawing is the schematic diagram of example embodiment, module or process in attached drawing
Necessary to not necessarily implementing the disclosure, therefore it cannot be used for the protection scope of the limitation disclosure.
Fig. 1 is the system block diagram of a kind of storage resources distribution method shown according to an exemplary embodiment and device.
As shown in Figure 1, system architecture 100 may include terminal device 101,102,103, network 104 and server 105.
Network 104 between terminal device 101,102,103 and server 105 to provide the medium of communication link.Network 104 can be with
Including various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be used terminal device 101,102,103 and be interacted by network 104 with server 105, to receive or send out
Send message etc..Various telecommunication customer end applications can be installed, such as cloud data supporting is answered on terminal device 101,102,103
With, web browser applications, searching class application, instant messaging tools, mailbox client etc..
Terminal device 101,102,103 can be the various electronic equipments with display screen and supported web page browsing, packet
Include but be not limited to smart phone, tablet computer, pocket computer on knee and desktop computer etc..
Server 105 can be to provide the server of various services, such as utilize terminal device 101,102,103 to user
The cloud data supporting website browsed provides the background data server supported.Background data server can be to the void received
The data such as quasi- system mount request are analyzed and processed, and processing result (the virtual system address that configuration is completed) is fed back to end
End equipment.
Server 105 can for example receive the service request of business side, include operation system type, industry in the service request
Business storage requirements;Server 105 can for example obtain the state in multiple storage resources ponds in distributed document stocking system, institute in real time
The state of stating includes performance state and capacity data;Server 105 can be for example according to the service request, the state, and storage
It deposits reference table and determines the first storage resources pond;Server 105 for example can carry out storage space based on first storage resources pond
It creates to respond the service request of the business side.
Server 105 can be the server of an entity, also may be, for example, multiple server compositions, needs to illustrate
It is that storage resources distribution method provided by the embodiment of the present disclosure can be executed by server 105, correspondingly, storage resources point
It can be set in server 105 with device.And the request end for being supplied to user's progress service request is normally at terminal device
101, in 102,103.
Fig. 2 is a kind of flow chart of storage resources distribution method shown according to an exemplary embodiment.Storage resources point
Method of completing the square 20 can be used in cloud computing management platform, include at least step S202 to S208.
It include operation system class in the service request as shown in Fig. 2, receiving the service request of business side in S202
Type, business storage requirements.It can be for example, receiving platform, that is, service layer (Platform as a Service, PAAS) of business side
Service request;And receive the service request of software, that is, service layer (Software as a Service, SAAS) of business side.
In one embodiment, traffic direction OpenStack platform submits service request, wherein OpenStack is a kind of
The cloud computing of open source manages platform, it is possible to provide the resources such as storage, calculating, network, while one unified administration interface of offer into
Row management.
In one embodiment, service request may be, for example, that storage task requests are established in OpenStack platform, in industry
It can be for example including the operation system type of the storage task, business storage requirements in business request.It can also for example be wrapped in service request
IO is included to handle up requirement, IOPS requirement, I/O latency requirement, general read-write block size etc..
In S204, the state in multiple storage resources ponds in distributed document stocking system, the state packet are obtained in real time
Include performance state and capacity data.
Wherein, logical partition when storage resources pond pool is ceph (distributed file storage system) storing data.
Each pool can have different features, and pool that can be for example different may not in the physical disk that bottom uses
Equally, different pool capacity is different, copy amount is different etc..The number of copies of different pool is different also can be indirect
Influence performance and available capacity number.It is to have deposited a data inside pool2 as deposited three parts of data inside pool1
, same amount of bottom hard disk is purchased, on the capacity provided external enwergy, pool1 is the 1/3 of pool2, and performance pool1 is also
The 1/3 of pool2.
Each pool can have different types, such as have type1 to 5, type1 to 5 to refer to be categorized into inhomogeneity
The pool of type is mainly reflected in total pond memory capacity, bottom disk is the disk for selecting what performance.For example
Pool1 is very-high performance disk (ten thousand grades/capacity 200T of iops), pool2 is high-performance disk (thousand ranks of iops/capacity
200T), pool3 is capacity type disk (300 or so/capacity 200T of iops), pool4 is high-performance disk (thousand grades of iops/appearance
Measure 1P), pool5 be capacity type disk (hundred grades/capacity 1P of iops).
It in one embodiment, can be for example more by calling script and scheduled distributed document stocking system interface to obtain
The state in a storage resources pond.It can be for example, creating distribution after storage pool initializes, in each business side's memory space requirements
Afterwards, automatically state to multiple storage resources ponds the acquisition of capacity all can be carried out after storage pool back-end hardware dilatation.
In S206, according to the service request, the state, and storage reference table determine the first storage resources pond.
It include: to compare the storage reference table according to the service request and the state and determine multiple storage resources ponds;It will be described more
A storage resources pond is ranked up, using optimal storage resources pond as first storage resources pond.
In one embodiment, further includes: storage reference table is established by historical data, the storage reference table includes industry
Business system requirements and storage resources pond corresponding relationship.Corresponding relationship can the data that report of such as resource pool and to each type of service
It stores type selecting and refers to empirical data.Operation system demand may be, for example: such as mysql application demand, hadoop application demand, machine
The application demand etc. of device study also for example can be subdivided into more demands according to the scale of application, and each type is to depositing
Storage demand can embody IO handle up/tri- numerical index of I/O latency/IOPS on, the corresponding relationship of these indexs and storage resources pond
It can for example be determined by relevant empirical value.
In one embodiment, the multiple storage resources pond is ranked up, using optimal storage resources pond as institute
Stating the first storage resources pond includes: to be ranked up in the multiple storage resources pond according to resource services matching degree, will be matched
Highest storage resources pond is spent as first storage resources pond.
In S208, storage space creation is carried out to respond the business of the business side based on first storage resources pond
Request.It include: based on first storage resources pond by calling Nova to carry out the creation of host system disk;Based on first storage
Resource pool is deposited by calling Cinder to complete the creation of hard disk volume;And hard disk is wrapping with and is downloaded to host to complete the business side
Service request.
According to the storage resources distribution method of the disclosure, by automatically obtaining the status data in each storage resources pond, with
And result stores reference table, can provide optimal storage automatically when business demand side proposes business demand for business demand side
The configuration in space.
According to the storage resources distribution method of the disclosure, can rapidly and efficiently, automation meet different business side, company
Storage resource demands, save the O&M time.
According to the storage resources distribution method of the disclosure, enables to business side to complete optimal memory space selection, be
Business efficient operation provides strong resource support.
It will be clearly understood that the present disclosure describes how to form and use particular example, but the principle of the disclosure is not limited to
These exemplary any details.On the contrary, the introduction based on disclosure disclosure, these principles can be applied to many other
Embodiment.
Fig. 3 is a kind of flow chart of the storage resources distribution method shown according to another exemplary embodiment.It is shown in Fig. 3
Storage resources distribution method 30 be to S206 in process shown in Fig. 2 " according to the service request, the state, and storage
Reference table determines the first storage resources pond " detailed description.
As shown in figure 3, according to the service request and the state, compareing the storage reference table in S302 and determining
Multiple storage resources ponds.
In S304, the multiple storage resources pond is ranked up according to resource services matching degree.
In S306, using optimal storage resources pond as first storage resources pond.
It can be for example, being to require storage for Mysql application according to request, in the request such as provided, according to storage reference table
The empirical value of middle storage is calculated by IO and handles up, I/O latency, IOPS numerical value, as user is provided inside demand it is stated that application needs
IO handle up, O delay, IOPS numerical value, user of being just subject to offer numerical value.Simultaneously add capacity requirement data, will more than
These numerical value need to calculate matching degree, (demand in terms of handling up such as IO with the comparison of the available storage performance of each POOL type
IO value/the POOL that handles up can provide storage IO and handle up value);In terms of capacity (demand capacity/POOL can provide memory capacity), these values
Having any one is more than 1, then this POOL just can be filtered, in the POOL not being filtered this four matching values according to
Weighted value is added (such as 1:1:1:3, this value can configure), the storage resources for taking the smallest POOL of end value the most optimal
Pond.
Fig. 4 is a kind of schematic diagram of the storage resources distribution method shown according to another exemplary embodiment.Such as Fig. 4 institute
Show, the corresponding system of storage resources distribution method may include the collection module of performance data, collect data memory module, automatic to adjust
Spend creation module and business side.
Wherein, the collection module of performance data, the test of operation automatic performance, deposits difference after the completion of system is designed and disposed
The performance and capacity data for storing up Pool are reported to collection data memory module, empty in storage pool initialization, the storage of each business side
Between after demand creation distribution, the acquisition of capacity can be all carried out after storage pool back-end hardware dilatation automatically, and data are reported collection
Data memory module.
The persistence that data memory module completes data is collected, data memory module is collected and passes through database realizing.Storage
The data and empirical data is referred to the storage type selecting of each type of service that each storage pool reports.
Automatic dispatching creation module is submitted in the storage request of business side, business can be submitted detailed by the understanding to business
Type (must fill out, such as mysql), storage capacity requirement (must fill out), IO handle up requirement (choosing is filled out), IOPS require (choosing is filled out), I/O latency
It is required that (choosing is filled out), generally read-write block size (choosing is filled out).
Request that Automatic dispatching creation module is issued according to business side, in conjunction with detailed each storage pool of " collecting data storage "
Data and business store selection reference data in detail, carry out weight operation, are ranked up to result by weight, select optimal deposit
Reservoir Pool initiates the creation (can be virtual machine system disk, virtual hard disk) of memory space according to capacity to Nova and Cinder.
By calling Nova to complete the creation of host system disk, by calling Cinder to complete the creation of hard disk volume, finally
Execute the carry that hard disk is rolled onto host.Storage resource is delivered after configuration is complete to business side.
According to the storage resources distribution method of the disclosure, by the deep understanding of practical business demand, along with automation
The design of process realizes that, when business side proposes storage demand, Automatic dispatching and creation system can be collected and surveyed quickly currently
Performance and capacity headroom data in data-storage system, carry out weight operation, complete final memory space selection scheduling and
Creation provides.
It will be appreciated by those skilled in the art that realizing that all or part of the steps of above-described embodiment is implemented as being executed by CPU
Computer program.When the computer program is executed by CPU, above-mentioned function defined by the above method that the disclosure provides is executed
Energy.The program can store in a kind of computer readable storage medium, which can be read-only memory, magnetic
Disk or CD etc..
Further, it should be noted that above-mentioned attached drawing is only the place according to included by the method for disclosure exemplary embodiment
Reason schematically illustrates, rather than limits purpose.It can be readily appreciated that above-mentioned processing shown in the drawings is not indicated or is limited at these
The time sequencing of reason.In addition, be also easy to understand, these processing, which can be, for example either synchronously or asynchronously to be executed in multiple modules.
Following is embodiment of the present disclosure, can be used for executing embodiments of the present disclosure.It is real for disclosure device
Undisclosed details in example is applied, embodiments of the present disclosure is please referred to.
Fig. 5 is a kind of block diagram of storage resources distributor shown according to an exemplary embodiment.Storage resources distribution
Device 50 includes: receiving module 502, block of state 504, resource module 506 and respond module 508.
Receiving module 502 is used to receive the service request of business side, includes operation system type, industry in the service request
Business storage requirements;It can be for example, receiving the business of platform, that is, service layer (Platform as a Service, PAAS) of business side
Request;And receive the service request of software, that is, service layer (Software as a Service, SAAS) of business side.
Block of state 504 is described for obtaining the state in multiple storage resources ponds in distributed document stocking system in real time
State includes performance state and capacity data;It can be for example by calling script to obtain with scheduled distributed document stocking system interface
Take the state in multiple storage resources ponds.
Resource module 506 is used to determine that the first storage provides according to the service request, the state, and storage reference table
Source pond;It include: to compare the storage reference table according to the service request and the state and determine multiple storage resources ponds;It will
The multiple storage resources pond is ranked up, using optimal storage resources pond as first storage resources pond.
Respond module 508 is used to carry out storage space creation based on first storage resources pond to respond the business side
Service request.It include: based on first storage resources pond by calling Nova to carry out the creation of host system disk;Based on described
First storage resources pond is by calling Cinder to complete the creation of hard disk volume;And hard disk is wrapping with to be downloaded to host described to complete
The service request of business side.
According to the storage resources distributor of the disclosure, by automatically obtaining the status data in each storage resources pond, with
And result stores reference table, can provide optimal storage automatically when business demand side proposes business demand for business demand side
The configuration in space.
Fig. 6 is the block diagram of a kind of electronic equipment shown according to an exemplary embodiment.
The electronic equipment 200 of this embodiment according to the disclosure is described referring to Fig. 6.The electronics that Fig. 6 is shown
Equipment 200 is only an example, should not function to the embodiment of the present disclosure and use scope bring any restrictions.
As shown in fig. 6, electronic equipment 200 is showed in the form of universal computing device.The component of electronic equipment 200 can wrap
It includes but is not limited to: at least one processing unit 210, at least one storage unit 220, (including the storage of the different system components of connection
Unit 220 and processing unit 210) bus 230, display unit 240 etc..
Wherein, the storage unit is stored with program code, and said program code can be held by the processing unit 210
Row, so that the processing unit 210 executes described in this specification above-mentioned electronic prescription circulation processing method part according to this
The step of disclosing various illustrative embodiments.For example, the processing unit 210 can be executed such as Fig. 2, walked shown in Fig. 4
Suddenly.
The storage unit 220 may include the readable medium of volatile memory cell form, such as random access memory
Unit (RAM) 2201 and/or cache memory unit 2202 can further include read-only memory unit (ROM) 2203.
The storage unit 220 can also include program/practical work with one group of (at least one) program module 2205
Tool 2204, such program module 2205 includes but is not limited to: operating system, one or more application program, other programs
It may include the realization of network environment in module and program data, each of these examples or certain combination.
Bus 230 can be to indicate one of a few class bus structures or a variety of, including storage unit bus or storage
Cell controller, peripheral bus, graphics acceleration port, processing unit use any bus structures in a variety of bus structures
Local bus.
Electronic equipment 200 can also be with one or more external equipments 300 (such as keyboard, sensing equipment, bluetooth equipment
Deng) communication, can also be enabled a user to one or more equipment interact with the electronic equipment 200 communicate, and/or with make
Any equipment (such as the router, modulation /demodulation that the electronic equipment 200 can be communicated with one or more of the other calculating equipment
Device etc.) communication.This communication can be carried out by input/output (I/O) interface 250.Also, electronic equipment 200 can be with
By network adapter 260 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network,
Such as internet) communication.Network adapter 260 can be communicated by bus 230 with other modules of electronic equipment 200.It should
Understand, although not shown in the drawings, other hardware and/or software module can be used in conjunction with electronic equipment 200, including but unlimited
In: microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and number
According to backup storage system etc..
Through the above description of the embodiments, those skilled in the art is it can be readily appreciated that example described herein is implemented
Mode can also be realized by software realization in such a way that software is in conjunction with necessary hardware.Therefore, according to the disclosure
The technical solution of embodiment can be embodied in the form of software products, which can store non-volatile at one
Property storage medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in or network on, including some instructions are so that a calculating
Equipment (can be personal computer, server or network equipment etc.) executes the above method according to disclosure embodiment.
Fig. 7 schematically shows a kind of computer readable storage medium schematic diagram in disclosure exemplary embodiment.
Refering to what is shown in Fig. 7, describing the program product for realizing the above method according to embodiment of the present disclosure
400, can using portable compact disc read only memory (CD-ROM) and including program code, and can in terminal device,
Such as it is run on PC.However, the program product of the disclosure is without being limited thereto, in this document, readable storage medium storing program for executing can be with
To be any include or the tangible medium of storage program, the program can be commanded execution system, device or device use or
It is in connection.
Described program product can be using any combination of one or more readable mediums.Readable medium can be readable letter
Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared ray or
System, device or the device of semiconductor, or any above combination.The more specific example of readable storage medium storing program for executing is (non exhaustive
List) include: electrical connection with one or more conducting wires, portable disc, hard disk, random access memory (RAM), read-only
Memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory
(CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
The computer readable storage medium may include in a base band or the data as the propagation of carrier wave a part are believed
Number, wherein carrying readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetism
Signal, optical signal or above-mentioned any appropriate combination.Readable storage medium storing program for executing can also be any other than readable storage medium storing program for executing
Readable medium, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or
Person's program in connection.The program code for including on readable storage medium storing program for executing can transmit with any suitable medium, packet
Include but be not limited to wireless, wired, optical cable, RF etc. or above-mentioned any appropriate combination.
Can with any combination of one or more programming languages come write for execute the disclosure operation program
Code, described program design language include object oriented program language-Java, C++ etc., further include conventional
Procedural programming language-such as " C " language or similar programming language.Program code can be fully in user
It calculates and executes in equipment, partly executes on a user device, being executed as an independent software package, partially in user's calculating
Upper side point is executed on a remote computing or is executed in remote computing device or server completely.It is being related to far
Journey calculates in the situation of equipment, and remote computing device can pass through the network of any kind, including local area network (LAN) or wide area network
(WAN), it is connected to user calculating equipment, or, it may be connected to external computing device (such as utilize ISP
To be connected by internet).
Above-mentioned computer-readable medium carries one or more program, when said one or multiple programs are by one
When the equipment executes, so that the computer-readable medium implements function such as: receiving the service request of business side, the business is asked
It include operation system type, business storage requirements in asking;Multiple storage resources ponds in distributed document stocking system are obtained in real time
State, the state includes performance state and capacity data;According to the service request, the state, and storage reference
Table determines the first storage resources pond;And storage space creation is carried out to respond the business based on first storage resources pond
The service request of side.
It will be appreciated by those skilled in the art that above-mentioned each module can be distributed in device according to the description of embodiment, it can also
Uniquely it is different from one or more devices of the present embodiment with carrying out corresponding change.The module of above-described embodiment can be merged into
One module, can also be further split into multiple submodule.
By the description of above embodiment, those skilled in the art is it can be readily appreciated that example embodiment described herein
It can also be realized in such a way that software is in conjunction with necessary hardware by software realization.Therefore, implemented according to the disclosure
The technical solution of example can be embodied in the form of software products, which can store in a non-volatile memories
In medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) or on network, including some instructions are so that a calculating equipment (can
To be personal computer, server, mobile terminal or network equipment etc.) it executes according to the method for the embodiment of the present disclosure.
It is particularly shown and described the exemplary embodiment of the disclosure above.It should be appreciated that the present disclosure is not limited to
Detailed construction, set-up mode or implementation method described herein;On the contrary, disclosure intention covers included in appended claims
Various modifications and equivalence setting in spirit and scope.
In addition, structure shown by this specification Figure of description, ratio, size etc., only to cooperate specification institute
Disclosure, for skilled in the art realises that be not limited to the enforceable qualifications of the disclosure with reading, therefore
Do not have technical essential meaning, the modification of any structure, the change of proportionate relationship or the adjustment of size are not influencing the disclosure
Under the technical effect and achieved purpose that can be generated, it should all still fall in technology contents disclosed in the disclosure and obtain and can cover
In the range of.Meanwhile cited such as "upper" in this specification, " first ", " second " and " one " term, be also only and be convenient for
Narration is illustrated, rather than to limit the enforceable range of the disclosure, relativeness is altered or modified, without substantive change
Under technology contents, when being also considered as the enforceable scope of the disclosure.
Claims (10)
1. a kind of storage resources distribution method can be used in cloud computing management platform characterized by comprising
The service request of reception business side includes operation system type, business storage requirements in the service request;
The state in multiple storage resources ponds in distributed document stocking system is obtained in real time, and the state includes performance state and appearance
Measure data;
According to the service request, the state, and storage reference table determine the first storage resources pond;And
Storage space creation is carried out based on first storage resources pond to respond the service request of the business side.
2. the method as described in claim 1, which is characterized in that further include:
Storage reference table is established by historical data, the storage reference table includes that operation system demand is corresponding with storage resources pond
Relationship.
3. the method as described in claim 1, which is characterized in that receive business side service request include:
Platform, that is, service layer service request of reception business side;And
Software, that is, service layer service request of reception business side.
4. the method as described in claim 1, which is characterized in that obtain multiple storage moneys in distributed document stocking system in real time
The state in source pond includes:
By calling script and scheduled distributed document stocking system interface to obtain the state in multiple storage resources ponds.
5. method according to claim 2, which is characterized in that according to the service request, the state, and storage reference
Table determines that the first storage resources pond includes:
According to the service request and the state, compares the storage reference table and determine multiple storage resources ponds;
The multiple storage resources pond is ranked up, using optimal storage resources pond as first storage resources pond.
6. method as claimed in claim 5, which is characterized in that the multiple storage resources pond is ranked up, it will be optimal
Storage resources pond includes: as first storage resources pond
The multiple storage resources pond is ranked up according to resource services matching degree, by the highest storage resources pond of matching degree
As first storage resources pond.
7. the method as described in claim 1, which is characterized in that carry out storage space creation based on first storage resources pond
Include: to respond the service request of the business side
Based on first storage resources pond by calling Nova to carry out the creation of host system disk;
Based on first storage resources pond by calling Cinder to complete the creation of hard disk volume;And
Hard disk is wrapping with and is downloaded to host to complete the service request of the business side.
8. a kind of storage resources distributor can be used in cloud computing management platform characterized by comprising
Receiving module includes operation system type, business storage in the service request for receiving the service request of business side
Demand;
Block of state, for obtaining the state in multiple storage resources ponds in distributed document stocking system, the state packet in real time
Include performance state and capacity data;
Resource module, for determining the first storage resources pond according to the service request, the state, and storage reference table;
And
Respond module, for carrying out storage space creation based on first storage resources pond to respond the business of the business side
Request.
9. a kind of electronic equipment characterized by comprising
One or more processors;
Storage device, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real
The now method as described in any in claim 1-7.
10. a kind of computer-readable medium, is stored thereon with computer program, which is characterized in that described program is held by processor
The method as described in any in claim 1-7 is realized when row.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811409627.7A CN109582234A (en) | 2018-11-23 | 2018-11-23 | Storage resources distribution method, device, electronic equipment and computer-readable medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811409627.7A CN109582234A (en) | 2018-11-23 | 2018-11-23 | Storage resources distribution method, device, electronic equipment and computer-readable medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109582234A true CN109582234A (en) | 2019-04-05 |
Family
ID=65924340
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811409627.7A Pending CN109582234A (en) | 2018-11-23 | 2018-11-23 | Storage resources distribution method, device, electronic equipment and computer-readable medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109582234A (en) |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110717077A (en) * | 2019-09-09 | 2020-01-21 | 平安科技(深圳)有限公司 | Resource scoring and processing method and device, electronic equipment and medium |
CN110955519A (en) * | 2019-11-01 | 2020-04-03 | 京东数字科技控股有限公司 | Method and device for host distribution |
CN111158595A (en) * | 2019-12-27 | 2020-05-15 | 中国建设银行股份有限公司 | Enterprise-level heterogeneous storage resource scheduling method and system |
CN111338751A (en) * | 2020-02-13 | 2020-06-26 | 山东汇贸电子口岸有限公司 | Cross-pool migration method and device for data in same ceph cluster |
CN112506423A (en) * | 2020-11-02 | 2021-03-16 | 北京迅达云成科技有限公司 | Method and device for dynamically accessing storage equipment in cloud storage system |
CN112527509A (en) * | 2020-12-21 | 2021-03-19 | 北京百度网讯科技有限公司 | Resource allocation method and device, electronic equipment and storage medium |
CN112637299A (en) * | 2020-12-15 | 2021-04-09 | 中国联合网络通信集团有限公司 | Cloud resource allocation method, device, equipment, medium and product |
CN112925851A (en) * | 2021-02-26 | 2021-06-08 | 杭州网易再顾科技有限公司 | Single number processing method and device, electronic equipment and storage medium |
CN113301154A (en) * | 2021-05-24 | 2021-08-24 | 建信金融科技有限责任公司 | Public cloud resource creating method and device, storage medium and electronic equipment |
CN113721855A (en) * | 2021-09-01 | 2021-11-30 | 中国建设银行股份有限公司 | Storage method and device of storage resources, electronic equipment and computer storage medium |
CN113730919A (en) * | 2021-09-10 | 2021-12-03 | 北京百度网讯科技有限公司 | Cloud application pre-starting method, device, equipment, storage medium and program product |
WO2022057481A1 (en) * | 2020-09-16 | 2022-03-24 | 中兴通讯股份有限公司 | Memory resource allocation method and network device |
CN115225487A (en) * | 2022-07-25 | 2022-10-21 | 天翼云科技有限公司 | Cloud service opening method and device |
CN116339644A (en) * | 2023-05-26 | 2023-06-27 | 苏州浪潮智能科技有限公司 | Method, device, equipment and medium for creating redundant array of independent disk |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101510143A (en) * | 2009-03-13 | 2009-08-19 | 杭州华三通信技术有限公司 | Storage space dynamic assignment method, system and storage apparatus |
CN103581339A (en) * | 2013-11-25 | 2014-02-12 | 广东电网公司汕头供电局 | Storage resource allocation monitoring and processing method based on cloud computing |
CN103595815A (en) * | 2013-11-25 | 2014-02-19 | 广东电网公司汕头供电局 | Method for distributing storage resources based on cloud computing |
CN105516242A (en) * | 2015-11-23 | 2016-04-20 | 华为技术有限公司 | Storage resource distribution method and storage resource distribution system |
-
2018
- 2018-11-23 CN CN201811409627.7A patent/CN109582234A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101510143A (en) * | 2009-03-13 | 2009-08-19 | 杭州华三通信技术有限公司 | Storage space dynamic assignment method, system and storage apparatus |
CN103581339A (en) * | 2013-11-25 | 2014-02-12 | 广东电网公司汕头供电局 | Storage resource allocation monitoring and processing method based on cloud computing |
CN103595815A (en) * | 2013-11-25 | 2014-02-19 | 广东电网公司汕头供电局 | Method for distributing storage resources based on cloud computing |
CN105516242A (en) * | 2015-11-23 | 2016-04-20 | 华为技术有限公司 | Storage resource distribution method and storage resource distribution system |
Cited By (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110717077A (en) * | 2019-09-09 | 2020-01-21 | 平安科技(深圳)有限公司 | Resource scoring and processing method and device, electronic equipment and medium |
CN110955519A (en) * | 2019-11-01 | 2020-04-03 | 京东数字科技控股有限公司 | Method and device for host distribution |
CN111158595A (en) * | 2019-12-27 | 2020-05-15 | 中国建设银行股份有限公司 | Enterprise-level heterogeneous storage resource scheduling method and system |
CN111158595B (en) * | 2019-12-27 | 2023-05-23 | 中国建设银行股份有限公司 | Enterprise-level heterogeneous storage resource scheduling method and system |
CN111338751A (en) * | 2020-02-13 | 2020-06-26 | 山东汇贸电子口岸有限公司 | Cross-pool migration method and device for data in same ceph cluster |
WO2022057481A1 (en) * | 2020-09-16 | 2022-03-24 | 中兴通讯股份有限公司 | Memory resource allocation method and network device |
CN112506423A (en) * | 2020-11-02 | 2021-03-16 | 北京迅达云成科技有限公司 | Method and device for dynamically accessing storage equipment in cloud storage system |
CN112506423B (en) * | 2020-11-02 | 2021-07-20 | 北京迅达云成科技有限公司 | Method and device for dynamically accessing storage equipment in cloud storage system |
CN112637299A (en) * | 2020-12-15 | 2021-04-09 | 中国联合网络通信集团有限公司 | Cloud resource allocation method, device, equipment, medium and product |
CN112637299B (en) * | 2020-12-15 | 2022-04-26 | 中国联合网络通信集团有限公司 | Cloud resource allocation method, device, equipment, medium and product |
CN112527509A (en) * | 2020-12-21 | 2021-03-19 | 北京百度网讯科技有限公司 | Resource allocation method and device, electronic equipment and storage medium |
CN112527509B (en) * | 2020-12-21 | 2023-09-01 | 北京百度网讯科技有限公司 | Resource allocation method and device, electronic equipment and storage medium |
CN112925851A (en) * | 2021-02-26 | 2021-06-08 | 杭州网易再顾科技有限公司 | Single number processing method and device, electronic equipment and storage medium |
CN113301154A (en) * | 2021-05-24 | 2021-08-24 | 建信金融科技有限责任公司 | Public cloud resource creating method and device, storage medium and electronic equipment |
CN113301154B (en) * | 2021-05-24 | 2023-07-28 | 建信金融科技有限责任公司 | Public cloud resource creation method and device, storage medium and electronic equipment |
CN113721855A (en) * | 2021-09-01 | 2021-11-30 | 中国建设银行股份有限公司 | Storage method and device of storage resources, electronic equipment and computer storage medium |
CN113730919A (en) * | 2021-09-10 | 2021-12-03 | 北京百度网讯科技有限公司 | Cloud application pre-starting method, device, equipment, storage medium and program product |
CN113730919B (en) * | 2021-09-10 | 2024-01-09 | 北京百度网讯科技有限公司 | Cloud application pre-starting method, device, equipment, storage medium and program product |
CN115225487A (en) * | 2022-07-25 | 2022-10-21 | 天翼云科技有限公司 | Cloud service opening method and device |
CN116339644A (en) * | 2023-05-26 | 2023-06-27 | 苏州浪潮智能科技有限公司 | Method, device, equipment and medium for creating redundant array of independent disk |
CN116339644B (en) * | 2023-05-26 | 2023-08-11 | 苏州浪潮智能科技有限公司 | Method, device, equipment and medium for creating redundant array of independent disk |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109582234A (en) | Storage resources distribution method, device, electronic equipment and computer-readable medium | |
US10489217B2 (en) | Determining storage tiers for placement of data sets during execution of tasks in a workflow | |
US8966175B2 (en) | Automated storage provisioning within a clustered computing environment | |
EP2342628B1 (en) | Integration of an internal cloud infrastructure with existing enterprise services and systems | |
CN109961151A (en) | For the system for calculating service of machine learning and for the method for machine learning | |
CN103858118A (en) | Dynamically acquiring computing resources in a networked computing environment | |
CN103299274A (en) | Determining an optimal computing environment for running an image | |
US11200587B2 (en) | Facilitating use of select hyper-local data sets for improved modeling | |
US20180025406A1 (en) | Determining recommendations based on user intent | |
US20120323821A1 (en) | Methods for billing for data storage in a tiered data storage system | |
CN110069579A (en) | Fence method of partition and device | |
CN103927216A (en) | Method And System For Managing Virtual Devices | |
CN109582452A (en) | A kind of container dispatching method, dispatching device and electronic equipment | |
CN109614227A (en) | Task resource concocting method, device, electronic equipment and computer-readable medium | |
CN110290557A (en) | A kind of method and apparatus of the interior page-tag of load application | |
CN116414518A (en) | Data locality of big data on Kubernetes | |
US10887163B2 (en) | Dynamic planning and configuration based on inconsistent supply | |
US8627039B2 (en) | Effective memory clustering to minimize page fault and optimize memory utilization | |
US10600037B2 (en) | Efficient scheduling of maintenance for power distribution systems | |
US20130219230A1 (en) | Data center job scheduling | |
CN109683917A (en) | For the method for being deployed in application server, equipment and medium will to be applied | |
CN111832311A (en) | Automatic semantic analysis and comparison of chat robot capabilities | |
US20130145004A1 (en) | Provisioning using presence detection | |
US11645595B2 (en) | Predictive capacity optimizer | |
CN109902981A (en) | For carrying out the method and device of data analysis |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190405 |
|
RJ01 | Rejection of invention patent application after publication |