WO2014059590A1 - Procédé et dispositif d'obtention de l'état d'une liaison virtuelle - Google Patents

Procédé et dispositif d'obtention de l'état d'une liaison virtuelle Download PDF

Info

Publication number
WO2014059590A1
WO2014059590A1 PCT/CN2012/083006 CN2012083006W WO2014059590A1 WO 2014059590 A1 WO2014059590 A1 WO 2014059590A1 CN 2012083006 W CN2012083006 W CN 2012083006W WO 2014059590 A1 WO2014059590 A1 WO 2014059590A1
Authority
WO
WIPO (PCT)
Prior art keywords
link
server
keep
packet
virtual link
Prior art date
Application number
PCT/CN2012/083006
Other languages
English (en)
Chinese (zh)
Inventor
于来凯
朱筠
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2012/083006 priority Critical patent/WO2014059590A1/fr
Priority to CN201280002194.8A priority patent/CN103181187B/zh
Publication of WO2014059590A1 publication Critical patent/WO2014059590A1/fr

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks

Definitions

  • the present invention relates to the field of network technologies, and in particular, to a method and device for obtaining a virtual link state. Background technique
  • FCOE Fiber Channel over Ethernet
  • FCOE Forwarder, FCOE switch FCOE switch
  • FCF FCOE Forwarder, FCOE switch
  • each virtual link needs to periodically send a keepalive (link keepalive) message to the FCF.
  • the FCF periodically monitors the packet to detect whether the status of the virtual link is normal. If the virtual link status of the virtual link is abnormal, the FCF deletes the virtual link and terminates the connection.
  • each FCF can access thousands of servers, and each server can set dozens or even hundreds of virtual links. If the FCF needs to be processed periodically according to existing standards. The number of keepalive packets is hundreds of thousands. Obviously, such a large number of keepalive messages far exceed the processing power of the FCF's CPU, and it will inevitably affect the stability of the network. Summary of the invention
  • a method and a device for obtaining a virtual link state are provided, which can reduce the number of keepalive packets in a large amount.
  • a method for obtaining a virtual link status including:
  • the Ethernet Fibre Channel switch receives the link keep-alive message sent by the server
  • the Ethernet Fibre Channel switch parses the link keep-alive packet to obtain the identifier information of the normal virtual link included in the link keep-alive packet;
  • the Ethernet Fibre Channel switch determines a normal virtual link according to the identification information of the normal virtual link included in the link keep-alive packet.
  • the Ethernet Fibre Channel switch receives
  • the link keep-alive packet that is sent includes the identifier information of all normal virtual links of the server.
  • Another method for obtaining a virtual link state including:
  • the server generates a link keep-alive packet, where the link keep-alive packet includes the identifier information of the normal virtual link; the server sends the generated link keep-alive packet to the Ethernet Fibre Channel switch, The Ethernet Fibre Channel switch determines a normal virtual link according to the identification information of the normal virtual link included in the link keep-alive packet.
  • the link-preserving packet generated by the server includes identifier information of all normal virtual links of the server.
  • an Ethernet Fibre Channel switch including:
  • a message receiving unit configured to receive a link keep-alive message sent by the server
  • a packet parsing unit configured to parse the link keep-alive packet received by the packet receiving unit, and obtain identifier information of a normal virtual link included in the link keep-alive packet;
  • a state determining unit configured to determine a normal virtual link according to the identifier information of the normal virtual link included in the link keep-alive packet obtained by the packet parsing unit.
  • the link keep-alive packet received by the packet receiving unit includes identifier information of all normal virtual links of the server.
  • Ethernet Fibre Channel switch including:
  • a transceiver configured to receive a link keep-alive message sent by the server
  • a processor configured to parse the link keep-alive packet received by the transceiver, obtain identifier information of a normal virtual link included in the link keep-alive packet, and keep alive according to the link The identification information of the normal virtual link included in the packet determines the normal virtual link.
  • a server including:
  • a message generating unit configured to generate a link keep-alive packet, where the link keep-alive packet includes the identifier information of the normal virtual link;
  • a message sending unit configured to send the link keep-alive message generated by the message generating unit to an Ethernet Fibre Channel switch, so that the Ethernet Fibre Channel switch keeps a message according to the link
  • the identification information of the normal virtual link included in the normal link determines the normal virtual link.
  • the link keep-alive packet generated by the packet generating unit includes identifier information of all normal virtual links of the server.
  • another server including:
  • a processor configured to generate a link keep-alive packet, where the link keep-alive packet includes an identifier of a normal virtual link Interest rate
  • a transceiver configured to send the link keep-alive message generated by the processor to an Ethernet Fibre Channel switch, so that the Ethernet Fibre Channel switch according to the normality included in the link keep-alive message
  • the identification information of the virtual link determines a normal virtual link.
  • the embodiment of the present invention improves the status of the virtual link by using the keepalive packet sent by the existing server, and adds the identifier of the normal virtual link in the packet to enable the FCF to know the status of the virtual link according to the received keepalive packet. Therefore, the keepalive packets sent by the virtual link are greatly reduced, and the impact on network stability is reduced.
  • FIG. 1 is a schematic structural diagram of a keepalive packet sent by a server in the prior art
  • FIG. 2 is a schematic structural diagram of a keepalive packet sent by a virtual link in the prior art
  • FIG. 3 is a flowchart of a method for obtaining a virtual link state according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of a keepalive packet sent by a server according to an embodiment of the present invention.
  • FIG. 5 is a flowchart of another method for obtaining a virtual link state according to an embodiment of the present invention.
  • FIG. 6 is a flowchart of another method for obtaining a virtual link state according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of a packet sent by a server and a virtual link in the prior art
  • FIG. 8 is a schematic structural diagram of a message generated by a server in the embodiment shown in FIG. 6;
  • FIG. 9 is a schematic diagram of a server sending a message in the embodiment shown in FIG. 6;
  • FIG. 10 is a schematic structural diagram of an FCF according to an embodiment of the present invention.
  • FIG. 11 is a schematic structural diagram of another FCF according to an embodiment of the present invention.
  • FIG. 12 is a schematic structural diagram of a server according to an embodiment of the present invention.
  • FIG. 13 is a schematic structural diagram of another server according to an embodiment of the present invention. detailed description
  • the packet structure includes FIP (FCOE Initialization Protocol, FCOE). Initialization Protocol) Message type (FIP_Type), version number (Version;), FIP code (FIP Code), sub-code (sub-code), FIP deep list length, FIP deep list length Carrying the MAC address (Medium Access Control) address description field of the server; the other is the keepalive packet sent by the virtual link.
  • FIP FCOE Initialization Protocol
  • FCOE FCOE Initialization Protocol
  • FCOE Initialization Protocol
  • FIP_Type Message type
  • version number Version
  • FIP code FIP code
  • sub-code sub-code
  • FIP deep list length FIP deep list length
  • Carrying the MAC address (Medium Access Control) address description field of the server the other is the keepalive packet sent by the virtual link.
  • the packet structure is as shown in Figure 2, compared with the keepalive packet sent by the server.
  • the keepalive packet sent by the virtual link carries the FIP Vx_Port Identification description field to identify the virtual link.
  • each virtual link set on the server and the server periodically sends its own keepalive packets to the FCF.
  • the FCF periodically monitors two types of keepalive packets to sense the server and its virtual link. If the FCF does not receive a keepalive packet sent by a certain server, the FCF will directly delete the server and terminate the connection. If the FCF exceeds a certain period, the virtual state is not received. If the link status is abnormal, the FCF will delete the virtual link and terminate the connection.
  • the number of virtual links is very large.
  • the packet storms generated by the keepalive packets sent by all the virtual link periods directly affect the stability of the network and are limited by the FCF processing capability. As a result, a single FCF cannot be expanded. If the FC0E switch agent or FCF is added, the network cost will be doubled.
  • the embodiment of the present invention provides a method and a device for obtaining a virtual link state, and the identifier information of the normal virtual link in the server is added to the packet by improving the keepalive packet sent by the server.
  • the FCF can learn the status of the virtual link according to the keepalive packets sent by the server, thereby greatly reducing the number of keepalive packets sent by the virtual link, reducing the impact on the network stability, and the FCF can be easily expanded. .
  • FIG. 3 it is a flowchart of a method for obtaining a virtual link state according to an embodiment of the present invention.
  • the method can include:
  • Step 301 The FCF receives the keepalive packet sent by the server.
  • the virtual link is set by the server, and the number of virtual links that the server needs to be set, so that the server stores the information of each virtual link set by the server.
  • the server is in the FCF.
  • the structure of the keepalive message sent by the server may be as shown in FIG. 4. among them,
  • the identifier information field of the normal virtual link is added after the MAC address description field of the packet, which may be a FIP Vx Port Identification description field.
  • the difference between the packet and the keepalive packet sent by the virtual link in the prior art is that the packet sent by the virtual link in the prior art only includes the identifier information of the virtual link, for example, the FIP Vi_Port Identification description field is included.
  • the keepalive packet sent by the server includes the identifier information of the normal virtual link, for example, the FIP Vi_Port Identification description field and the FIP V 2 _Port Identification description field FIP V n _Port Identification description field.
  • the keepalive packet sent by the server may include the identifier information of multiple normal virtual links, so that the multiple normal virtual links do not need to send keepalive packets to the FCF period, thereby reducing the number of packets received by the FCF.
  • the keepalive packet sent by the server includes the identifier information of all the normal virtual links of the server, so that all normal virtual links under the server do not need to send keepalive packets to the FCF period, and only one server sends one Keepalive messages are fine.
  • the FCF After receiving the keepalive packet sent by the server, the FCF performs the next step.
  • Step 302 The FCF parses the keepalive packet to obtain the identifier information of the normal virtual link included in the keepalive packet.
  • the FCF parses the keepalive packet.
  • the parsing process is the same as the parsing process in the prior art. The only difference is that the information obtained by the FCF parsing has the MAC address description field and the identity information of the normal virtual link.
  • Step 303 The FCF determines a normal virtual link according to the identifier information of the normal virtual link included in the keepalive packet.
  • the FCF After obtaining the identification information of the normal virtual link, the FCF can determine the normal virtual link.
  • the embodiment of the present invention improves the status of the virtual link by using the keepalive packet sent by the existing server, and adds the identifier of the normal virtual link in the packet to enable the FCF to know the status of the virtual link according to the received keepalive packet. Therefore, the keepalive packets sent by the virtual link are greatly reduced, and the impact on the network stability is reduced, and the FCF can be easily expanded.
  • FIG. 5 is a flowchart of another method for obtaining a virtual link state according to an embodiment of the present invention.
  • the peer end of the FCF that is, the server side, is the execution subject, and the method may include:
  • Step 501 The server generates a keepalive packet, where the keepalive packet includes the identifier information of the normal virtual link.
  • the server-generated keepalive packet includes identifier information of all normal virtual links of the server.
  • Step 502 The server sends the generated keepalive packet to the FCF, so that the FCF determines the normal virtual link according to the identifier information of the normal virtual link included in the keepalive packet.
  • the embodiment of the present invention improves the identification information of the normal virtual link in the server by using the keepalive packet sent by the existing server, so that the FCF can obtain the virtual link according to the keepalive packet sent by the server.
  • the state which greatly reduces the keepalive packets sent by the virtual link, reduces the impact on the stability of the network, and the FCF can be easily expanded.
  • FIG. 6 is a flowchart of another method for obtaining a virtual link state according to an embodiment of the present invention.
  • the FCF needs to receive the keepalive message sent by the server, and the keepalive message sent by the virtual link VI, V2, and V3 respectively, for a total of four messages, and the FCF receives the message according to the FCF.
  • the situation determines the state of each virtual link.
  • the method for determining the status of the virtual link may include:
  • Step 601 The server generates a keepalive packet.
  • the server uses the three virtual links VI, V2, and V3. That is, the three virtual links are in the normal state.
  • the server adds the identification information of the virtual links VI, V2, and V3 to the V1_Port Identification descriptor V2_Port Identification.
  • the descriptor V3_Port Identification descriptor generates a final keepalive packet.
  • the structure of the packet can be as shown in Figure 8.
  • Step 602 The server sends the generated keepalive packet to the FCF.
  • Step 603 The FCF parses the received keepalive packet, and obtains the identifier information of the virtual link.
  • the embodiment of the present invention improves the identifier information of all the normal virtual links in the server by modifying the keepalive packets sent by the existing server, so that the FCF can obtain the virtual link according to the keepalive packets sent by the server.
  • the status of the keepalive message is reduced by the FCF, which solves the problem that the massive keepalive packet affects the network stability in the FC0E network.
  • a single FCF can be better expanded without being expanded. Because the number of keepalive packets is too large to be processed, the device must be added, which greatly reduces the network cost.
  • FIG. 10 it is a schematic structural diagram of an FCF according to an embodiment of the present invention.
  • the FCF includes:
  • the message parsing unit 1002 is configured to parse the keepalive packet received by the packet receiving unit 1001, and obtain the identifier information of the normal virtual link included in the keepalive packet;
  • the state determining unit 1003 is configured to determine a normal virtual link according to the identifier information of the normal virtual link included in the keepalive packet obtained by the packet parsing unit 1002.
  • the keepalive packet received by the packet receiving unit 1001 may include identifier information of all normal virtual links of the server.
  • the FCF obtains the identifier information of the normal virtual link in the packet, and the state of the virtual link is obtained, thereby greatly reducing the keepalive packet received by the FCF.
  • the impact on network stability, and thus the FCF can be easily expanded.
  • FIG. 11 a schematic structural diagram of another FCF according to an embodiment of the present invention is shown.
  • the FCF can include:
  • the transceiver 1101 is configured to receive a keepalive packet sent by the server.
  • the processor 1102 is configured to parse the keepalive packet received by the transceiver 1101, obtain the identifier information of the normal virtual link included in the keepalive packet, and obtain the normal virtual content included in the keepalive packet.
  • the identification information of the link determines the normal virtual link.
  • the FCF obtains the identity information of the virtual link in the packet, and the state of the virtual link is obtained, thereby greatly reducing the keepalive packet received by the FCF, and reducing the network.
  • the effect of stability, and thus the FCF can be easily expanded.
  • FIG. 12 it is a schematic structural diagram of a server according to an embodiment of the present invention.
  • the server can include:
  • the message generating unit 1201 is configured to generate a keepalive packet, where the keepalive packet includes the identifier information of the normal virtual link.
  • the message sending unit 1202 is configured to send the keepalive message generated by the message generating unit 1201 to the FCF, so that the FCF determines the normal virtual link according to the identity information of the normal virtual link included in the keepalive message. .
  • the keepalive packet generated by the packet generating unit 1201 includes identifier information of all normal virtual links of the server.
  • the server improves the keepalive message sent by the existing server by using the foregoing unit, and adds the identifier information of the normal virtual link in the server, so that the FCF can be based on the keepalive message sent by the server.
  • the status of the virtual link is known, which greatly reduces the number of keepalive packets sent by the virtual link, and reduces the impact on the stability of the network. Therefore, the FCF can be easily expanded.
  • FIG. 13 is a schematic structural diagram of another server according to an embodiment of the present invention.
  • the server can include:
  • the processor 1301 is configured to generate a keepalive packet, where the keepalive packet includes the identifier information of the normal virtual link.
  • the transceiver 1302 is configured to send the keepalive packet generated by the processor 1301 to the FCF, so that the FCF determines a normal virtual link according to the identifier information of the normal virtual link included in the keepalive packet. .
  • the server improves the identifier information of the normal virtual link in the server by modifying the keepalive packet sent by the existing server, so that the FCF can know according to the keepalive packet sent by the server.
  • the state of the virtual link greatly reduces the number of keepalive packets sent by the virtual link, which reduces the impact on the stability of the network. Therefore, the FCF can be easily expanded.
  • the disclosed systems, devices, and methods may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, i.e., may be located in one place, or may be distributed over multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the function is implemented in the form of a software functional unit and sold or used as a stand-alone product, Stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including
  • the instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) or a processor to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a Read-Only Memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like, which can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

L'invention concerne un procédé et un dispositif d'obtention de l'état d'une liaison virtuelle. Un sélecteur de canaux Ethernet à fibre reçoit un message d'entretien de liaison envoyé par un serveur. Le sélecteur de canaux Ethernet à fibre analyse le message d'entretien de liaison pour obtenir les informations d'identification de la liaison virtuelle normale figurant dans le message d'entretien de liaison; le sélecteur de canaux Ethernet à fibre détermine la liaison virtuelle normale en fonction des informations d'identification de la liaison virtuelle normale figurant dans le message d'entretien de liaison. En améliorant le message d'entretien de liaison envoyé par le serveur précédent, et en ajoutant dans le message les informations d'identification de la liaison virtuelle normale correspondant au serveur, les modes de réalisation de l'invention font en sorte que le sélecteur de canaux Ethernet à fibre obtienne l'état de la liaison virtuelle selon le message d'entretien de liaison reçu, réduisant ainsi considérablement la quantité de messages d'entretien de liaison envoyés via la liaison virtuelle et réduisant l'influence sur la stabilité du réseau.
PCT/CN2012/083006 2012-10-16 2012-10-16 Procédé et dispositif d'obtention de l'état d'une liaison virtuelle WO2014059590A1 (fr)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2012/083006 WO2014059590A1 (fr) 2012-10-16 2012-10-16 Procédé et dispositif d'obtention de l'état d'une liaison virtuelle
CN201280002194.8A CN103181187B (zh) 2012-10-16 2012-10-16 一种获知虚链路状态的方法及设备

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/083006 WO2014059590A1 (fr) 2012-10-16 2012-10-16 Procédé et dispositif d'obtention de l'état d'une liaison virtuelle

Publications (1)

Publication Number Publication Date
WO2014059590A1 true WO2014059590A1 (fr) 2014-04-24

Family

ID=48639404

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/083006 WO2014059590A1 (fr) 2012-10-16 2012-10-16 Procédé et dispositif d'obtention de l'état d'une liaison virtuelle

Country Status (2)

Country Link
CN (1) CN103181187B (fr)
WO (1) WO2014059590A1 (fr)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105634786B (zh) * 2014-11-24 2019-12-06 华为技术有限公司 链路保活方法和装置
CN104954165B (zh) * 2015-04-20 2018-09-07 华为技术有限公司 一种链路分析的方法、设备及系统

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102111306A (zh) * 2009-12-23 2011-06-29 杭州华三通信技术有限公司 基于以太网的光纤通道虚链路故障检测方法、系统和装置

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102111306A (zh) * 2009-12-23 2011-06-29 杭州华三通信技术有限公司 基于以太网的光纤通道虚链路故障检测方法、系统和装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
LUO, MIN: "Design and Implementation of FCoE Protocol FIP Module", ELECTRONIC TECHNOLOGY & INFORMATION SCIENCE, CHINA MASTER'S THESES FULL-TEXT DATABASE, 15 March 2011 (2011-03-15), pages 7 - 8, 15-16,19 AND 24-25 *

Also Published As

Publication number Publication date
CN103181187B (zh) 2016-09-28
CN103181187A (zh) 2013-06-26

Similar Documents

Publication Publication Date Title
TWI677222B (zh) 應用於伺服器負載均衡中的連接建立方法及裝置
WO2018058677A1 (fr) Procédé de traitement de messages, dispositif informatique et appareil de traitement de messages
US8929368B2 (en) Control method of virtual link discovery and system for fibre channel over ethernet protocol
US9762493B2 (en) Link aggregation (LAG) information exchange protocol
US9883010B2 (en) Method, apparatus, device and system for generating DHCP snooping binding table
CN102752217B (zh) 网络加速系统和网络加速方法
EP2681871B1 (fr) Test de débit en service dans des architectures à routeurs/commutateurs distribués
US9973427B2 (en) Method for determining management domain, network device, and virtual cluster
WO2016086755A1 (fr) Procédé de traitement de paquets et serveur mandataire transparent
US8156209B1 (en) Aggregation devices processing keep-alive messages of point-to-point sessions
US9641355B2 (en) Communication device, communication method, and program
CN110784436B (zh) 用于维持互联网协议安全隧道的方法和设备
CN112910704B (zh) 一种支持动态自适应网络配置的局域网系统、方法和装置
WO2014059590A1 (fr) Procédé et dispositif d'obtention de l'état d'une liaison virtuelle
US9813159B2 (en) Method for setting maintenance association MA, apparatus, and system
CN108259442B (zh) 一种慢协议报文处理方法及相关装置
US20180081746A1 (en) Application message processing system, method, and application device
CN105577546A (zh) 一种基于QoS的主动请求连接方法
WO2013159492A1 (fr) Procédé et système pour le reporting et le téléchargement de données
US10972442B1 (en) Distributed predictive packet quantity threshold reporting
CN107104813B (zh) 一种信息传输方法、网关及控制器
US20150319074A1 (en) Cluster and Forwarding Method
WO2023284231A1 (fr) Procédé de traitement de message et système de traitement de message
WO2015051696A1 (fr) Procédé et appareil de transmission d'un paquet oam
CN112769926A (zh) 一种物联网中心、系统和通信方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12886614

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12886614

Country of ref document: EP

Kind code of ref document: A1