CN104238955B - A kind of device and method of storage resource virtualization distribution according to need - Google Patents
A kind of device and method of storage resource virtualization distribution according to need Download PDFInfo
- Publication number
- CN104238955B CN104238955B CN201310247774.XA CN201310247774A CN104238955B CN 104238955 B CN104238955 B CN 104238955B CN 201310247774 A CN201310247774 A CN 201310247774A CN 104238955 B CN104238955 B CN 104238955B
- Authority
- CN
- China
- Prior art keywords
- storage resource
- virtual server
- server
- new
- logical address
- 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
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Memory System Of A Hierarchy Structure (AREA)
Abstract
The present invention provides a kind of device and method of storage resource virtualization distribution according to need, applies on the physical server of installation virtualized server.The device executes following process flow: A, monitoring the write operation of virtual server, when monitoring that the storage resource due to the virtual server has expired when writing error in data, new logical address request is generated for the virtual server;It B, is that the virtual server distributes new storage resource, and the mapping relations of new logical address and physical address are updated into mapping table according to the new logical address request;Wherein the storage resource is that the external storage equipment of physical server provides.According to the technical solution of the present invention, it solves the problems, such as that storage resource can not reallocate in the prior art, improves the processing request ability of storage, while saving a large amount of purchase cost.
Description
Technical field
The present invention relates to virtual cluster technical field more particularly to a kind of devices of storage resource virtualization distribution according to need
And method.
Background technique
Increasingly mature with virtualization technology, the field of application is also continuously increased, and the scale of virtual cluster is also more next
It is bigger.Wherein, server virtualization is that server physical resource is abstracted into logical resource, and a server is allowed to become several very
To up to a hundred mutually isolated virtual servers, it is no longer limited by boundary physically, but allows CPU, memory, disk, I/O etc.
Hardware becomes " resource pool " that can dynamically manage, to improve the utilization rate of resource, simplifies system administration, realizes that server is whole
It closes.
Virtual memory is exactly that multiple storage medium modules, such as hard disk, RAID are managed concentratedly by certain means,
The storage system of large capacity, high data transmission performance is provided for user.Virtual memory be by actual physical storage entity with
The logical expressions of storage separate, and virtual server is only come into contacts with the logical volume for distributing to it.In the prior art, based on service
The virtualization of device is exactly to run virtual memory software on the server, but the virtual memory software can occupy the money of server
Source, therefore influence whether the overall performance of Enterprise IT System.And the storage resource of virtual server is distributed usually disposable
Distribution, this not only makes the allocated storage resource become not reusable, when the logical space of certain virtual server makes
It will result in the waste of storage resource when low with rate, while being also unable to satisfy the more storage demands of certain virtual server.
Summary of the invention
In view of this, the present invention provides a kind of device and method of storage resource virtualization distribution according to need, it is above-mentioned to solve
The deficiencies in the prior art.
Specifically, described device is applied on the physical server of installation virtualized server, which includes:
Monitoring modular, for monitoring the write operation of virtual server, when monitoring depositing due to the virtual server
When storage resource has expired and write error in data, new logical address request is generated for the virtual server;
Management module, for being that the virtual server distributes new storage resource according to the new logical address request,
And the mapping relations of new logical address and physical address are updated into mapping table;
Wherein the storage resource is that the external storage equipment of physical server provides.
The present invention also provides a kind of method of storage resource virtualization distribution according to need, apply in installation virtualized server
On physical server, which comprises
A, the write operation for monitoring virtual server, the storage resource due to the virtual server has expired when monitoring and
When writing error in data, new logical address request is generated for the virtual server;
B, according to the new logical address request it is that the virtual server distributes new storage resource, and by new logic
The mapping relations of address and physical address are updated into mapping table;
Wherein the storage resource is that the external storage equipment of physical server provides.
By above technical scheme as it can be seen that technical solution provided by the invention is realized by simplifying automatically to storage resource
Distribution according to need, improves the processing request ability of storage, while saving a large amount of purchase cost.
Detailed description of the invention
Fig. 1 is the device logic chart of the storage resource virtualization distribution according to need of one embodiment of the present invention;
Fig. 2 is the method flow diagram of the storage resource virtualization distribution according to need of one embodiment of the present invention.
Specific embodiment
Server virtualization is that the physical resource of server is abstracted into logical resource, and a server is allowed to become several,
Even up to a hundred mutually isolated virtual servers, in this way, the hardware such as CPU, memory, disk can be made to become dynamically to manage
Resource pool simplify system administration to improve the utilization rate of resource, realize Server Consolidation.Virtual memory is exactly multiple
Storage medium, such as disk, RAID either some external storage equipment storage resources are managed concentratedly by certain means
Get up, all storage mediums are managed collectively in a storage pool, and then provide large capacity, high data biography for user
The storage system of defeated performance.
Storage resource generally includes block device and file system, and wherein file system can extend automatically, but for outer
For some block devices such as the storage equipment connect, can only once it be divided when configuring virtual server in the prior art
Match.The present invention provides a kind of device and method of storage resource virtualization distribution according to need, applies in installation virtualized server
On physical server, may be implemented to distribute according to need to the external storage equipment in storage resource, since meet virtual clothes
The storage demand of business device.It is discussed in detail so that computer software is realized as an example below, but other implementations are not precluded in the present invention,
Such as programmable logical device, firmware even specialized hardware etc..
Please refer to Fig. 1 and Fig. 2, the device of storage resource virtualization distribution according to need of the present invention include: monitoring modular,
Management module, cache module and transit module.Described device executes following process flow when realizing the present invention.
Step 101, the storage for distributing one section of unit-sized for each virtual server when configuring virtual server system
Resource, and the mapping relations of the logical address and physical address of virtual server storage resource are saved in mapping table, this step
Suddenly it is executed by management module.
In this step, the external storage equipment of the storage resource physical server is provided, the external storage equipment
Including but not limited to external hard disk or external specific store system.Specifically, configure virtual server when
It waits, is the storage resource that each virtual server distributes one section of unit-sized from virtual storage resource, wherein the unit is big
Small storage resource can usually be configurable to 1G according to actual demand by administrator configurations.After the completion of configuration, Ge Gexu
The storage resource that quasi- server possesses is actually that logical address space, the logical address space may map to reality one by one
The amount of physical memory on border, for its use.At this point, mapping table is also established, for patrolling virtual server storage resource
The mapping relations for collecting address and physical address are saved in the mapping table, so that virtual server will be patrolled according to the mapping table
Volume address is reduced into physical address and is written and read.
Step 102, the write operation for monitoring virtual server.This step is executed by monitoring modular.
In this step, monitoring modular mainly monitors the storage resource, and enough whether its corresponding virtual server is used.
Specifically, virtual server includes reading data and writing data for the operation of its storage resource, if the storage resource is inadequate
With, generally, it will not influence reading data, but error in data can be write, so monitoring module monitors virtual server
Write operation.When monitor that the storage resource due to the virtual server has expired and when writing error in data,
New logical address request is generated, for the virtual server for requesting to distribute new storage resource.
New logical address in the new logical address request is for original existing logical address.It lifts
For example, if virtual server storage resource, that is, logical address space is divided into 50 parts, and serial number No. 1 to 50
Number, after this 50 parts of logical address spaces are finished, No. 51 space should be just used in sequence, and what is generated at this time is described new
Logical address request in logical address number be exactly No. 51, in this way after distributing new storage resource, will default specifically
Data are stored in the logical space that number is No. 51.
Step 103, by virtual server due to storage resource has expired and occur write error data be stored in it is preset
In buffer area.This step is executed by cache module.
Specifically, the preset buffer area can be memory, be also possible in the resource of entire virtual memory in advance
It distributes.
Step 104 distributes new storage resource for the new logical address request, and by new logical address and physics
The mapping relations of address are updated into mapping table.This step is executed by management module.
It can be its point after the management module receives the new logical address request that monitoring modular is sent in step 102
With new storage resource.Wherein, the size of the new storage resource of the management module distribution can be pre-configured with by administrator,
It is also possible to be allocated according to the actual demand of virtual server.In a preferred embodiment, management module is it
Distribution is the storage resource of one section of unit-sized, in this way, managing when the logical address space that virtual server please look for novelty every time
The storage resource of one section of unit-sized can be distributed to it by managing module all, realized simply, do not needed separately to configure.At the same time, it manages
Managing module can also update the mapping relations of new logical address and physical address into mapping table, after virtual server
It resumes studies write operation.
The data of the write error in buffer area are stored in the new storage resource by step 105.This step is in
Revolving die block executes.
By taking the logical address space in step 102 divides as an example, the new storage resource of management module distribution is logically
Location space can also be divided into 50 parts, continue serial number into No. 51 to No. 100.In this step, since there are described in buffer area
The corresponding new logical address of the data of write error is No. 51, and it is No. 51 that the data will be deposited into number by transit module
In logical address space, and then corresponding relationship can be formed.
By above description as can be seen that storage resource provided by the invention virtualizes the device and method distributed according to need,
For realizing the distribution according to need to virtual storage resource.It can use current limited storage resource and meet more virtual servers
Storage demand, when the storage resource deficiency of virtual server can automatically be that it distributes more storage resources, and
Virtual server lower for storage resource usage amount will not cause the waste of storage resource.The present invention by simplifying automatically
Technology, can be improved the processing request ability of storage, while save a large amount of purchase cost.
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 substitution, improvement and etc. done be should be included within the scope of the present invention.
Claims (8)
1. a kind of device of storage resource virtualization distribution according to need, is applied on the physical server of installation virtualized server,
It is characterized in that, the device includes:
Monitoring modular, for monitoring the write operation of virtual server, when monitor due to the virtual server storage provide
When source has expired and write error in data, new logical address request is generated for the virtual server;
Management module, for distributing new storage resource according to the new logical address request for the virtual server, and will
The mapping relations of new logical address and physical address are updated into mapping table;
Wherein the storage resource is that the external storage equipment of physical server provides, and the storage equipment includes hard disk.
2. the apparatus according to claim 1, which is characterized in that management module is further used for, in configuration virtual server
It is the storage resource that each virtual server distributes one section of unit-sized when system, and by the logic of virtual server storage resource
The mapping relations of address and physical address are saved in mapping table.
3. the apparatus according to claim 1, which is characterized in that the device further includes,
Cache module, for by virtual server due to storage resource has expired and occur write error data be stored in it is preset
In buffer area;
Transit module, for after being assigned with new storage resource, described in the data deposit by the write error in buffer area
In new storage resource.
4. the apparatus according to claim 1, which is characterized in that management module is that the virtual server distributes one section of unit
The new storage resource of size.
5. a kind of method of storage resource virtualization distribution according to need, is applied on the physical server of installation virtualized server,
It is characterized in that, method includes the following steps:
A, the write operation for monitoring virtual server, when monitoring that the storage resource due to the virtual server has expired and occurs
When writing error in data, new logical address request is generated for the virtual server;
B, according to the new logical address request it is that the virtual server distributes new storage resource, and by new logical address
It updates with the mapping relations of physical address into mapping table;
Wherein the storage resource is that the external storage equipment of physical server provides, and the storage equipment includes hard disk.
6. according to the method described in claim 5, it is characterized in that, further comprising before step A:
A1, the storage resource for distributing one section of unit-sized for each virtual server when configuring virtual server system, and will
The mapping relations of the logical address and physical address of virtual server storage resource are saved in mapping table.
7. according to the method described in claim 5, it is characterized in that, step A further comprises:
A2, by virtual server since the data that storage resource has expired and write error occurs are stored in preset buffer area;
Further comprise after step B:
C, the data of the write error in buffer area are stored in the new storage resource.
8. according to the method described in claim 5, it is characterized in that, one section of unit of the distribution of virtual server described in step B is big
Small new storage resource.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310247774.XA CN104238955B (en) | 2013-06-20 | 2013-06-20 | A kind of device and method of storage resource virtualization distribution according to need |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310247774.XA CN104238955B (en) | 2013-06-20 | 2013-06-20 | A kind of device and method of storage resource virtualization distribution according to need |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104238955A CN104238955A (en) | 2014-12-24 |
CN104238955B true CN104238955B (en) | 2018-12-25 |
Family
ID=52227124
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310247774.XA Active CN104238955B (en) | 2013-06-20 | 2013-06-20 | A kind of device and method of storage resource virtualization distribution according to need |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104238955B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105657066B (en) * | 2016-03-23 | 2019-06-14 | 天津书生云科技有限公司 | Load for storage system equalization methods and device again |
CN107656877B (en) * | 2017-09-15 | 2021-06-15 | 联想(北京)有限公司 | Information processing method and apparatus thereof |
CN115827757B (en) * | 2022-11-30 | 2024-03-12 | 西部科学城智能网联汽车创新中心(重庆)有限公司 | Data operation method and device for multi-HBase cluster |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101158924A (en) * | 2007-11-27 | 2008-04-09 | 北京大学 | Dynamic EMS memory mappings method of virtual machine manager |
CN101546249A (en) * | 2008-03-26 | 2009-09-30 | 中兴通讯股份有限公司 | On-line capacity expansion method for disk arrays |
CN101719106A (en) * | 2009-12-11 | 2010-06-02 | 成都市华为赛门铁克科技有限公司 | Method, device and system for managing simply-configured memory array |
CN102193814A (en) * | 2010-03-09 | 2011-09-21 | 上海拜翰网络科技有限公司 | Method and system for dynamically distributing embedded virtual memory |
CN103164283A (en) * | 2012-05-10 | 2013-06-19 | 上海兆民云计算科技有限公司 | Method and system for dynamic scheduling management of virtualized resources in virtualized desktop system |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7428614B2 (en) * | 2006-07-27 | 2008-09-23 | Hitachi, Ltd. | Management system for a virtualized storage environment |
CN101241476B (en) * | 2008-01-30 | 2010-12-08 | 中国科学院计算技术研究所 | Dummy storage system and method |
CN102093814A (en) * | 2009-12-10 | 2011-06-15 | 赵上胜 | Diamond paint special for floor board |
CN101997918B (en) * | 2010-11-11 | 2013-02-27 | 清华大学 | Method for allocating mass storage resources according to needs in heterogeneous SAN (Storage Area Network) environment |
-
2013
- 2013-06-20 CN CN201310247774.XA patent/CN104238955B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101158924A (en) * | 2007-11-27 | 2008-04-09 | 北京大学 | Dynamic EMS memory mappings method of virtual machine manager |
CN101546249A (en) * | 2008-03-26 | 2009-09-30 | 中兴通讯股份有限公司 | On-line capacity expansion method for disk arrays |
CN101719106A (en) * | 2009-12-11 | 2010-06-02 | 成都市华为赛门铁克科技有限公司 | Method, device and system for managing simply-configured memory array |
CN102193814A (en) * | 2010-03-09 | 2011-09-21 | 上海拜翰网络科技有限公司 | Method and system for dynamically distributing embedded virtual memory |
CN103164283A (en) * | 2012-05-10 | 2013-06-19 | 上海兆民云计算科技有限公司 | Method and system for dynamic scheduling management of virtualized resources in virtualized desktop system |
Also Published As
Publication number | Publication date |
---|---|
CN104238955A (en) | 2014-12-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10082972B2 (en) | Method and system for pooling, partitioning, and sharing network storage resources | |
CN102255962B (en) | Distributive storage method, device and system | |
US9977618B2 (en) | Pooling of memory resources across multiple nodes | |
US10091295B1 (en) | Converged infrastructure implemented with distributed compute elements | |
US9569457B2 (en) | Data processing method and apparatus for distributed systems | |
US8756392B2 (en) | Storage control apparatus and storage system comprising multiple storage control apparatuses | |
US9400664B2 (en) | Method and apparatus for offloading storage workload | |
US10248346B2 (en) | Modular architecture for extreme-scale distributed processing applications | |
US20160371020A1 (en) | Virtual machine data placement in a virtualized computing environment | |
KR20140111589A (en) | System, method and computer-readable medium for dynamic cache sharing in a flash-based caching solution supporting virtual machines | |
US20150363238A1 (en) | Resource management in a virtualized computing environment | |
CN103577345A (en) | Methods and structure for improved flexibility in shared storage caching by multiple systems | |
US9110591B2 (en) | Memory resource provisioning using SAS zoning | |
US10409648B1 (en) | Splitting processing responsibility for separately stored data partitions | |
US20140325146A1 (en) | Creating and managing logical volumes from unused space in raid disk groups | |
CN103176845A (en) | Method, system and device for virtual machine arrangement | |
US20140089562A1 (en) | Efficient i/o processing in storage system | |
CN102520887A (en) | Storage space configuration and management method applied to cloud computing | |
CN104238955B (en) | A kind of device and method of storage resource virtualization distribution according to need | |
US9069471B2 (en) | Passing hint of page allocation of thin provisioning with multiple virtual volumes fit to parallel data access | |
US10007559B1 (en) | Virtual tiering | |
KR20140128188A (en) | Virtualization Desktop Infrastructure Systerm | |
US11860783B2 (en) | Direct swap caching with noisy neighbor mitigation and dynamic address range assignment | |
US20240248766A1 (en) | Dynamic cpu core sharing | |
US20230342212A1 (en) | Load distribution in a data storage system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: Binjiang District and Hangzhou city in Zhejiang Province Road 310051 No. 68 in the 6 storey building Applicant after: Hangzhou Dipu Polytron Technologies Inc Address before: Binjiang District and Hangzhou city in Zhejiang Province Road 310051 No. 68 in the 6 storey building Applicant before: Hangzhou Dipu Technology Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |