CN106302598B - Transmission path optimization method and system - Google Patents

Transmission path optimization method and system Download PDF

Info

Publication number
CN106302598B
CN106302598B CN201510298679.1A CN201510298679A CN106302598B CN 106302598 B CN106302598 B CN 106302598B CN 201510298679 A CN201510298679 A CN 201510298679A CN 106302598 B CN106302598 B CN 106302598B
Authority
CN
China
Prior art keywords
read
transmission path
virtual disk
write
configuration file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201510298679.1A
Other languages
Chinese (zh)
Other versions
CN106302598A (en
Inventor
简晋弘
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanning Fulian Fugui Precision Industrial Co Ltd
Original Assignee
Nanning Fugui Precision Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanning Fugui Precision Industrial Co Ltd filed Critical Nanning Fugui Precision Industrial Co Ltd
Priority to CN201510298679.1A priority Critical patent/CN106302598B/en
Publication of CN106302598A publication Critical patent/CN106302598A/en
Application granted granted Critical
Publication of CN106302598B publication Critical patent/CN106302598B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/131Protocols for games, networked simulations or virtual reality

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

A kind of transmission path optimization method, the method includes the steps: storage equipment downloads the corresponding read-write configuration file of each virtual disk from SDN server;Host by one or more group of switches at transmission path be connected to storage equipment, to access the virtual disk;Storage device analysis is transmitted to the iSCSI package of the virtual disk from host, calculates the related read-write data of the virtual disk, and judges whether to need to change read-write configuration file, if desired SDN server is then notified to change;SDN server notifies SDN controller to be optimized according to the read-write configuration file after change from host to the transmission path of the virtual disk.The present invention also provides a kind of transmission path optimization systems.The present invention can optimize in iSCSI SAN network framework from host to the transmission path storage equipment.

Description

Transmission path optimization method and system
Technical field
The present invention relates to storage area network technologies, more particularly, to a kind of transmission path optimization method and system.
Background technique
Effectively to use storage resource and convenient for being managed collectively, storage area network (Storage Area Network, SAN) the early mainstream for having become enterprise's storage architecture.And it is special in view of with high costs existing for previous fiber channel SAN and palpus The problem of administrative skill, by building SAN environment based on existing IP and Ethernet, in the hope of reduce the importing of SAN at Originally, extension SAN application range, becomes one of the hot technology topic to store boundary over the years.It is various with IP and Ethernet For in the SAN technology of bottom, Internet small computer system interface (Internet Small Computer System Interface, iSCSI) because of its mature, and the advantage for supporting manufacturer numerous, rapidly become current IP/ Ethernet The mainstream of SAN technology.Member in iSCSI SAN includes originating end (Initiator) and target side (Target) two class, the former It is the client device for issuing access requirement, the client computer host usually on network;The latter is then to provide access clothes The equipment of business, that is, storage equipment.
But traditional iSCSI SAN network framework can not dynamically adjust the transmission road between originating end to target side Diameter.For example, there are three hosts to be connected to local area network via identical interchanger, and set through iSCSI protocol access storage Standby different virtual disk.Under traditional network architecture, the iSCSI data between this three hosts and storage equipment are spread Defeated path is fixed.However, demand of the different hosts (or same host is in different time points) to network bandwidth may be completely Difference, existing technology cannot adjust in real time transmission path according to current network bandwidth requirements, can not effectively be used Internet resources.
Summary of the invention
In view of the foregoing, it is necessary to a kind of transmission path optimization method be provided, iSCSI SAN network framework can be optimized In from host to storage equipment transmission path.
In view of the foregoing, it there is a need to provide a kind of transmission path optimization system, iSCSI SAN network frame can be optimized From host to the transmission path storage equipment in structure.
The transmission path optimization method comprising steps of storage equipment from being downloaded in SDN server in the storage equipment The corresponding read-write configuration file of each virtual disk;Host by one or more group of switches at transmission path be connected to institute Storage equipment is stated, to access the virtual disk;The storage device analysis is transmitted to the virtual disk from the host ISCSI package calculates the related read-write data of the virtual disk;The storage equipment judges described virtual based on the analysis results Whether disk needs to change read-write configuration file, and it is corresponding if desired then to notify that the SDN server changes the virtual disk Read and write configuration file;And the SDN server notice SDN controller optimizes according to the read-write configuration file after change from the master Transmission path of the machine to the virtual disk.
The transmission path optimization system includes at least one host, interchanger, storage equipment, SDN server and SDN control Device processed, the storage equipment are used for from downloading the corresponding reading of each virtual disk in the storage equipment in the SDN server Write configuration file;The host by one or more group of switches at transmission path be connected to the storage equipment, to deposit Take the virtual disk;The storage equipment is counted for analyzing the iSCSI package for being transmitted to the virtual disk from the host The related read-write data of the virtual disk are calculated, and judges whether the virtual disk needs to change read-write based on the analysis results and matches File is set, the SDN server is if desired then notified to change the corresponding read-write configuration file of the virtual disk;And the SDN Server is used to that the SDN controller to be notified to be optimized according to the read-write configuration file after change from the host to the virtual magnetic The transmission path of disk.
Compared to the prior art, the transmission path optimization method and system can be transmitted to virtual magnetic according to host The current read-write state of the iSCSI package analysis virtual disk of disk, to judge whether to need to change read-write configuration file, and dynamic Corresponding data flow transmission route is adjusted, to meet host to the readwrite performance demand of virtual disk and keep Internet resources more effective Ground is employed.
Detailed description of the invention
Fig. 1 is the architecture diagram of transmission path optimization system preferred embodiment of the present invention.
Fig. 2 is the schematic diagram of transmission path in the present invention.
Be shown in Fig. 3 in Fig. 2 the corresponding cumulative cost of each transmission path be associated with read-write configuration file.
Fig. 4 is the flow chart of transmission path optimization method preferred embodiment of the present invention.
Main element symbol description
Transmission path optimization system 2
Host 10、H1
Interchanger 20、G0~G3、XG0~XG3
Store equipment 30、S1
SDN server 40
SDN controller 50
Virtual disk 32
The present invention that the following detailed description will be further explained with reference to the above drawings.
Specific embodiment
As shown in fig.1, being the architecture diagram of transmission path optimization system preferred embodiment of the present invention.In the present embodiment, Transmission path optimization system 2 includes at least one host 10, interchanger 20, storage equipment 30, software defined network (Software Defined Networking, SDN) server 40 and SDN controller 50 etc. (element number shown in Fig. 1 is only to represent).It deposits Storing up includes multiple virtual disks 32 in equipment 30.
SDN server 40 is the configuration read-write of each virtual disk 32 configuration file (I/O profile) for storing equipment 30. It stores equipment 30 and connects SDN server 40, after verifying, it is corresponding that each virtual disk 32 is downloaded from SDN server 40 I/O profile.The I/O profile by storage equipment 30 Profile Manager (Profile Manager, It is not shown in Fig. 1) it is managed, Profile Manager periodically downloads newest I/O from SDN server 40 profile。
Host 10 is connected to storage equipment 30 by the transmission path that one or more interchangers 20 form, to access storage The virtual disk 32 of equipment 30.For example, Fig. 2 is shown from host H1It is connected to storage equipment S1Various transmission paths.Wherein, Host H1It is connected to interchanger G0, store equipment S1It is connected to interchanger XG3, interchanger G0With interchanger XG3Between via exchange Machine G1、G2、G3、XG0、XG1、XG2One or more of, one shares 7 kinds of different transmission paths.
Storage equipment 30 analyzes the iSCSI package that virtual disk 32 is transmitted to from host 10, calculates the virtual disk 32 Related I/O data.In the present embodiment, the I/O data are handling capacity (Throughput) and per second are written and read Number (Input/Output Operations Per Second, IOPS).Store the SCSI in the inspection iSCSI package of equipment 30 Whether order is I/O order, if then adding up to I/O command number and I/O data volume, to be calculated described The numerical value of Throughput and IOPS.
Then, storage equipment 30 judges whether the virtual disk 32 needs to change I/O profile based on the analysis results.Often Throughput the and IOPS numberical range of different I/O ranks (high, medium and low) is defined in a I/O profile.In this implementation In example, storage equipment 30 is good by calculated I/O data and 32 configured in advance of virtual disk at predetermined time intervals (such as t seconds) I/O data in I/O profile are compared, and find out the I/O profile to match with the virtual disk 32.If the phase The I/O profile matched is different from the currently used I/O profile of virtual disk 32, then stores equipment 30 and judge that this is virtual Disk 32 needs to change I/O profile.
When judging that the virtual disk 32 needs to change I/O profile, storage equipment 30 notifies SDN server 40 to become The currently used I/O profile of the virtual disk 32 is changed to this by the more corresponding I/O profile of the virtual disk 32 The I/O profile to match.
SDN server 40 notifies that SDN controller 50 is virtual from host 10 to this according to the I/O profile optimization after change The transmission path of disk 32.SDN controller 50 is found out first from host 10 to all possible transmission the virtual disk 32 Then path calculates separately the metric (Metric) of each transmission path.In the present embodiment, link state can be used (Link State) Routing Protocol calculates the metric of each transmission path.Common link-state routing protocol includes opening Formula shortest path first (Open Shortest Path First, OSPF) and reinforced Interior Gateway Routing Protocol (Enhanced Interior Gateway Routing Protocol, EIGRP).For example, OSPF uses link cost As metric, if the speed of network segment is faster, bandwidth is bigger, and calculated link cost is with regard to smaller.SDN controller 50 determine the I/O after the change according to considerations such as the path length of each transmission path, metric and load balancing The transmission path that profile should be used.
For example, interchanger G in Fig. 20~G3For GbE interchanger, XG0~XG3For 10GbE interchanger, the link of GbE interchanger Cost is that the link cost of 10,10GbE interchanger is 1.As shown in fig.3, for the corresponding cumulative cost of transmission path each in Fig. 2 Be associated with I/O profile.Such as transmission path G0-XG0-XG1-XG2-XG3Corresponding cumulative cost is 10+1+1+1=13, association I/O profile be Profile 7,8,9.SDN controller 50 can be judged according to the calculated result in Fig. 3 from host H1To storage equipment S1Optimization transmission path.
After SDN controller 50 optimizes, the iSCSI package that host 10 issues is passed via the transmission path after the optimization Transport to storage equipment 30.
As shown in fig.4, being the flow chart of transmission path optimization method preferred embodiment of the present invention.
Step S10, storage equipment 30 connects SDN server 40, after verifying, downloads from SDN server 40 every The corresponding I/O profile of a virtual disk 32.
Step S12, host 10 are connected to storage equipment 30 by the transmission path that one or more interchangers 20 form, with The virtual disk 32 of access storage equipment 30.
Step S14, storage equipment 30 analyze the iSCSI package for being transmitted to virtual disk 32 from host 10, it is virtual to calculate this The related I/O data of disk 32.In the present embodiment, the I/O data are Throughput and IOPS.Equipment 30 is stored to check Whether the scsi command in iSCSI package is I/O order, if then adding up to I/O command number and I/O data volume, thus The numerical value of the Throughput and IOPS is calculated.
Step S16, storage equipment 30 judge whether the virtual disk 32 needs to change I/O based on the analysis results profile.Throughput the and IOPS numberical range of different I/O ranks is defined in each I/O profile.In this implementation In example, equipment 30 is stored at predetermined time intervals by calculated I/O data and the good I/O of 32 configured in advance of virtual disk I/O data in profile are compared, and find out the I/O profile to match with the virtual disk 32.What if this matched I/O profile is different from the currently used I/O profile of virtual disk 32, then stores equipment 30 and judge the virtual disk 32 need to change I/O profile.When judging that the virtual disk 32 needs to change I/O profile, step S18 is executed. When judging that the virtual disk 32 does not need change I/O profile, return step S14.
Step S18, storage equipment 30 notify SDN server 40 to change the corresponding I/O profile of the virtual disk 32, i.e., The currently used I/O profile of the virtual disk 32 is changed to the I/O profile to match.
Step S20, SDN server 40 notifies SDN controller 50 to be optimized according to the I/O profile after change from host 10 To the transmission path of the virtual disk 32.SDN controller 50 find out first from host 10 to it is all the virtual disk 32 can The transmission path of energy, then calculates separately the metric of each transmission path.In the present embodiment, link state routing protocols can be used The metric of each transmission path is calculated by agreement.Common link-state routing protocol includes OSPF and EIGRP.Citing comes It says, OSPF uses link cost as metric, if the speed of network segment is faster, bandwidth is bigger, calculated link Cost is with regard to smaller.SDN controller 50 according to the considerations such as the path length of each transmission path, metric and load balancing come The transmission path that I/O profile after determining the change should be used.
Step S22, the iSCSI package that host 10 issues is via the transmission path after the optimization to storage equipment 30.
The above examples are only used to illustrate the technical scheme of the present invention and are not limiting, although referring to preferred embodiment to this hair It is bright to be described in detail, those skilled in the art should understand that, it can modify to technical solution of the present invention Or equivalent replacement, without departing from the spirit and scope of the technical solution of the present invention.

Claims (10)

1. a kind of transmission path optimization method, for optimizing Internet small computer system interface iSCSI storage area network From host to the transmission path storage equipment in network framework, which is characterized in that the method comprising the steps of:
The storage equipment is from downloading at least one virtual disk pair in the storage equipment in software defined network SDN server The read-write configuration file answered;
The host by one or more group of switches at transmission path be connected to the storage equipment, to access the void Quasi- disk;
The storage device analysis is transmitted to the iSCSI package of the virtual disk from the host, calculates the virtual disk Related read-write data;
The storage equipment judges whether the virtual disk needs to change read-write configuration file based on the analysis results, if desired then The SDN server is notified to change the corresponding read-write configuration file of the virtual disk;And
The SDN server notice SDN controller optimizes according to the read-write configuration file after change from the host to the void The transmission path of quasi- disk.
2. transmission path optimization method as described in claim 1, which is characterized in that the read-write data are handling capacity and per second The number being written and read, the storage equipment is by checking whether the scsi command in the iSCSI package is read-write life It enables, if then adding up to read write command number and read-write data volume, so that the handling capacity be calculated and per second read The numerical value of the number of write operation.
3. transmission path optimization method as described in claim 1, which is characterized in that the storage equipment is sentenced based on the analysis results Whether the virtual disk that breaks needs to change the step of read-write configuration file further include:
The storage equipment at predetermined time intervals matches the read-write of calculated read-write data and the virtual disk configured in advance The read-write data set in file are compared, and find out the read-write configuration file to match with the virtual disk;And
It is described if the read-write configuration file to match is different from the currently used read-write configuration file of the virtual disk Storage equipment judges that the virtual disk needs to change read-write configuration file.
4. transmission path optimization method as described in claim 1, which is characterized in that after the SDN controller is according to change Read and write the step of configuration file optimization is from the host to the transmission path of the virtual disk further include:
The SDN controller is found out from the host to all transmission paths the virtual disk;
The SDN controller calculates separately the metric of each transmission path;And
After the SDN controller determines the change according to the path length of each transmission path, metric and load balancing The transmission path that read-write configuration file should use.
5. transmission path optimization method as claimed in claim 4, which is characterized in that the metric is according to link state routing protocols By the accumulation link cost for each transmission path that agreement calculates.
6. a kind of transmission path optimization system is applied to Internet small computer system interface iSCSI storage area network In framework, which includes host, interchanger, storage equipment, software defined network SDN server and SDN controller, feature It is;
The storage equipment is used for from downloading the corresponding read-write of each virtual disk in the storage equipment in the SDN server Configuration file;
The host by one or more group of switches at transmission path be connected to the storage equipment, to access the void Quasi- disk;
The storage equipment calculates described virtual for analyzing the iSCSI package for being transmitted to the virtual disk from the host The related read-write data of disk, and judge whether the virtual disk needs to change read-write configuration file based on the analysis results, if It needs, the SDN server is notified to change the corresponding read-write configuration file of the virtual disk;And
The SDN server is used to that the SDN controller to be notified to be optimized according to the read-write configuration file after change from the host To the transmission path of the virtual disk.
7. transmission path optimization system as claimed in claim 6, which is characterized in that the read-write data are handling capacity and per second The number being written and read, the storage equipment is by checking whether the scsi command in the iSCSI package is read-write life It enables, if then adding up to read write command number and read-write data volume, so that the handling capacity be calculated and per second read The numerical value of the number of write operation.
8. transmission path optimization system as claimed in claim 6, which is characterized in that the storage equipment is also used to every predetermined Time compares calculated read-write data with the read-write data in the read-write configuration file of the virtual disk configured in advance It is right, find out the read-write configuration file to match with the virtual disk;
It is described if the read-write configuration file to match is different from the currently used read-write configuration file of the virtual disk Storage equipment judges that the virtual disk needs to change read-write configuration file.
9. transmission path optimization system as claimed in claim 6, which is characterized in that the SDN controller is for finding out from institute Host is stated to all transmission paths between the virtual disk, calculates separately the metric of each transmission path, and according to each Path length, metric and the load balancing of a transmission path determine biography that the read-write configuration file after the change should use Defeated path.
10. transmission path optimization system as claimed in claim 9, which is characterized in that the metric is according to link state The accumulation link cost for each transmission path that Routing Protocol calculates.
CN201510298679.1A 2015-06-03 2015-06-03 Transmission path optimization method and system Expired - Fee Related CN106302598B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510298679.1A CN106302598B (en) 2015-06-03 2015-06-03 Transmission path optimization method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510298679.1A CN106302598B (en) 2015-06-03 2015-06-03 Transmission path optimization method and system

Publications (2)

Publication Number Publication Date
CN106302598A CN106302598A (en) 2017-01-04
CN106302598B true CN106302598B (en) 2019-07-23

Family

ID=57656367

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510298679.1A Expired - Fee Related CN106302598B (en) 2015-06-03 2015-06-03 Transmission path optimization method and system

Country Status (1)

Country Link
CN (1) CN106302598B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10805221B2 (en) * 2018-11-06 2020-10-13 Nanning Fugui Precision Industrial Co., Ltd. Service function chain (SFC) path selection method and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1554055A (en) * 2001-07-23 2004-12-08 �Ƚ�΢װ�ù�˾ High-availability cluster virtual server system
CN1633131A (en) * 2005-01-14 2005-06-29 清华大学 A method for implementing iSCSI memory system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7366784B2 (en) * 2001-11-27 2008-04-29 Hitachi, Ltd. System and method for providing and using a VLAN-aware storage device
US20050114464A1 (en) * 2003-10-27 2005-05-26 Shai Amir Virtualization switch and method for performing virtualization in the data-path

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1554055A (en) * 2001-07-23 2004-12-08 �Ƚ�΢װ�ù�˾ High-availability cluster virtual server system
CN1633131A (en) * 2005-01-14 2005-06-29 清华大学 A method for implementing iSCSI memory system

Also Published As

Publication number Publication date
CN106302598A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
US10257066B2 (en) Interconnect congestion control in a storage grid
US8311032B2 (en) Dynamically provisioning virtual machines
JP4686606B2 (en) Method, computer program, and system for dynamic distribution of input / output workload among removable media devices attached via multiple host bus adapters
US20160092136A1 (en) Method and apparatus for cost-based load balancing for port selection
CN104954271B (en) Data package processing method and device in SDN network
KR102342063B1 (en) Proactive handling of network faults
US10305749B2 (en) Low latency flow cleanup of openflow configuration changes
CN104811392B (en) For handling the method and system of the resource access request in network
US10200286B2 (en) Systems and methods for load balancing in a data center
WO2006110854A2 (en) Forwarding traffic flow information using an intelligent line card
US10826823B2 (en) Centralized label-based software defined network
US20190384625A1 (en) Virtual computing instance transfer path selection
CN109981768A (en) I/o multipath planning method and equipment in distributed network storage system
US9729350B1 (en) Maintaining packet order in network flows over an autonomous network
US10469288B2 (en) Efficient data transfer in remote mirroring connectivity on software-defined storage systems
CN109104369B (en) Path selection method and device
CN106302598B (en) Transmission path optimization method and system
TWI585593B (en) Method and system for optimizing transfer path
KR20140051802A (en) Method for setting packet forwarding rule and control apparatus using the method
US7549017B2 (en) Methods and apparatus for selecting a virtualization engine
US11677674B2 (en) Method and computing devices for enforcing packet order based on packet marking
US10880168B2 (en) Switch configuration
US20200136913A1 (en) Input/output (i/o) performance of hosts through bi-directional bandwidth feedback optimization
US10084859B2 (en) Method to designate and implement new routing options for high priority data flows
US20230359360A1 (en) I/o hotspot detection using exponential moving average

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190723