CN102546830B - Method and system for realizing storage in server - Google Patents
Method and system for realizing storage in server Download PDFInfo
- Publication number
- CN102546830B CN102546830B CN201210046973.XA CN201210046973A CN102546830B CN 102546830 B CN102546830 B CN 102546830B CN 201210046973 A CN201210046973 A CN 201210046973A CN 102546830 B CN102546830 B CN 102546830B
- Authority
- CN
- China
- Prior art keywords
- server
- virtual
- storage device
- operating system
- physical storage
- 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
- 238000000034 method Methods 0.000 title claims abstract description 24
- 239000013307 optical fiber Substances 0.000 claims description 21
- 238000013507 mapping Methods 0.000 claims description 8
- 230000006870 function Effects 0.000 description 8
- 238000012360 testing method Methods 0.000 description 6
- 238000013508 migration Methods 0.000 description 5
- 230000005012 migration Effects 0.000 description 5
- 238000007726 management method Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000005457 optimization Methods 0.000 description 2
- 238000011084 recovery Methods 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004880 explosion Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 239000012467 final product Substances 0.000 description 1
- 230000008571 general function Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000006386 memory function Effects 0.000 description 1
- 238000011056 performance test Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a method and system for realizing storage in a server. The method comprises the following steps of: step 1, establishing a storage unit by a physical storage device; step 2, performing virtualization on the storage unit according to an operating system used in a server by a virtual storage gateway to establish a virtual volume; and step 3, performing storage by the server by virtue of the virtual volume. Through adoption of the method and the system provided by the invention, the problem that the physical storage device is limited by the operating system in the server is solved.
Description
Technical field
The present invention relates to computer realm, particularly in a kind of server, realize the method and system stored.
Background technology
Under storage administration environment of today, need to break the circulation that complexity raises and data explosion formula increases, due to the restriction of resource, need to optimize and simplify architecture.But in the prior art, for ensureing the reliability stored, in server, operating system can carry out certification to memory device used usually, and for the memory device of unauthenticated, in server, operating system can report compatibility error.Thus, physical storage device used needs to mate with server operating system used, such as, uses the AIX operating system of IBM, then usually needs the physical storage device using the storage manufacturer of corresponding IBM or IBM certification to provide.Adopt the method, can adding users cost, and the simplification limited architecture and optimization.
Summary of the invention
The method and system stored is realized, problem physical storage device limited with operating system in settlement server in server provided by the invention.
The invention discloses in a kind of server the method realizing storing, described method comprises:
Step 1, physical storage device creates memory cell;
Step 2, virtual memory gateway, according to operating system virtualization storage unit used in server, creates virtual volume;
Step 3, server uses virtual volume to store.
Wherein, described physical storage device comprises disk array;
Described step 1 specifically comprises:
Step 21, physical storage device creates raid-array, divides LUN, LUN is distributed to virtual memory gateway.
Wherein, described virtual memory gateway specifically comprises according to operating system virtualization storage unit used in server:
Step 31, virtual memory gateway uses the virtual machine virtualization storage unit that in server, operating system used is corresponding.
Wherein, described physical storage device, virtual memory gateway are connected by optical fiber switch with between server.
Wherein, described virtual memory gateway specifically comprises according to operating system virtualization storage unit used in server:
Step 51, virtual memory gateway uses the virtual machine that in server, operating system used is corresponding, scans described LUN, with described LUN for memory cell is carried out virtual.
Wherein, described step 2 also comprises: set up the mapping between described server and virtual volume;
Described step 3 specifically comprises: server uses virtual volume to store according to described mapping.
The invention also discloses in a kind of server the system realizing storing, described system comprises:
Physical storage device, for creating memory cell;
Virtual memory gateway, for according to operating system virtualization storage unit used in server, creates virtual volume;
Server, stores for using virtual volume.
Wherein, described physical storage device comprises disk array;
Described physical storage device, specifically for creating raid-array, divides LUN, LUN is distributed to virtual memory gateway.
Wherein, described virtual memory gateway according in server during operating system virtualization storage unit used specifically for using the virtual machine virtualization storage unit that in server, operating system used is corresponding.
Wherein, described system also comprises optical fiber switch,
Described physical storage device, virtual memory gateway are connected by optical fiber switch with between server.
The beneficial effect of the embodiment of the present invention is: create memory cell by physical storage device, virtual memory gateway is according to operating system virtualization storage unit used in server, create virtual volume, server uses virtual volume to store, server can be made to use different physical storage devices to store, and in settlement server, operating system is to the problem of the restriction of physical storage device.
Accompanying drawing explanation
Fig. 1 is the flow chart realizing the method stored in server of the present invention;
Fig. 2 is the device connection diagram realizing in server in the embodiment of the present invention storing.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
See Fig. 1, for realizing the flow chart of the method stored in the server that the embodiment of the present invention provides.Described method comprises the steps.
Step S100, physical storage device creates memory cell.
In one embodiment, described physical storage device comprises disk array.
Described step S100 specifically comprises: physical storage device creates RAID (raid-array), divides LUN (LUN), LUN is distributed to virtual memory gateway.
Step S200, virtual memory gateway, according to operating system virtualization storage unit used in server, creates virtual volume.
Further, virtual memory gateway, according to operating system virtualization storage unit used in server, creates virtual volume, and sets up the mapping between described server and virtual volume.
Described virtual memory gateway specifically comprises according to operating system virtualization storage unit used in server: virtual memory gateway uses the virtual machine virtualization storage unit that in server, operating system used is corresponding.
Wherein, virtual memory gateway uses the virtual machine that in server, operating system used is corresponding, scans described LUN, with described LUN for memory cell is carried out virtual.
For example, during server use AIX operating system, virtual machine is the SVC (the Storage Virtualization instrument of the SAN network of SANVolume Controller, IBM) of IBM.
Step S300, server uses virtual volume to store.
Further, server uses virtual volume to store according to mapping.
In an embodiment, described physical storage device, virtual memory gateway are connected by optical fiber switch with between server.
Adopt method of the present invention, can in different operating system compatible storage device, described operating system comprises Windows system, unix system and linux system etc.
Use virtual machine to carry out virtual, utilize in virtual machine further and apply, can the function such as further compatible read-write capability and multi-route management (MPIO); And data dynamic migration function can be realized, the shift function without interrupting being provided, providing efficiency and business to be worth.Carry out virtual after, memory property has more superiority than traditional magnetic disk array performance, and comparing traditional magnetic disk array has 20-30% to improve at aspect of performance; Have and automatically simplify configuration feature, support the business application needing dynamic growth, only consume the actual space used simultaneously; And can image feature be realized, allow between the systems synchronously or asynchronously copy data to back up efficiency to improve; Failure Transfer is used as and for copying at a distance in disaster recovery.
See Fig. 2, for realizing the device connection diagram stored in server in the embodiment of the present invention.
Virtual memory gateway: virtualized equipment can be provided to form by one or more, via virtual memory gateway, the disk array of physical storage device is converted into virtualized virtual volume, thus storage resources can be utilized in physical storage device to provide memory function for server.
Server: can be common PC server also can be minicomputer unix server; Adopt general operating system as AIX, HP-UNIX, VMware, Windows, Linux etc.
Physical storage device: be traditional magnetic disk array, comprise optical fiber host port, and be furnished with hard disk, do not have special Premium Features, only has general RAID rank management function.
Network: comprise optical fiber switch; Adopt optical fiber technology and iscsi technology (the SCSI instruction set can run on the upper strata of IP agreement for hardware device of IBM).This network can be the network of server composition, also can be the network that physical storage device and server form.In the present embodiment, this network is used to connect physical storage device, virtual memory gateway and server.
Optical fiber switch is a kind of Internet Transmission trunking of high speed, and comparatively general switch have employed fiber optic cables as transmission medium.Optical fiber switch connects physical storage device, virtual memory gateway and server, needs configuration multiple stage optical fiber switch in multilink situation.
Said apparatus is disposed as follows.For virtual memory gateway and physical storage device, choose storage place, unified rack can be arranged on if needed.For server installing operating system, when needs are tested, installation testing software on operating system basis.The zone (region) of division is configured in optical fiber switch.Planning virtual memory gateway, port relation between physical storage device and server, namely divide zone.
In an embodiment, proceed as follows.
Physical storage device is that one or more contains the traditional magnetic disk array system of optical fiber host port.The optical fiber host port of traditional magnetic disk array system is connected to optical fiber switch.In physical storage device, configure hard disk, the management function carried by disk array, create RAID, and divide corresponding LUN, the LUN of establishment is distributed to virtual memory gateway.
Virtual memory gateway is connected to optical fiber switch by optical fiber host interface, wherein comprises the virtual machine that in server, each operating system is corresponding, the SVC that such as AIX is corresponding.Use the virtual machine that operating system is corresponding, in the administration interface of virtual machine, scan the LUN distributed by traditional magnetic disk array.Automatically identify that this LUN is external disk equipment, this external disk equipment is equivalent to memory cell, carries out virtual to this external disk, this external disk creates volume, this volume carries out all virtualization operations.
Wherein, virtual machine comprises multiple senior application, such as, the migration interrupted, virtual hard disk (VDisk) mirror image, automatically simplify configuration etc.
Mapped by virtualized virtual volume to the server at described operating system place, server uses this virtual volume to store.
Adopt the method, server, without the need to knowing type and the configuration mode of backstage disk array, just can use and store, and can realize the complete compatibility between physical storage device and operating system.Such as, use the physical storage device of common compact manufacturer, by the virtual machine of IBM, virtualization storage instrument SVC, gets final product the proprietary UNIX operating system of effective compatible IBM minicomputer, AIX system.Thus ensure the stability and reliability that store.
The performance of method in the present embodiment is tested.
Server OS such as unix system carries DD (memory property) testing tool, and performance test is as follows:
Write performance: #time dd if=/dev/zero of=/test/test bs=1024k count=10000
Read performance: #time dd if=/test/test of=/dev/null bs=1024k count=10000
By contrast test, compare the result that server directly uses physical storage device and adopts the inventive method, the difference of performance between the two can be drawn.Adopt the inventive method without compatibility error, server directly uses physical storage device, report compatibility error.
Adopt said method, the present invention is not only easy to use and also can realizes rapid deployment, and without the need to extra resource.The present invention is that the low and middle-end without manufacturer server compatibility authentication of virtual tradition or general function stores, and can provide higher efficiency and flexibility by solid state drive optimization and thin provisioning.Premium Features also support that nothing is interruptedly from existing storage migration data, thus simplify enforcement and reduce the interruption caused user to greatest extent.Also allow carry out virtual to existing disk system and re-use, thus higher investment repayment (ROI) potential is provided.Adopting the inventive method, also can greatly improve disk read-write performance, thus be more applicable to various different application demand, when not increasing external equipment, the cost performance of overall plan can be improved.Can compatible different operating system platform, therefore, solving conventional memory device can not the technological fix of compatible unverified operating system.
The system realizing in a kind of server of the present invention storing is as described below.
Physical storage device, for creating memory cell;
Virtual memory gateway, for according to operating system virtualization storage unit used in server, creates virtual volume;
Server, stores for using virtual volume.
Wherein, described physical storage device comprises disk array;
Described physical storage device, specifically for creating raid-array, divides LUN, LUN is distributed to virtual memory gateway.
Wherein, described virtual memory gateway according in server during operating system virtualization storage unit used specifically for using the virtual machine virtualization storage unit that in server, operating system used is corresponding.
Wherein, described system also comprises optical fiber switch,
Described physical storage device, virtual memory gateway are connected by optical fiber switch with between server.
Wherein, described virtual memory gateway according in server during operating system virtualization storage unit used specifically for using the virtual machine that in server, operating system used is corresponding, scan described LUN, with described LUN for memory cell is carried out virtual.
Wherein, described virtual memory gateway is also for setting up the mapping between described server and virtual volume;
Server is specifically for using virtual volume to store according to described mapping.
For example, server can adopt general operating system, as AIX, HP-UNIX, VMware, Windows, Linux etc.
When server uses AIX operating system, virtual machine is the SVC (the Storage Virtualization instrument of the SAN network of SAN VolumeController, IBM) of IBM.
Virtual machine comprises multiple senior application, such as, the migration interrupted, virtual hard disk (VDisk) mirror image, automatically simplify configuration etc.
Adopt system of the present invention, can in different operating system compatible storage device.Use virtual machine to carry out virtual, utilize in virtual machine further and apply, can the function such as further compatible read-write capability and multi-route management (MPIO); And data dynamic migration function can be realized, the shift function without interrupting being provided, providing efficiency and business to be worth.Carry out virtual after, memory property has more superiority than traditional magnetic disk array performance, and comparing traditional magnetic disk array has 20-30% to improve at aspect of performance; Have and automatically simplify configuration feature, support the business application needing dynamic growth, only consume the actual space used simultaneously; And can image feature be realized, allow between the systems synchronously or asynchronously copy data to back up efficiency to improve; Failure Transfer is used as and for copying at a distance in disaster recovery.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.All any amendments done within the spirit and principles in the present invention, equivalent replacement, improvement etc., be all included in protection scope of the present invention.
Claims (5)
1. realize the method stored in server, it is characterized in that, described method comprises:
Step 1, physical storage device creates memory cell;
Step 2, comprises the virtual machine that in server, each operating system is corresponding in virtual memory gateway; Virtual memory gateway uses the virtual machine virtualization storage unit that in server, operating system used is corresponding, creates virtual volume;
Step 3, server uses virtual volume to store;
Described physical storage device comprises disk array;
Described step 1 specifically comprises:
Step 21, physical storage device creates raid-array, divides LUN, LUN is distributed to virtual memory gateway;
Described virtual memory gateway specifically comprises according to the virtual machine virtualization storage unit that operating system used in server is corresponding:
Step 51, virtual memory gateway uses the virtual machine that in server, operating system used is corresponding, scans described LUN, with described LUN for memory cell is carried out virtual.
2. method according to claim 1, is characterized in that,
Described physical storage device, virtual memory gateway are connected by optical fiber switch with between server.
3. method according to claim 1, is characterized in that,
Described step 2 also comprises: set up the mapping between described server and virtual volume;
Described step 3 specifically comprises: server uses virtual volume to store according to described mapping.
4. realize the system stored in server, it is characterized in that, described system comprises: physical storage device, virtual memory gateway and server; The virtual machine that in server, each operating system is corresponding is comprised in virtual memory gateway;
Physical storage device, for creating memory cell;
Virtual memory gateway, for the virtual machine virtualization storage unit using operating system used in server corresponding, creates virtual volume;
Server, stores for using virtual volume; Described physical storage device comprises disk array;
Described physical storage device, specifically for creating raid-array, divides LUN, LUN is distributed to virtual memory gateway;
Specifically for using the virtual machine that in server, operating system used is corresponding during the described virtual memory gateway virtual machine virtualization storage unit that operating system used is corresponding in foundation server, scan described LUN, with described LUN for memory cell is carried out virtual.
5. system according to claim 4, is characterized in that,
Described system also comprises optical fiber switch,
Described physical storage device, virtual memory gateway are connected by optical fiber switch with between server.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210046973.XA CN102546830B (en) | 2012-02-27 | 2012-02-27 | Method and system for realizing storage in server |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210046973.XA CN102546830B (en) | 2012-02-27 | 2012-02-27 | Method and system for realizing storage in server |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN102546830A CN102546830A (en) | 2012-07-04 |
| CN102546830B true CN102546830B (en) | 2015-06-24 |
Family
ID=46352776
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201210046973.XA Active CN102546830B (en) | 2012-02-27 | 2012-02-27 | Method and system for realizing storage in server |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN102546830B (en) |
Families Citing this family (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106293502B (en) * | 2015-06-29 | 2019-09-24 | 联想(北京)有限公司 | A kind of configuration method, method for interchanging data and server system |
| CN106375463A (en) * | 2016-09-14 | 2017-02-01 | 郑州云海信息技术有限公司 | Method and device for data migration based on storage virtualization |
| CN106598498B (en) * | 2016-12-13 | 2019-08-27 | 郑州信息科技职业学院 | A kind of memory virtualization system and method being compatible with integrated isomerous storage equipment |
| CN106534373B (en) * | 2016-12-27 | 2020-01-03 | 苏州浪潮智能科技有限公司 | IO performance test method and device for SAN storage equipment |
| CN107566547A (en) * | 2017-09-27 | 2018-01-09 | 郑州云海信息技术有限公司 | The processing method named when on multiple servers is mapped to for same memory |
| CN108228099B (en) * | 2017-12-27 | 2021-01-26 | 中国银联股份有限公司 | A method and device for data storage |
| CN113556298B (en) * | 2021-09-18 | 2022-03-01 | 云宏信息科技股份有限公司 | Storage access method, medium and server based on PowerVC |
| CN115277841A (en) * | 2022-05-19 | 2022-11-01 | 山东鲸鲨信息技术有限公司 | SAN cluster-based mapping method and related equipment |
| CN115622729B (en) * | 2022-08-19 | 2024-06-25 | 中国电子科技集团公司第三十研究所 | ISCSI protocol data security reinforcement method and gateway |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1322427C (en) * | 2005-02-25 | 2007-06-20 | 清华大学 | Universal method for dynamical management of storage resource under Windows platform |
| CN100382051C (en) * | 2004-10-28 | 2008-04-16 | 富士通株式会社 | Virtual memory management method and device |
| CN102255962A (en) * | 2011-07-01 | 2011-11-23 | 成都市华为赛门铁克科技有限公司 | Distributive storage method, device and system |
| WO2012014329A1 (en) * | 2010-07-27 | 2012-02-02 | 株式会社日立製作所 | Storage system group containing scale-out-type storage system and management method of same |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2000347883A (en) * | 1999-06-03 | 2000-12-15 | Matsushita Electric Ind Co Ltd | Virtual computer device |
-
2012
- 2012-02-27 CN CN201210046973.XA patent/CN102546830B/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN100382051C (en) * | 2004-10-28 | 2008-04-16 | 富士通株式会社 | Virtual memory management method and device |
| CN1322427C (en) * | 2005-02-25 | 2007-06-20 | 清华大学 | Universal method for dynamical management of storage resource under Windows platform |
| WO2012014329A1 (en) * | 2010-07-27 | 2012-02-02 | 株式会社日立製作所 | Storage system group containing scale-out-type storage system and management method of same |
| CN102255962A (en) * | 2011-07-01 | 2011-11-23 | 成都市华为赛门铁克科技有限公司 | Distributive storage method, device and system |
Also Published As
| Publication number | Publication date |
|---|---|
| CN102546830A (en) | 2012-07-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN102546830B (en) | Method and system for realizing storage in server | |
| US10498645B2 (en) | Live migration of virtual machines using virtual bridges in a multi-root input-output virtualization blade chassis | |
| US8954685B2 (en) | Virtualized SAS adapter with logic unit partitioning | |
| US8639898B2 (en) | Storage apparatus and data copy method | |
| CN111095903B (en) | Storage system using cloud storage as module | |
| CN107995064A (en) | Test platform building method based on virtualization technology | |
| US20130254500A1 (en) | Storage apparatus, computer system, and control method for storage apparatus | |
| US9600185B2 (en) | Computer realizing high-speed access and data protection of storage device, computer system, and I/O request processing method | |
| US8918571B2 (en) | Exposing expanders in a data storage fabric | |
| US20070294459A1 (en) | Apparatus for bridging a host to a SAN | |
| US10296216B2 (en) | Prioritizing dedicated host ports when N-port ID virtualization is enabled in a storage controller | |
| CN107526545A (en) | A Resource Integration Method of Distributed Storage and Centralized Storage | |
| US9348513B2 (en) | SAS virtual tape drive | |
| JP2015069352A (en) | Storage control device, storage control method, and storage control program | |
| US8838768B2 (en) | Computer system and disk sharing method used thereby | |
| US9052839B2 (en) | Virtual storage apparatus providing a plurality of real storage apparatuses | |
| TW202311978A (en) | Transport control word architecture for physical port mirroring | |
| US11003357B2 (en) | Managing single path communication between a host and a storage system | |
| US9244632B1 (en) | Data storage system configuration | |
| US9471223B2 (en) | Volume class management | |
| US11016694B1 (en) | Storage drivers for remote replication management | |
| CN100520744C (en) | Apparatus for bridging a host to a storage area network | |
| CN114594901A (en) | Method, electronic device and computer program product for accessing a storage system | |
| US11876864B1 (en) | Using predictive analytics on SFP metrics to influence the target port selection process | |
| US11656766B2 (en) | Correlating time on storage network components |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20200922 Address after: 515 GuoShouJing Road, Pudong New Area, Shanghai 200120 Patentee after: SHANGHAI BAOSIGHT SOFTWARE Co.,Ltd. Address before: 200122, room 2, No. 138, Lane 2401, Pu circuit, Shanghai, Pudong New Area Patentee before: Xin Min |
|
| TR01 | Transfer of patent right |