CN106533808A - MCS-based link aggregation method and device - Google Patents
MCS-based link aggregation method and device Download PDFInfo
- Publication number
- CN106533808A CN106533808A CN201611230653.4A CN201611230653A CN106533808A CN 106533808 A CN106533808 A CN 106533808A CN 201611230653 A CN201611230653 A CN 201611230653A CN 106533808 A CN106533808 A CN 106533808A
- Authority
- CN
- China
- Prior art keywords
- mcs
- server
- link
- link aggregation
- multilink
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/24—Multipath
- H04L45/245—Link aggregation, e.g. trunking
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0893—Assignment of logical groups to network elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1001—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Information Transfer Between Computers (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention relates to the technical field of link aggregation, and discloses an MCS-based link aggregation method. The MCS-based link aggregation method comprises the following steps: a server selects multiple links to be aggregated; the multiple links correspond to the same MCS group at a storage end; and the server takes the multiple links in the same MCS group as one link to identify. The invention further discloses an MCS-based link aggregation device. The MCS-based link aggregation device comprises a link selection module, an MCS group creating module and a link aggregation module. By means of the MCS-based link aggregation method and device disclosed by the invention, aggregation multi-path connection is achieved through arrangement of a storage layer and a server layer; therefore, the bandwidth is increased; the data load is balanced; and the storage performance is improved.
Description
Technical field
The present invention relates to the technical field of link aggregation, more particularly to a kind of link aggregation method and dress based on MCS
Put.
Background technology
Link aggregation (Link Aggregation), refers to and bundles multiple physical ports, becomes a logic
Port, to realize load sharing of the in/out flow in each member port, switch is according to user configured port load sharing
Strategy decision message is sent to the switch of opposite end from which member port.When switch detects one of member port
Link stop message being sent on this port when breaking down, just, and according to load-sharing strategy in remaining link again
The port that message sends is calculated, non-working port recalculates message source mouth after recovering again.Link aggregation has the following advantages:
1st, increase the network bandwidth;Multiple multilink bundlings can be become a logical links by link aggregation, and the link bandwidth after binding is
The summation of each separated links bandwidth.2nd, improve the reliability of network connection;Multiple links in link aggregation backup each other, when
There is a link to disconnect, flow can be redistributed between remaining link automatically.
At present, when link aggregation setting is done to storage, first have to after storage end does corresponding setting, Ran Hou
Exchange generator terminal carries out polymerization setting to the port for needing polymerization, and switch must also support LACP moulds while compatible this storage
The setting of formula, the establishing method of different brands switch are incomplete same, in addition, in addition it is also necessary to set in server layer
Put, collocation method very complicated.
The content of the invention
It is an object of the present invention to provide a kind of link aggregation method and device based on MCS, directly passes through accumulation layer and service
Device layer is arranged and reaches polymerization multipath connection, so as to increasing bandwidth, equilibrium criterion load and improving storage performance.
To achieve these goals, the present invention adopts following technical scheme:
The present invention provides a kind of link aggregation method based on MCS, comprises the following steps:
Server selects multilink to be polymerized;
In storage end, by multilink correspondence same MCS groups;
Server is using the multilink in same MCS groups as a link identification.
Preferably, before server selects multilink to be polymerized, also include:Server is believed in storage end scan chain circuit
Breath, confirms to complete all links identification.
Preferably, before server selects multilink to be polymerized, also include:Create the division in storage.
Preferably, server also includes using the multilink in same MCS groups as after a link identification:Will
Link after polymerization is mapped with partition holding.
Preferably, server is further included following using the multilink in same MCS groups as a link identification
Step:
A. in server end, add iscsi target;
B. in server end, MCS groups are configured.
Preferably, step A is further included:
A1. add port address;
A2., link information is set;ISCSI is selected as local adapter;The IP address and server of specified storage end
The IP address at end;
A3. configure storage end to be attached with server end.
Preferably, step B is further included:
B1. select load-sharing mode;
B2. specify the IP address of storage end with the IP address of server end, storage end is connected with server end configuration;
B3. offline memory device is set to online, and is formatted.
The present invention also provides a kind of link aggregation device based on MCS, including:
Link selection module, selects multilink to be polymerized for server;
MCS group creation modules, for creating MCS groups in storage end, by multilink correspondence same MCS groups;
Link aggregation module, for server using the multilink in same MCS groups as a link identification.
Preferably, also include:Link identification module, for server in storage end scan chain circuit information, confirms to all
Link completes identification;
Preferably, also include:Partition creating module, for creating the division in storage;
Preferably, also include:Mapping block, for the link after polymerization and partition holding are mapped.
Preferably, also include:Iscsi target add module, for adding iscsi target in server end;
Preferably, also include:MCS group configuration modules, in server end configuration MCS groups.
Compared with prior art, the present invention has advantages below:
Server of the present invention selects multilink to be polymerized, in storage end, by multilink correspondence same MCS groups, service
Using the multilink in same MCS groups as a link identification, the present invention need not pass through the operation of switch aspect to device
Link aggregation is can be achieved with, is directly passed through accumulation layer and server layer is arranged and reaches polymerization, not only increase bandwidth, equilibrium criterion and bear
Carry, improve storage performance, and it is simple to operation.
Description of the drawings
Fig. 1 is a kind of one of structural representation of link aggregation device based on MCS of the present invention;
Fig. 2 is a kind of one of schematic flow sheet of link aggregation method based on MCS of the present invention;
Fig. 3 is the two of a kind of structural representation of the link aggregation device based on MCS of the present invention;
Fig. 4 is the two of a kind of schematic flow sheet of the link aggregation method based on MCS of the present invention;
Fig. 5 is the schematic flow sheet for adding iscsi target;
Fig. 6 is configuration MCS groups schematic flow sheet.
Specific embodiment
In order to make it easy to understand, the part noun to occurring in the present invention makees explanation explained below:
iSCSI :Internet small computer system interfaces(iSCSI)A kind of agreement based on TCP/IP, for setting up and
Being connected with each other between management IP storage devices, main frame and client computer etc., and create storage area network(SAN).
MCS agreements:MCS agreements are come with windows systems, this MCS agreement is run on iSCSI, belonged to
In a part for iSCSI protocol.It creates multiple connections in single session.Used as a part for iSCSI protocol, MCS is not required to
Will be by other multipath technical operation.By being set according to the polymerization that MCS agreements carry out correlation to relevant link in storage end
Postpone, corresponding MCS settings are carried out in server end, reach the effect of link aggregation.
With reference to the accompanying drawings and examples, the specific embodiment of the present invention is described in further detail:
Embodiment one:The present invention a kind of link aggregation device based on MCS is provided as shown in figure 1, including partition creating module 11,
Link identification module 12, Link selection module 13, MCS groups creation module 14, link aggregation module 15 and mapping block 16, link
Aggregation module 15 includes iscsi target add module 17 and MCS group configuration modules 18.Partition creating module 11 successively with link
Identification module 12, Link selection module 13, MCS groups creation module 14, link aggregation module 15 and mapping block 16 connect.
Partition creating module 11 is used to create the division in storage;Link identification module 12 is swept in storage end for server
Link information is retouched, confirms to complete all links identification;Link selection module 13 is used for server and selects to be polymerized a plurality of
Link;Multilink is corresponded to same MCS groups for creating MCS groups in storage end by MCS groups creation module 14;Link aggregation
Module 15 is used for server using the multilink in same MCS groups as a link identification;Mapping block 16 is used for will be poly-
Link after conjunction is mapped with partition holding;Iscsi target add module 17 is in server end addition iscsi target;
MCS group configuration modules 18 are in server end configuration MCS groups.
Embodiment two:The present invention provides a kind of link aggregation method based on MCS as shown in Fig. 2 comprising the following steps:
Step S201, is created the division in storage;
Step S202, server confirm to complete all links identification in storage end scan chain circuit information;
Step S203, server select multilink to be polymerized;
In the present embodiment, server selects both links to do link aggregation.
Used as a kind of embodiment, server selects the link of three or more than three to do link aggregation.
Step S204, in storage end, by multilink correspondence same MCS groups;
In the present embodiment, both links are added in same MCS groups.
Step S205, server is using the multilink in same MCS groups as a link identification;Specifically include:
Step A. adds iscsi target in server end;As shown in figure 5, comprising the following steps that:
Step S501. adds port address;
ISCSI program is opened in server system, adds all of port address of iscsi target, for example:
172.24.0.1 and 172.24.0.11, this address is the IP address arranged after the completion of storage end link aggregation, by this IP ground
Location is connecting storage device.Behind input port address, available target device information will show, because will be a plurality of in storage end
Link is added in same MCS groups, therefore can only show a link.
Step S502. arranges link information;
ISCSI is selected as local adapter;The IP address of the IP address and server end of specified storage end.For example:
The IP address of specified storage end is:172.24.0.1, the IP address of server end is:172.24.0.41.
Step S503. configures storage end and server end connection;
Only in the case of connection status is normal, MCS is arranged just can proper function.
Step B. is in server end, configuration MCS groups;As shown in fig. 6, comprising the following steps that:
Step S601. selects load-sharing mode;
In the present embodiment, load-sharing mode adopts Round-Robin(Circulation), only can just allow in such a mode and be matched somebody with somebody
The MCS groups put start the effect of link aggregation.
Step S602. specifies the IP address of the IP address and server end of storage end, and storage end is configured with server end
Connection;
When the IP address of storage end and server end is arranged, it is ensured that the IP address at two ends is corresponded, such as 172.24.0.1
It is appointed as a pair with 172.24.0.41, it is another right that 172.24.0.11 and 172.24.0.31 is appointed as, should not be by a storage end
Or the IP address of server end is assigned to the IP address of the two or two upper other ends, can so hinder the plan of load balancing
Slightly, affect performance.
Offline memory device is set to online by step S603., and is formatted.
Link after polymerization and partition holding are mapped by step S206.;
If link 1 and link 0 are compiled as same MCS groups, user may only be selected it finds that link 1 can not be selected
Link 0.
The present invention provides a kind of collocation method of the link aggregation that not can be achieved with by the operation in exchanger layer face, first
First, in storage end, link to be polymerized is added to into same MCC groups, so when storage end addition maps, a plurality of chain
Road just only can show one.In server end according to the establishing method of windows systems MCS, after being provided with, can just reach poly-
Multipath connection is closed, so as to increasing bandwidth, equilibrium criterion load and improving storage performance.
Embodiment three:The present invention provides another kind of link aggregation device based on MCS as shown in figure 3, including link selection
Module 31, MCS groups creation module 32 and link aggregation module 33.Link selection module 31 successively with MCS groups creation module 32 and
Link aggregation module 33 connects.
Link selection module 31 is used for server and selects multilink to be polymerized;MCS groups creation module 32 is for depositing
Chu Duan creates MCS groups, by multilink correspondence same MCS groups;Link aggregation module 33 is used for server by same MCS groups
In multilink as a link identification.
Example IV:The present invention provides another kind of link aggregation method based on MCS as shown in figure 4, comprising the following steps:
Step S401, server select multilink to be polymerized;
Step S402, in storage end, by multilink correspondence same MCS groups;
Step S403, server is using the multilink in same MCS groups as a link identification.
The present invention directly passes through accumulation layer and server layer is arranged and reaches polymerization, operate simpler not by exchanger layer
It is single.
Illustrated above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should
It is considered as protection scope of the present invention.
Claims (10)
1. a kind of link aggregation method based on MCS, it is characterised in that comprise the following steps:
Server selects multilink to be polymerized;
In storage end, by multilink correspondence same MCS groups;
Server is using the multilink in same MCS groups as a link identification.
2. the link aggregation method based on MCS according to claim 1, it is characterised in that server selects to be polymerized
Before multilink, also include:Server confirms to complete all links identification in storage end scan chain circuit information.
3. the link aggregation method based on MCS according to claim 1, it is characterised in that server selects to be polymerized
Before multilink, also include:Create the division in storage.
4. the link aggregation method based on MCS according to claim 3, it is characterised in that server is by same MCS groups
In multilink as a link identification after, also include:Link after polymerization and partition holding are mapped.
5. the link aggregation method based on MCS according to claim 1, it is characterised in that server is by same MCS groups
In multilink as a link identification, it is further comprising the steps:
A. in server end, add iscsi target;
B. in server end, MCS groups are configured.
6. the link aggregation method based on MCS according to claim 5, it is characterised in that step A is further wrapped
Include:
A1. add port address;
A2., link information is set;ISCSI is selected as local adapter;The IP address and server of specified storage end
The IP address at end;
A3. configure storage end to be attached with server end.
7. the link aggregation method based on MCS according to claim 5 or 6, it is characterised in that step B enters
Step includes:
B1. select load-sharing mode;
B2. specify the IP address of storage end with the IP address of server end, storage end is connected with server end configuration;
B3. offline memory device is set to online, and is formatted.
8. a kind of link aggregation device based on MCS, it is characterised in that include:
Link selection module, selects multilink to be polymerized for server;
MCS group creation modules, for creating MCS groups in storage end, by multilink correspondence same MCS groups;
Link aggregation module, for server using the multilink in same MCS groups as a link identification.
9. the link aggregation device based on MCS according to claim 8, it is characterised in that also include:
Link identification module, for server in storage end scan chain circuit information, confirms to complete all links identification;
Preferably, also include:Partition creating module, for creating the division in storage;
Preferably, also include:Mapping block, for the link after polymerization and partition holding are mapped.
10. the link aggregation device based on MCS according to claim 8, it is characterised in that also include:
Iscsi target add module, for adding iscsi target in server end;
Preferably, also include:MCS group configuration modules, in server end configuration MCS groups.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611230653.4A CN106533808B (en) | 2016-12-28 | 2016-12-28 | Link aggregation method and device based on MCS |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611230653.4A CN106533808B (en) | 2016-12-28 | 2016-12-28 | Link aggregation method and device based on MCS |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106533808A true CN106533808A (en) | 2017-03-22 |
CN106533808B CN106533808B (en) | 2020-02-07 |
Family
ID=58337863
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611230653.4A Active CN106533808B (en) | 2016-12-28 | 2016-12-28 | Link aggregation method and device based on MCS |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106533808B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110460479A (en) * | 2019-09-10 | 2019-11-15 | 杭州晨晓科技股份有限公司 | A kind of logical links uniform scanning system and method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090141628A1 (en) * | 2007-12-04 | 2009-06-04 | Tsipora Barzilai | Quality of Service for iSCSI |
CN102045379A (en) * | 2009-10-15 | 2011-05-04 | 杭州华三通信技术有限公司 | Method and system for IP storage and storage equipment |
CN103810038A (en) * | 2014-01-24 | 2014-05-21 | 杭州华三通信技术有限公司 | Method and device for transferring virtual machine storage files in HA cluster |
CN105183568A (en) * | 2015-08-19 | 2015-12-23 | 山东超越数控电子有限公司 | Inter memory double-controller scsi command synchronization mechanism |
US20160149821A1 (en) * | 2013-12-03 | 2016-05-26 | International Business Machines Corporation | Autonomic Ingress Traffic Load Balancing in Link Aggregation Groups by Modification of Switch Routing |
-
2016
- 2016-12-28 CN CN201611230653.4A patent/CN106533808B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090141628A1 (en) * | 2007-12-04 | 2009-06-04 | Tsipora Barzilai | Quality of Service for iSCSI |
CN102045379A (en) * | 2009-10-15 | 2011-05-04 | 杭州华三通信技术有限公司 | Method and system for IP storage and storage equipment |
US20160149821A1 (en) * | 2013-12-03 | 2016-05-26 | International Business Machines Corporation | Autonomic Ingress Traffic Load Balancing in Link Aggregation Groups by Modification of Switch Routing |
CN103810038A (en) * | 2014-01-24 | 2014-05-21 | 杭州华三通信技术有限公司 | Method and device for transferring virtual machine storage files in HA cluster |
CN105183568A (en) * | 2015-08-19 | 2015-12-23 | 山东超越数控电子有限公司 | Inter memory double-controller scsi command synchronization mechanism |
Non-Patent Citations (2)
Title |
---|
J. SATRAN等: "Internet Small Computer Systems Interface (iSCSI)", 《NETWORK WORKING GROUP REQUEST FOR COMMENTS: 3720》 * |
QNAP SYSTEMS,INC: "How to connect an iSCSI initiator on Windows 2008 with MC/S feature", 《QNAP AND FAILOVER TECHNOLOGIES》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110460479A (en) * | 2019-09-10 | 2019-11-15 | 杭州晨晓科技股份有限公司 | A kind of logical links uniform scanning system and method |
Also Published As
Publication number | Publication date |
---|---|
CN106533808B (en) | 2020-02-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105260337B (en) | A kind of automatic addressing method and system of single-chip microcomputer | |
CN107360092B (en) | System and method for balancing load in data network | |
US9253293B2 (en) | Fault-tolerant communications in routed networks | |
US8401026B2 (en) | Achieving about an equal number of active links across chassis in a virtual port-channel environment | |
JP5654142B2 (en) | Method for configuring network switches | |
CN102067533B (en) | Port grouping for association with virtual interfaces | |
CN111245747B (en) | Networking method for data center network and data center network | |
CN104025063A (en) | Methods and apparatus for sharing a network interface controller | |
CN103401707B (en) | link aggregation method and access device | |
US10411911B2 (en) | Network as service service cross-domain orchestration method, orchestration device, and control device | |
CN104954276B (en) | System and method for load balancing multicast traffic | |
CN103401754A (en) | Stack link establishing method, equipment and system | |
CN110011941B (en) | Message forwarding method and device | |
CN109327386A (en) | A kind of link aggregation method, device, equipment and readable storage medium storing program for executing | |
CN108173691A (en) | A kind of method and device of cross-equipment aggregation | |
CN108833472B (en) | System is established in the connection of cloud host | |
CN106059946A (en) | Message forwarding method and message forwarding device | |
CN107872368A (en) | Detection method, device and the terminal of gateway accessibility in a kind of network node cluster | |
CN105379221B (en) | A kind of link aggregation method and equipment | |
US9491098B1 (en) | Transparent network multipath utilization through encapsulation | |
WO2018004931A1 (en) | Techniques for virtual ethernet switching of a multi-node fabric | |
CN106533808A (en) | MCS-based link aggregation method and device | |
US20220014481A1 (en) | Automated multi-fabric link aggregation system | |
CN104394075A (en) | Message transmission method and equipment | |
CN109327400A (en) | A kind of data communications method and data communication network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20200110 Address after: 215000 Building 9, No.1, guanpu Road, Guoxiang street, Wuzhong Economic Development Zone, Suzhou City, Jiangsu Province Applicant after: Suzhou Wave Intelligent Technology Co., Ltd. Address before: 450000 Henan province Zheng Dong New District of Zhengzhou City Xinyi Road No. 278 16 floor room 1601 Applicant before: Zhengzhou Yunhai Information Technology Co. Ltd. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |