[go: up one dir, main page]

CN105376180A - Method for realizing virtual switch function by fiber channel and node equipment - Google Patents

Method for realizing virtual switch function by fiber channel and node equipment Download PDF

Info

Publication number
CN105376180A
CN105376180A CN201410422873.1A CN201410422873A CN105376180A CN 105376180 A CN105376180 A CN 105376180A CN 201410422873 A CN201410422873 A CN 201410422873A CN 105376180 A CN105376180 A CN 105376180A
Authority
CN
China
Prior art keywords
port
equipment
node equipment
section point
opposite equip
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.)
Pending
Application number
CN201410422873.1A
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201410422873.1A priority Critical patent/CN105376180A/en
Priority to PCT/CN2015/071337 priority patent/WO2015131695A1/en
Publication of CN105376180A publication Critical patent/CN105376180A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/64Hybrid switching systems
    • H04L12/6418Hybrid transport

Landscapes

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

Abstract

The present invention discloses a method for realizing a virtual switch function by a fiber channel and node equipment, relating to the field of fiber communication. The method comprises the following steps that (1) first node equipment of N port and F port functions is started in a point to point network to receive the FLOG1 request initiated by second node equipment, the first node equipment distributes an opposite end port ID and sends an ACC carrying the opposite end port ID to the second node equipment, (2) the first node equipment receives the PLOG1 request initiated by the second node equipment and completes a PLOG1 operation with the second node equipment, and (3) the first node equipment receives the FC attribute information registered by the second node equipment. The invention also discloses the node equipment. According to the method and the node equipment, for a small-scale network, a virtual switch function is used to solve the compatibility problem in point to point networking, and the cost increase brought by the use of switch is reduced.

Description

A kind of optical-fibre channel realizes method and the node device of virtual switch function
Technical field
The present invention relates to fiber optic communication field, utilize optical-fibre channel (FC/FCoE) main frame or magnetic battle array to realize the usage of virtual FC switch function more specifically to one.
Background technology
At present, in FC storage system, following several topological structure is related to:
P2P (point-to-point), its topological structure as shown in Figure 1.Fabric (FC switch), its topological structure as shown in Figure 2.Loop (token ring), its topological structure as shown in Figure 3.And FCoE network does not support token ring topology.
Wherein, P2P topology login flow process as shown in Figure 4.Two ends are sent out mutually FLOGI and are mutually replied ACC, and FLOGI completes, and determine the master of PLOGI according to WWPN size, PLOGI flow process by master, and after PLOGI completes, starter initiates PRLI flow process, and PRLI link setup completes.In this flow process, being mainly reflected in FLOGI and PLOGI is who initiates, and whose difference of distributing of port id.
Fabric topology login flow process as shown in Figure 5.NPORT sends out FLOGI to FPORT, and FPORT returns ACC, and FLOGI completes; NPORT to the name server on switch, fabric controller PLOGI; NPORT carries out some row registrations, as WWPN, WWNN, IT attribute, SNN, SPN etc. to name server; Main frame (starter) obtains magnetic battle array (object machine) NPORT_ID to switch; Starter and object machine carry out PLOGI, PRLI; LOGIN completes.Wherein, LOOP topology flow process and point-to-point basic simlarity, just also exist the difference of arbitration.
For small-scale networking, such as only have a main frame and magnetic battle array, at this time the simplest networking is exactly point-to-point networking, but due to each producer realize widely different, some does not support point-to-point, or there is the compatibility issue consulted in point-to-point negotiation mode, cannot realize point-to-point networking; Use switch certainly can address this problem, but join an individual switch again in order to this small-scale networking, seem and waste a little; Point-to-point use LOOP networking, this is the method that a lot of producer uses, but also there are some compatibility issues, moreover FCoE does not support LOOP.
In sum, before the mutual difference of the frame of various topological structure is mainly reflected in link setup, the reading and writing data operation after link setup is all the same.
Summary of the invention
Technical problem to be solved by this invention is to provide method and the node device that a kind of optical-fibre channel realizes virtual switch function, to solve the compatibility issue in point-to-point networking.
In order to solve the problems of the technologies described above, the invention discloses a kind of method that optical-fibre channel realizes virtual switch function, comprising:
In point to point network, the first node equipment starting N port and F port function receives F port registration (FLOGI) request of Section Point equipment initiation, described first node equipment distributes Peer-Port mark (ID), carries the response (ACC) of described Peer-Port ID to described Section Point equipment feedback;
Described first node equipment receives N port registration (PLOGI) request that Section Point equipment is initiated, and completes PLOGI operate with described Section Point equipment;
Described first node equipment receives the FC attribute information of described Section Point facility registration.
Alternatively, in said method, described first node equipment carries in the ACC of described Peer-Port ID to described Section Point equipment feedback, and N port/F peer-port field is set to F port.
Alternatively, in said method, described first node equipment receives and after storing the FC attribute information of described Section Point facility registration, also comprises:
Starter is set up and object machine (IT) links between described first node equipment with described Section Point equipment.
Alternatively, in said method, set up the process that IT links between described first node equipment with described Section Point equipment and comprise:
When described first node equipment is starter, when described Section Point equipment is object machine, described first node equipment sends PLOGI request according to Peer-Port ID to Section Point equipment, carries out end-to-end parameter negotiation, sets up IT link.
Alternatively, in said method, set up the process that IT links between described first node equipment with described Section Point equipment and comprise:
When described first node equipment is object machine, when described Section Point equipment is starter, described Section Point equipment is to described first node device request magnetic battle array port id, the port id of this equipment is fed back to described Section Point equipment according to agreement by described first node equipment, described Section Point equipment sends PLOGI request according to the port id of described first node equipment to first node equipment, carry out end-to-end parameter negotiation, set up IT link.
The invention also discloses a kind of node device, comprising:
First module, when N port and the F port function of this device start, receive F port registration (FLOGI) request that opposite equip. in point to point network is initiated, distribute Peer-Port mark (ID), carry the response (ACC) of described Peer-Port ID to described opposite equip. feedback;
Second unit, in described first module after described opposite equip. feedback ACC, receives N port registration (PLOGI) request that described opposite equip. is initiated, completes PLOGI operate with described opposite equip.;
Unit the 3rd, receives optical-fibre channel (FC) attribute information of described opposite equip. registration.
Alternatively, in the said equipment, described first module carries in the ACC of described Peer-Port ID to described opposite equip. feedback, and N port/F peer-port field is set to F port.
Alternatively, the said equipment also comprises:
Unit the 4th, sets up starter with described opposite equip. and object machine (IT) links.
Alternatively, in the said equipment, described Unit the 4th and described opposite equip. are set up IT and are linked and refer to:
When this equipment is starter, when described opposite equip. is object machine, described Unit the 4th sends PLOGI request according to Peer-Port ID to opposite equip., carries out end-to-end parameter negotiation, sets up IT link.
Alternatively, in the said equipment, described Unit the 4th and described opposite equip. are set up IT and are linked and refer to:
When this equipment is object machine, when described opposite equip. is starter, described Unit the 4th, receive the magnetic battle array port id request that described opposite equip. sends, and according to agreement, the port id of this equipment is fed back to described opposite equip., and receive the PLOGI request of described opposite equip. initiation, carry out end-to-end parameter negotiation, set up IT link.
Technical scheme, for small-scale networking, use virtual switch function solves the compatibility issue in point-to-point networking, and reduces the cost increase using and exchange and bring.
Accompanying drawing explanation
Fig. 1 is existing P2P topology schematic diagram;
Fig. 2 is existing fabric topology schematic diagram;
Fig. 3 is existing loop topology schematic diagram;
Fig. 4 is existing P2Plogin flow process;
Fig. 5 is existing fabriclogin flow chart;
Fig. 6 is virtual FC switch function login flow chart in the present embodiment.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly understand, hereafter will be described in further detail technical solution of the present invention by reference to the accompanying drawings.It should be noted that, when not conflicting, the feature in the embodiment of the application and embodiment can combine arbitrarily mutually.
Embodiment 1
Present inventor proposes, one of them node device (can be described as first node equipment) in point to point network can realize the function of NPORT and the basic function of FPORT, and another node device (can be described as Section Point equipment) realizes NPORT function.Like this, when Section Point equipment initiates FLOGI, first node equipment can be responded with the identity of FPORT, namely first node equipment simulating becomes switch, until after between the N_PORT of first node equipment and Section Point equipment, PLOGI completes, the function of F_PORT terminates substantially, also can respond some functions of Section Point equipment N_PORT, as functions such as GNN_FT, GPN_FT.
Based on above-mentioned thought, the present embodiment provides a kind of optical-fibre channel to realize the method for virtual switch function, comprises following operation:
In point to point network, the first node equipment starting N port and F port function receives the FLOGI request of Section Point equipment initiation, first node equipment distributes Peer-Port ID as virtual FC switch, carries the ACC of this Peer-Port ID to Section Point equipment feedback;
First node equipment receives the PLOGI request that Section Point equipment is initiated, and completes PLOGI operate with Section Point equipment;
First node equipment receives and stores the FC attribute information of Section Point facility registration.
Wherein, when first node equipment carries the ACC of this Peer-Port ID to Section Point equipment feedback, NPort/FPort field is wherein set to FPORT.
And after aforesaid operations, also will set up PRLI between first node equipment with Section Point equipment and link.Concrete operations, depending between first node equipment and Section Point equipment, who is starter, who has difference for object machine.If first node equipment is starter, Section Point equipment is object machine, then first node equipment sends PLOGI request according to Peer-Port ID directly to Section Point equipment, carries out end-to-end parameter negotiation, to set up PRLI link.If first node equipment is object machine, Section Point equipment is starter, then Section Point equipment needs first to described first node device request magnetic battle array port id, after the port id of this equipment is fed back to Section Point equipment according to agreement by first node equipment, Section Point equipment just can send PLOGI request according to the port id of first node equipment to first node equipment, carry out end-to-end parameter negotiation, to set up PRLI link.
The implementation procedure of said method is described in detail below in conjunction with accompanying drawing and embody rule.This process describes from first node equipment side, and be considered as local terminal by first node equipment, Section Point equipment is considered as opposite end, this process as shown in Figure 6, comprises following operation:
601, after port UP, wait for that FLOGI is initiated in opposite end;
It should be noted that, local terminal starts the function of FPORT, as virtual switch pusher side, now, initiatively could not send out FLOGI, and opposite end is certain to send out FLOGI request.
Preferably, can arrange a switch at local terminal, give tacit consent to and to hold consultation link setup with N_PORT, if open switch again when there is compatibility issue point-to-point and use this function, when namely opening switch, local terminal starts the function of NPORT and FPORT simultaneously.And during local terminal connection switch, this switch needs to cut out.
602, FLOGI is initiated in opposite end, and local terminal distributes Peer-Port id, and respond ACC, in this ACC, NPort/FPort field is set to FPORT, and carries Peer-Port id;
What oneself company will be thought in such opposite end is switch, and the topology that opposite end is seen is exactly fabric topology, then carries out link setup operation according to the flow process of fabric;
603, PLOGI request is carried out respectively to name server (local terminal is virtual) and fabric controller (local terminal is virtual) in opposite end;
It should be noted that, opposite end to name server and fabric controller carry out respectively PLOGI operation time, due to name server and fabric controller all virtual by local terminal, therefore opposite end be all to local terminal send PLOGI request.
604, local terminal responds ACC respectively;
605, opposite end is to name server registration FC attribute information;
The same with foregoing description, name server is that local terminal is virtual, and therefore, practical operation is that opposite end is to local terminal registration FC attribute information.
And register FC attribute information and comprise WWPN, WWNN, IT attribute, SNN, SPN etc., useful information was just aware of in the FLOGI stage, as long as so complete just passable for the direct re-injection volume of these log-on message local terminals, do not need to preserve, the form that direct re-injection volume completes frame is the same, realize also very simple, also have a benefit not need all agreements all to consider entirely.
606, judge that local terminal is object machine, when opposite end is starter, perform step 607; Otherwise directly perform step 608, local terminal is starter, and opposite end is object machine;
607, opposite end starter to name server (namely local terminal is virtual) request magnetic battle array port id, local terminal according to agreement by information such as the port id of local terminal response to opposite end starter;
608, starter sends out PLOGI request according to the port id of object machine to object machine, carries out end-to-end parameter negotiation, and object machine responds ACC;
609, starter sends out PRLI to object machine, and carry out IT and link link setup, object machine responds ACC.
610, Login has operated.
After Login has operated, be exactly the mutual of data, the realization of each topology is all basically identical after this, therefore repeats no more.
Embodiment 2
The present embodiment provides a kind of node device, comprises as lower unit:
First module, when this device start N port and F port function, receives the FLOGI request that opposite equip. in point to point network is initiated, distributes Peer-Port ID, carry the ACC of described Peer-Port ID to opposite equip. feedback;
Particularly, can arrange a switch in this equipment, can give tacit consent to and hold consultation link setup with N_PORT, if open switch again when there is compatibility issue point-to-point and use this function, when namely opening switch, local terminal starts the function of NPORT and FPORT simultaneously.And during local terminal connection switch, this switch needs to cut out.
Wherein, first module carries in the ACC of described Peer-Port ID to described opposite equip. feedback, and N port/F peer-port field is set to F port.
Also be noted that the opposite equip. startup N port function sending FLOGI request to first module.
Second unit, in first module after described opposite equip. feedback ACC, receives the PLOGI request that opposite equip. is initiated, completes PLOGI operate with opposite equip.;
Unit the 3rd, receives the FC attribute information of opposite equip. registration.
In addition, the said equipment, can also comprise Unit the 4th, this unit and opposite equip. are set up IT and are linked.
Particularly, to set up the process that IT links as follows for Unit the 4th and opposite equip.:
When this equipment is starter, when opposite equip. is object machine, Unit the 4th sends PLOGI request according to Peer-Port ID to opposite equip., carries out end-to-end parameter negotiation, sets up IT link.
When this equipment is object machine, when opposite equip. is starter, Unit the 4th, receive the magnetic battle array port id request that opposite equip. sends, and according to agreement, the port id of this equipment is fed back to opposite equip., and the transmission PLOGI receiving opposite equip. initiation asks, and carries out end-to-end parameter negotiation, set up IT link.
The node device that the present embodiment provides can realize the method for above-described embodiment 1, therefore the detailed operation of its unit see the corresponding content of above-described embodiment 1, can not repeat them here.
The all or part of step that one of ordinary skill in the art will appreciate that in said method is carried out instruction related hardware by program and is completed, and described program can be stored in computer-readable recording medium, as read-only memory, disk or CD etc.Alternatively, all or part of step of above-described embodiment also can use one or more integrated circuit to realize.Correspondingly, each module/unit in above-described embodiment can adopt the form of hardware to realize, and the form of software function module also can be adopted to realize.The application is not restricted to the combination of the hardware and software of any particular form.
The above, be only preferred embodiments of the present invention, be not intended to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. optical-fibre channel realizes a method for virtual switch function, it is characterized in that, comprising:
In point to point network, the first node equipment starting N port and F port function receives F port registration (FLOGI) request of Section Point equipment initiation, described first node equipment distributes Peer-Port mark (ID), carries the response (ACC) of described Peer-Port ID to described Section Point equipment feedback;
Described first node equipment receives N port registration (PLOGI) request that Section Point equipment is initiated, and completes PLOGI operate with described Section Point equipment;
Described first node equipment receives the FC attribute information of described Section Point facility registration.
2. the method for claim 1, is characterized in that, described first node equipment carries in the ACC of described Peer-Port ID to described Section Point equipment feedback, and N port/F peer-port field is set to F port.
3. method as claimed in claim 1 or 2, is characterized in that, described first node equipment receives and after storing the FC attribute information of described Section Point facility registration, also comprises:
Starter is set up and object machine (IT) links between described first node equipment with described Section Point equipment.
4. method as claimed in claim 3, is characterized in that, sets up the process that IT links and comprise between described first node equipment with described Section Point equipment:
When described first node equipment is starter, when described Section Point equipment is object machine, described first node equipment sends PLOGI request according to Peer-Port ID to Section Point equipment, carries out end-to-end parameter negotiation, sets up IT link.
5. method as claimed in claim 3, is characterized in that, sets up the process that IT links and comprise between described first node equipment with described Section Point equipment:
When described first node equipment is object machine, when described Section Point equipment is starter, described Section Point equipment is to described first node device request magnetic battle array port id, the port id of this equipment is fed back to described Section Point equipment according to agreement by described first node equipment, described Section Point equipment sends PLOGI request according to the port id of described first node equipment to first node equipment, carry out end-to-end parameter negotiation, set up IT link.
6. a node device, is characterized in that, comprising:
First module, when N port and the F port function of this device start, receive F port registration (FLOGI) request that opposite equip. in point to point network is initiated, distribute Peer-Port mark (ID), carry the response (ACC) of described Peer-Port ID to described opposite equip. feedback;
Second unit, in described first module after described opposite equip. feedback ACC, receives N port registration (PLOGI) request that described opposite equip. is initiated, completes PLOGI operate with described opposite equip.;
Unit the 3rd, receives optical-fibre channel (FC) attribute information of described opposite equip. registration.
7. equipment as claimed in claim 6, is characterized in that, described first module carries in the ACC of described Peer-Port ID to described opposite equip. feedback, and N port/F peer-port field is set to F port.
8. equipment as claimed in claims 6 or 7, is characterized in that, also comprise:
Unit the 4th, sets up starter with described opposite equip. and object machine (IT) links.
9. equipment as claimed in claim 8, is characterized in that, described Unit the 4th and described opposite equip. are set up IT and linked and refer to:
When this equipment is starter, when described opposite equip. is object machine, described Unit the 4th sends PLOGI request according to Peer-Port ID to opposite equip., carries out end-to-end parameter negotiation, sets up IT link.
10. equipment as claimed in claim 8, is characterized in that, described Unit the 4th and described opposite equip. are set up IT and linked and refer to:
When this equipment is object machine, when described opposite equip. is starter, described Unit the 4th, receive the magnetic battle array port id request that described opposite equip. sends, and according to agreement, the port id of this equipment is fed back to described opposite equip., and receive the PLOGI request of described opposite equip. initiation, carry out end-to-end parameter negotiation, set up IT link.
CN201410422873.1A 2014-08-25 2014-08-25 Method for realizing virtual switch function by fiber channel and node equipment Pending CN105376180A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410422873.1A CN105376180A (en) 2014-08-25 2014-08-25 Method for realizing virtual switch function by fiber channel and node equipment
PCT/CN2015/071337 WO2015131695A1 (en) 2014-08-25 2015-01-22 Method for implementing virtual switch function by means of optical fiber channel, and node device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410422873.1A CN105376180A (en) 2014-08-25 2014-08-25 Method for realizing virtual switch function by fiber channel and node equipment

Publications (1)

Publication Number Publication Date
CN105376180A true CN105376180A (en) 2016-03-02

Family

ID=54054543

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410422873.1A Pending CN105376180A (en) 2014-08-25 2014-08-25 Method for realizing virtual switch function by fiber channel and node equipment

Country Status (2)

Country Link
CN (1) CN105376180A (en)
WO (1) WO2015131695A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113542096B (en) * 2021-06-24 2022-11-18 新华三云计算技术有限公司 Virtual channel negotiation method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100104280A1 (en) * 2008-10-24 2010-04-29 Carlson Scott M Fibre channel framing and signaling optional header for ethernet fabric configuration information
CN102209023A (en) * 2010-03-31 2011-10-05 成都市华为赛门铁克科技有限公司 Fiber channel over Ethernet (FCoE) communication connection establishment method, device, name server and system
CN102474464A (en) * 2009-08-04 2012-05-23 国际商业机器公司 Apparatus, system and method for establishing point-to-point connection in FCOE

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8571052B2 (en) * 2008-10-24 2013-10-29 International Business Machines Corporation Determining the configuration of an ethernet fabric
CN102427410B (en) * 2011-12-02 2014-09-10 北京星网锐捷网络技术有限公司 Method, device and system for processing fiber channel identity, and network equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100104280A1 (en) * 2008-10-24 2010-04-29 Carlson Scott M Fibre channel framing and signaling optional header for ethernet fabric configuration information
CN102474464A (en) * 2009-08-04 2012-05-23 国际商业机器公司 Apparatus, system and method for establishing point-to-point connection in FCOE
CN102209023A (en) * 2010-03-31 2011-10-05 成都市华为赛门铁克科技有限公司 Fiber channel over Ethernet (FCoE) communication connection establishment method, device, name server and system

Also Published As

Publication number Publication date
WO2015131695A1 (en) 2015-09-11

Similar Documents

Publication Publication Date Title
CN103118101B (en) A kind of information sharing method for mobile terminal
KR101624944B1 (en) Method and terminal for establishing communication connection
CN105229939B (en) Method and apparatus for communication between user equipments in a wireless communication system
US20180063879A1 (en) Apparatus and method for interoperation between internet-of-things devices
CN107113609A (en) The subscriber identity module provider apparatus and method that OTA for subscriber identity module container is arranged
EP2849135A1 (en) Communications device utilizing a central discovery mechanism, and respective method
CN101521575B (en) Method, control point, equipment and communication system for collocating accessing authority
CN103812793A (en) Communication system and network relay device
CN104809369B (en) Packet sets method, client, server and the system of equipment access rights
CN107404512A (en) Resource subscription method, resource subscription device and resource subscription Xi System
CN104184663A (en) Communication method and device based on software-defined network and integrated identification network
KR20110137917A (en) Apparatus and method for configuring a private network using a PEN routing table
CN110572808A (en) Bluetooth Mesh network system and establishment method thereof
CN113132828A (en) Configuration method, device, equipment, system and storage medium
CN108156176A (en) Apparatus control method, cloud platform, system, storage medium and equipment
CN102612030B (en) Wireless access collocation method and system, radio reception device, terminal
KR101095091B1 (en) Electronic business card information exchange system and method and terminal applied thereto
CN104869253A (en) Method and system for connecting mobile terminal to intelligent dressing mirror
CN105072212B (en) To code method and to code system
CN101355588B (en) Data transmission method and transmission terminal base on peer-to-peer network
CN105376180A (en) Method for realizing virtual switch function by fiber channel and node equipment
JP5522494B2 (en) Method, remote access server and system for quality of service configuration
CN110505614B (en) A ZigBee Binding Switch Communication Method and Device
CN106973014B (en) Anycast route publishing system and method and electronic equipment
WO2018028499A1 (en) Method and device for configuring ospf area number

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160302