Summary of the invention
Poor for the generally existing scalability of storage management system, practicability and user experience in the related technology
Problem, the present invention propose a kind of storage device management method and apparatus under cloud environment, can be realized the void of storage equipment
Quasi-ization management, and greatly improve the scalability of storage device management system, practicability;And by calling and the access business
The storage pool matched handles access business, improves the treatment effeciency of access business;And by calling directly storage
The mode in pond handles access business, simply and effectively realizes the unified management to storage equipment, and improve storage equipment
Space utilisation, promoted user experience.
The technical scheme of the present invention is realized as follows:
According to an aspect of the invention, there is provided a kind of storage device management method under cloud environment.
The storage device management method includes:
Multiple storage pools are created according to the type of storage equipment and/or access path, wherein comprising depositing in each storage pool
Store up the attribute information of equipment and the mapping relations of the storage pool and the physical storage address of storage equipment;
In the case where receiving access business, according to the corresponding access path of access business and/or the access business
Type of service and multiple storage pools in store equipment attribute information, determine handle the access business storage pool;
The storage pool of the access business is handled by calling, and according to the physical storage address of the storage pool and storage equipment
Mapping relations, manage corresponding storage equipment.
Wherein, which includes at least one of: type, capacity, uses percentage, hardware letter at access path
Breath, performance index information, RAID (disk array) information, the logic volume information for mapping host.
Preferably, the type of service of the access business be storing data in the case where, the storage device management method into
One step includes:
Receive the data for needing to store;
The storage pool of the access business is handled by calling, and according to the virtual memory address of the storage pool and storage equipment
Physical storage address mapping relations, data are stored to the correspondence memory space of corresponding storage equipment;
The attribute information for the storage equipment for including in the storage pool is updated.
Preferably, in the case where the type of service of the access business is to check the information of storage equipment, the storage equipment
Management method further comprises:
The storage pool of the access business is handled by calling, and according to the physical storage address of the storage pool and storage equipment
Mapping relations, the hardware information, performance index information, RAID letter of corresponding storage equipment are extracted and shown in the storage pool
The logic volume information of breath, mapping host.
Preferably, the case where the type of service of the access business is to operate to the RAID and/or LUN of storage equipment
Under, storage device management method further comprises:
Receive the operation information of the RAID and/or LUN to storage equipment;
The storage pool of the access business is handled by calling, and according to the physical storage address of the storage pool and storage equipment
Mapping relations, and corresponding operation is carried out to the RAID and/or LUN of respective storage devices based on operation information, and obtain behaviour
Make result;
According to the mapping relations of operating result and the storage pool and the physical storage address of storage equipment, in storage pool
The attribute information of respective storage devices is updated.
Optionally, which further comprises:
Corresponding storage pool is updated according to the monitoring information of preparatory received corresponding storage pool.
Optionally, before operating to storage pool, which further comprises:
The level of identity of user is authenticated;
Also, in the case where the level of identity of user is by certification, storage pool is operated.
According to another aspect of the present invention, a kind of storage device management device under cloud environment is provided.
The storage device management device includes:
Creation module, for creating multiple storage pools according to the type and/or access path of storage equipment, wherein each
The mapping of attribute information and the storage pool and the physical storage address of storage equipment comprising storage equipment in storage pool is closed
System;
Determining module, in the case where receiving access business, according to the corresponding access path of access business and/
Or the access business type of service and multiple storage pools in store equipment attribute information, determine handle the access business
Storage pool;
Management module, for handling the storage pool of the access business by calling, and according to the storage pool and storage equipment
Physical storage address mapping relations, manage corresponding storage equipment.
Wherein, which includes at least one of: type, capacity, uses percentage, hardware letter at access path
Breath, performance index information, RAID information, the logic volume information for mapping host.
In addition, the storage device management device further comprises:
Receiving module, for receiving what needs stored in the case where the type of service of the access business is storing data
Data;
Memory module, for handling the storage pool of the access business by calling, and according to the virtual memory of the storage pool
The mapping relations of the physical storage address of address and storage equipment store data empty to the corresponding corresponding storage for storing equipment
Between;
Update module is updated for the attribute information to the storage equipment for including in the storage pool.
There is certain corresponding relationships with storage equipment for creation by between access business and storage equipment by the present invention
Multiple storage pools, realize the virtual management of storage equipment, and keep the scalability of storage device management system, practicability big
Width improves;And according to the corresponding access path of current accessed business and/or the type of service and multiple storages of the access business
The attribute information of equipment is stored in pond, to determine the storage pool for handling the access business, is mutually fitted to call with the access business
The storage pool of conjunction handles access business, improves the treatment effeciency to access business;And by calling directly storage pool
Mode, and based on the storage pool and storage equipment physical storage address mapping relations, access business is handled, can
It simply and effectively realizes the unified management to storage equipment, and improves the space utilisation and user experience of storage equipment.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art's every other embodiment obtained belong to what the present invention protected
Range.
According to an embodiment of the invention, providing a kind of storage device management method under cloud environment.
As shown in Figure 1, storage device management method according to an embodiment of the present invention includes:
Step S101 creates multiple storage pools according to the type of storage equipment and/or access path, wherein each storage
The mapping relations of attribute information and the storage pool and the physical storage address of storage equipment comprising storage equipment in pond;
Step S103 according to the corresponding access path of access business and/or is somebody's turn to do in the case where receiving access business
The attribute information that equipment is stored in the type of service of access business and multiple storage pools, determines and handles depositing for the access business
Reservoir;
Step S105 handles the storage pool of the access business by calling, and according to the object of the storage pool and storage equipment
The mapping relations of storage address are managed, corresponding storage equipment is managed.
Above scheme through the invention can be realized the virtual management of storage equipment, to make storage device management
The scalability of system, practicability greatly improve;And by calling the storage pool matched with the access business come to access industry
Business is handled, to improve the treatment effeciency to access business;And to access business by way of calling directly storage pool
It is handled, simply and effectively realizes the unified management to storage equipment, and improve the space utilisation of storage equipment, promoted and used
Family experience sense.
Above-mentioned technical proposal in order to better understand the present invention, below with reference to a specific embodiment to of the invention above-mentioned
Technical solution is described in detail.
As shown in Fig. 2, the present invention is in upper layer application (that is, using the application of storage) and multiple storage equipment (that is, storage system
System) between by the way that memory node (that is, storage equipment) is carried out virtualization process, in a manner of constructing multiple storage pools, use
Realize the unified management to different type storage equipment in family, wherein as shown in Fig. 2, in the present embodiment, the storage equipment being related to
Type include SAN (storage area network) equipment, NFS (Network File System) equipment, local device, Parastor equipment, its
His some storage equipment.
Wherein, since the demand of storage equipment is always to utilize at spirally increasing upwards in order to improve storage
Rate, reduces the expense for purchasing new storage equipment, and the present invention is being deposited in line with the principle for being easy to user and upper layer device or system uses
Storage system and using storage application between increase one extraction link, so that application program no longer is needed to know their number
According to being stored in that disk, subregion or storage subsystem instead the interface of the generalities of a memory node
Model (that is, storage pool), storage pool not only assume responsibility for the task of sealed in unit information, also assume responsibility for being called directly by upper layer application
Task, that is to say, that user to storage equipment be managed when, it is only necessary to call storage pool, so that it may realize to storage
The unified management of equipment, if implemented correctly, the integrated management of this height can make the space utilisation for storing equipment
It is effective to improve (for example, 80% or higher).
In this embodiment, a distributed virtualization storage management system is provided, as shown in figure 3, being in this management
In system, system is divided by storage permission according to action, storage resource, storage host, storage network, stores the several of event
A operational module.
Wherein, the user of different identity rank is provided in the present system, it at this time can be by storing authority module, to not
User with level of identity restricts in the operation to system, especially to some operation works that may cause and seriously affect
Special limitation out, thus guarantee the safe handling of storage equipment, specifically, before being operated to storage pool, according to this
The storage device management method of embodiment further comprises: authenticating to the level of identity of user;Also, in the identity of user
In the case that rank is by certification, user could carry out corresponding operation to storage pool.
In addition, storage resource module is additionally provided in the present system in order to realize effective management to storage pool, for real
Now to functions such as the creation of storage pool, deletion, modification, pond information inspection, calling, be intended to other storage subsystems (that is,
Use the system sub-modules of storage pool) or upper layer application or user storage resource is provided in a manner of storage pool.
It wherein, can be multiple according to the type of storage equipment and/or access path creation when being created to storage pool
Storage pool, also, several storage pools that system has been pre-created can be for the opportunity of storage pool creation, for example, according to making
IOS template pond, virtual machine image pond, snapshot pond, backup disaster tolerance pond for being divided with approach etc.;It can also be according to actual use
Demand creates the storage pool for being adapted to current accessed business at any time, and the present invention is to this and without limitation.
In addition, if storage equipment has been newly increased in system, then need to only search in existing storage pool and the storage
The storage pool that the type and/or access path of equipment match, and carrying out corresponding update to the content of the storage pool can be complete
At storage system storage equipment increase, if the type for the storage equipment for not having and newly increasing in existing storage pool and/or
The storage pool that access path matches a, then storage pool need to be only created, to reduce newly-increased storage equipment when institute
The correlative charges being related to.
Wherein, the attribute information for storing equipment and storage pool and storage be can be for the content for including in storage pool
The mapping relations of the physical storage address of equipment, wherein, can be by the information group of at least one of for attribute information
At: store equipment type, store equipment access path, store equipment capacity, storage equipment using percentage, storage
The hardware information of equipment, the performance index information for storing equipment, the RAID information for storing equipment, storage equipment mapping host
Logic volume information.
But in practical applications, the content for including in storage pool of the present invention does not limit, and also may include storage and sets
Other standby relevant informations, for example, storage pool shown in the class formation signal of storage pool as shown in Table 1:
Table 1
It, then can be according to the access in the access business for receiving upper layer application after completing the creation of storage pool
The attribute letter of equipment is stored in the type of service and multiple storage pools of the corresponding access path of business and/or the access business
Breath, to determine the storage pool for being suitble to handle the access business;
Wherein, in one embodiment, if the type of service of the access business is storing data, the industry of the type
Business access focus on be memory space size, store equipment type it is whether suitable, then can then pass through storage resource mould
Block come check in storage pool store equipment attribute information (such as storage equipment capacity, using percentage, storage device type
Etc. information) judge that the capacity in which storage pool is bigger, smaller using percentage, type is proper, to pass through
Comprehensive analysis determines the storage pool of the type and/or access path that are most suitable for the access business (being here storing data).
Certainly, it is not only based only on capacity, percentage and type parameter in practical applications to be analyzed, it is also necessary to store
The some attribute informations of others for the storage equipment for including in pond are analyzed, and pass through the storage equipment to multiple storage pools
The comprehensive analysis of attribute information, so that it is determined that coming with the storage pool that the type and/or access path of current accessed business match
Access business is handled, it is therefore, specific to divide here to the content analyzed in storage pool only schematical citing
Which property content of analysis storage equipment will be determined according to the type of access business and/or access path, that is to say, that this hair
A kind of mode of determining storage pool defined by bright, that is, according to the corresponding access path of access business and/or type of service,
And the attribute information of equipment is stored in multiple storage pools, and determine by comprehensive analysis and be suitble to handle depositing for the access business
Reservoir, improves the business processing efficiency of space utilisation and access storage equipment, and then improves the efficiency of management of storage equipment.
After the storage pool for being suitble to handle storing data has been determined by comprehensive analysis, it can pass through and call the processing access industry
The storage pool of business, and according to the mapping relations of the virtual memory address of the storage pool and the physical storage address of storage equipment, it will
The data that the needs received store are stored to the correspondence memory space of corresponding storage equipment;And to including in the storage pool
The attribute information of storage equipment is updated (such as memory capacity, using percentage etc.).
In addition, be mainly that user provides the information inspection of storage equipment for the storage host module in system,
And RAID and/or LUN (logical unit number) operation of storage equipment, so that user be facilitated to carry out the state of storage equipment
Solution, and then preferably storage equipment is managed.
So when storage host module is in operating mode, in one embodiment, when the type of the access business
To check the information for storing equipment, when receiving the operation information of the access business, so that it may corresponding according to the access business
The type of service of access path and/or the access business, it is comprehensive by being carried out to the attribute information for storing equipment in multiple storage pools
Analysis, the storage pool that determining access path and/or type of service with the access business matches are closed, and passes through storage resource mould
Block calls the storage pool to handle the access business (information to check storage equipment here);
Specifically, storage resource module is deposited by calling the storage pool, and according to the storage pool and the physics of storage equipment
Store up the mapping relations of address, so that it may extract in the storage pool and show the hardware information of corresponding storage equipment, performance indicator
Information, RAID information, the logic volume information for mapping host.
Wherein, although store many attribute informations of storage equipment, in actual operation, storage pool in storage pool
The information for being concerned about user is only needed to show, and the unconcerned device attribute of user then all encapsulates in each storage pool
Come, without being shown to user's browsing, so that user be facilitated to check the attribute information of the interested storage equipment of user, saves user
Time, improve equipment management efficiency, improve user experience.
When storage host module is in operating mode, in another embodiment, when the type of the access business is
When being operated to the RAID and/or LUN of storage equipment, so that it may according to the corresponding access path of access business and/or the visit
The type of service for asking business, by carrying out comprehensive analysis, the determining and visit to the attribute information for storing equipment in multiple storage pools
Ask the access path of business and/or the storage pool that type of service matches, and by storage resource module call the storage pool come
Handle the access business (operating here for the RAID and/or LUN to storage equipment);
Specifically, storage resource module by call handle the access business storage pool, and according to the storage pool with deposit
The mapping relations of the physical storage address of equipment are stored up, and the operation based on the RAID and/or LUN to storage equipment received is believed
Breath carries out corresponding operation to the RAID and/or LUN of respective storage devices, and obtains operating result;Storage resource module root again
According to the mapping relations of operating result and the storage pool and the physical storage address of storage equipment, respective stored in storage pool is set
Standby attribute information is updated.
Wherein, the change to RAID group rank, the creation of RAID, deletion, modification etc. can be to the operation of RAID;And it is right
The operation of LUN can be creation, deletion, modification and the map operation to host of LUN, certainly, in practical applications, right
The operation content for storing the RAID and/or LUN of equipment also may include other corresponding operatings, and the present invention does not limit this
It is fixed.
In addition, being mainly used to provide the function of discovering device, that is, use for the storage network module in system
Which storage equipment family can scan by operation, and will be associated in user
Storage network is presented to user in the form of topological diagram by the storage equipment in mainframe network.
Specifically, being that scanning is in phase in the access business received when storage network module is in operating mode
It is associated in the case where storing equipment in the network of host, it can be according to the corresponding access path of access business and/or the access industry
The type of service of business, by carrying out comprehensive analysis, the determining and access industry to the attribute information for storing equipment in multiple storage pools
The storage pool that the access path and/or type of service of business match, and call the storage pool to handle by storage resource module
The access business (storing equipment here to scan in the network in associated host);
Storage resource module handles the storage pool of the access business by calling, and according to the storage pool and stores equipment
The mapping relations of physical storage address determine the storage equipment in the network in user's associated host, and with topological diagram
Form is shown to user for network is stored.
In addition, being mainly used for managing the important letter of daily maintenance equipment for the storage event module in system
Breath, can browse fault message, saved, be deleted
Specifically, storage event module can receive to storage pool when storage event module is in operating mode
Monitoring information, and corresponding storage pool is updated according to the monitoring information, such as storage event module passes through monitoring information
It determines that some storage pool goes wrong, then state is changed to the storage pool, become unavailable from available, avoid other subsystems
Or application program continues to call to the storage pool.
Specific descriptions through the foregoing embodiment are as can be seen that the pipe of the invention for the different storage device under cloud environment
The problem of the existing scalability of reason, practicability and user experience difference gives effective solution scheme, wherein this reality
The virtualized storage management system applied in example initially just follows CIM (universal novel model) in building model, so that depositing
Store up model during can sufficiently include DAS (the direct-connected storage of open system), NAS (network attached storage) type
Store equipment, wherein include local device, traditional SAN equipment, NFS shared device, Parastor shared device etc..This
Invention enables storage model as shown in Figure 2 flexibly to adapt to answering for different storage device by using CIM in systems
It is equipment is more intuitive, be efficiently presented to the user with scene
According to an embodiment of the invention, additionally providing a kind of storage device management device under cloud environment.
As shown in figure 4, storage device management device according to an embodiment of the present invention includes:
Creation module 41, for creating multiple storage pools according to the type and/or access path of storage equipment, wherein every
The mapping of attribute information and the storage pool and the physical storage address of storage equipment comprising storage equipment in a storage pool is closed
System;
Determining module 42, in the case where receiving access business, according to the corresponding access path of access business
And/or the access business type of service and multiple storage pools in store equipment attribute information, determine handle the access industry
The storage pool of business;
Management module 43 for handling the storage pool of the access business by calling, and is set according to the storage pool with storage
The mapping relations of standby physical storage address manage corresponding storage equipment.
Wherein, in one embodiment, attribute information may include at least one of: store the type of equipment, storage is set
The capacity of standby access path, storage equipment, stores equipment at the hardware information for using percentage, storing equipment for storing equipment
Performance index information, store equipment disk array RAID information, storage equipment mapping host logic volume information.
In addition, storage device management device according to an embodiment of the present invention further comprises:
Receiving module (not shown), in the case where the type of service of the access business is storing data, receiving to be needed
The data to be stored;
Memory module (not shown), for handling the storage pool of the access business by calling, and according to the storage pool
The mapping relations of virtual memory address and the physical storage address of storage equipment store data to pair of corresponding storage equipment
Answer memory space;
Update module (not shown) is updated for the attribute information to the storage equipment for including in the storage pool.
In conclusion by means of above-mentioned technical proposal of the invention, by being created between access business and storage equipment
There is multiple storage pools of certain corresponding relationship with storage equipment, the virtual management of storage equipment are realized, to make to deposit
Store up the scalability of equipment management system, practicability greatly improves;And according to the corresponding access path of current accessed business and/or
The attribute information of equipment is stored in the type of service of the access business and multiple storage pools, handles the access business to determine
Storage pool, the storage pool matched with the access business can be called to handle access business, thus improve to visit
Ask the treatment effeciency of business;And when access is handled, by way of calling directly storage pool, and based on the storage pool with
Store the mapping relations of the physical storage address of equipment, so that it may simply and effectively realize the unified management to storage equipment, thus
The space utilisation of storage equipment is improved, and promotes user experience.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention
Within mind and principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.