CN102291465B - Load balancing method, device and system - Google Patents

Load balancing method, device and system Download PDF

Info

Publication number
CN102291465B
CN102291465B CN2011102547866A CN201110254786A CN102291465B CN 102291465 B CN102291465 B CN 102291465B CN 2011102547866 A CN2011102547866 A CN 2011102547866A CN 201110254786 A CN201110254786 A CN 201110254786A CN 102291465 B CN102291465 B CN 102291465B
Authority
CN
China
Prior art keywords
fcf
equipment
terminal
fcoe
fcf equipment
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
CN2011102547866A
Other languages
Chinese (zh)
Other versions
CN102291465A (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.)
Beijing Star Net Ruijie Networks Co Ltd
Original Assignee
Beijing Star Net Ruijie Networks 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 Beijing Star Net Ruijie Networks Co Ltd filed Critical Beijing Star Net Ruijie Networks Co Ltd
Priority to CN2011102547866A priority Critical patent/CN102291465B/en
Publication of CN102291465A publication Critical patent/CN102291465A/en
Application granted granted Critical
Publication of CN102291465B publication Critical patent/CN102291465B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a load balancing method, device and system. The method comprises the following steps of: when an equipment finding request message sent by an FCoE (Fiber Channel over Ethernet) terminal is received, acquiring the forwarding priority of each piece of FCF (Fiber Channel Forwarder) equipment corresponding to the FCoE terminal respectively according to FCF information collected from each piece of FCF equipment in the same network; and sending an equipment finding answering message to the FCoE terminal, wherein the equipment finding request message carries the forwarding priority, so that the FCoE terminal can be used for forwarding a message by selecting FCF equipment with the highest forwarding priority according to the forwarding priority of each piece of FCF equipment corresponding to the FCoE terminal. The invention further provides a load balancing method, the FCF equipment, the FCoE terminal and a load balancing system. According to the invention, load balance of the FCF equipment is realized, and excessively high load and flow of the FCF equipment with a high forwarding priority are avoided.

Description

Load-balancing method, device and system
Technical field
The present invention relates to the communication technology, relate in particular to a kind of load-balancing method, device and system.
Background technology
Storage networking (Storage Area Network; Hereinafter to be referred as: SAN) be a kind of quick, special-purpose network that different memory devices is connected to server, the typical architecture schematic diagram that Fig. 1 is SAN network of the prior art.Optical-fibre channel (Fibre Channel; Hereinafter to be referred as: FC), for the support technology of main flow in existing SAN, itself defined a set of open system interconnection (Open System Interconnect that follows; Hereinafter to be referred as: the OSI) protocol stack of model, by the exchanging visit of the FC related protocol standard implementation SAN webserver and memory device.Polymerization strengthens Ethernet (Converged Enhanced Ethernet; Hereinafter to be referred as: CEE) can comprise data center's bridge (Data Center Bridging; Hereinafter to be referred as: DCB) with data center's Ethernet (Data Center Ethernet; Hereinafter to be referred as: DCE).Traditional Ethernet storage transmission is unreliable, and the storage network based on FC requires the reliability of transmission, the proposition of CEE correlation technique, solve traditional ethernet and transmitted insecure problem, thereby, for the integration of storage network and Ethernet provides chance, ether optical-fibre channel (Fibre Channel over Ethernet has been proposed for this reason; Hereinafter to be referred as: FCoE) technology.The FCoE technology has solved the problem of FC Frame at the Ethernet repeating, by newly-increased FCoE protocol type, encapsulates the FC Frame.In the art, will support the web-transporting device of FCoE technology to be called FC transmitter (FC Forwarder; Hereinafter to be referred as: FCF), will support the main process equipment of FCoE technology to be called FCoE node (FCoE Node; Hereinafter to be referred as: ENode).
In the prior art, the data flow of FCoE terminal is forwarded in optical fiber (Fabric) network by FCF, each FCF equipment has different forwarding priorities, in same LAN, exist in the situation of a plurality of FCF equipment, the FCoE terminal can be preferably the high FCF equipment of same forwarding priority as forwarding unit.
Yet prior art can cause load and the flow of the FCF equipment that forwarding priority is high excessive, and other FCF equipment the load imbalance of equipment occurs in idle condition.
Summary of the invention
The invention provides a kind of load-balancing method, device and system, realize the load balancing of FCF equipment, avoid FCF apparatus of load and flow that forwarding priority is high excessive.
The invention provides a kind of load-balancing method, comprising:
When receiving the device discovery request message of Ethernet Fibre Channel oE terminal transmission, according to the FCF information of each optical-fibre channel transmitter FCF equipment in the consolidated network of collecting, obtain respectively the forwarding priority of each FCF equipment corresponding to described FCoE terminal;
Find response message to described FCoE terminal transmitting apparatus, carry described forwarding priority in described device discovery response message, so that described FCoE terminal selects the highest FCF equipment of forwarding priority to carry out message repeating according to each FCF equipment corresponding to the forwarding priority of described FCoE terminal.
The invention provides a kind of load-balancing method, comprising:
Each optical-fibre channel transmitter FCF device broadcasts transmitting apparatus in network is found request message;
Receive the device discovery response message that each FCF equipment sends, carry the forwarding priority of each FCF equipment corresponding to Ethernet Fibre Channel oE terminal in described device discovery response message, described forwarding priority obtains according to the FCF information of each FCF equipment in the consolidated network of collecting for each described FCF equipment;
According to described each FCF equipment, corresponding to the forwarding priority of FCoE terminal, select the highest FCF equipment of forwarding priority to carry out message repeating.
The invention provides a kind of optical-fibre channel transmitter FCF equipment, comprising:
Acquisition module, for when receiving the device discovery request message of Ethernet Fibre Channel oE terminal transmission, according to the FCF information of each optical-fibre channel transmitter FCF equipment in the consolidated network of collecting, obtain respectively the forwarding priority of FCF equipment corresponding to described FCoE terminal;
The first sending module, for to described FCoE terminal transmitting apparatus, finding response message, carry described forwarding priority in described device discovery response message, so that described FCoE terminal selects the highest FCF equipment of forwarding priority to carry out message repeating according to each FCF equipment corresponding to the forwarding priority of described FCoE terminal.
The invention provides a kind of Ethernet Fibre Channel oE terminal, comprising:
The second sending module, find request message for each optical-fibre channel transmitter FCF device broadcasts transmitting apparatus to network;
Receiver module, the device discovery response message sent for receiving each FCF equipment, carry the forwarding priority of each FCF equipment corresponding to Ethernet Fibre Channel oE terminal in described device discovery response message, described forwarding priority obtains according to the FCF information of each FCF equipment in the consolidated network of collecting for each described FCF equipment;
Select module, for according to described each FCF equipment, corresponding to the forwarding priority of FCoE terminal, selecting the highest FCF equipment of forwarding priority to carry out message repeating.
The invention provides a kind of SiteServer LBS, comprise at least one above-mentioned optical-fibre channel transmitter FCF equipment and at least one above-mentioned Ethernet Fibre Channel oE terminal.
Load-balancing method of the present invention, device and system, when FCF equipment receives the device discovery request message of FCoE terminal transmission, FCF information according to each FCF equipment of collecting, obtain respectively the forwarding priority of each FCF equipment corresponding to the FCoE terminal, each FCF equipment all sends to the FCoE terminal by self corresponding to the forwarding priority of FCoE terminal, and the FCoE terminal selects the FCF equipment that forwarding priority is the highest to carry out message repeating according to forwarding priority; The present embodiment has been realized the load balancing of FCF equipment, has avoided FCF apparatus of load and flow that forwarding priority is high excessive.
The accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, below will the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The typical architecture schematic diagram that Fig. 1 is SAN network of the prior art;
The flow chart that Fig. 2 is load-balancing method embodiment mono-of the present invention;
The flow chart that Fig. 3 is load-balancing method embodiment bis-of the present invention;
The flow chart that Fig. 4 is load-balancing method embodiment tri-of the present invention;
Fig. 5 is the network architecture schematic diagram in load-balancing method embodiment tri-of the present invention;
The structural representation that Fig. 6 is optical-fibre channel transmitter FCF apparatus embodiments one of the present invention;
The structural representation that Fig. 7 is optical-fibre channel transmitter FCF apparatus embodiments two of the present invention;
The structural representation that Fig. 8 is Ethernet Fibre Channel oE terminal embodiment of the present invention.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making under the creative work prerequisite the every other embodiment obtained, belong to the scope of protection of the invention.
The flow chart that Fig. 2 is load-balancing method embodiment mono-of the present invention, as shown in Figure 2, the present embodiment provides a kind of load-balancing method, the present embodiment is specifically described technical scheme of the present invention from FCF equipment one side, and the load-balancing method that the present embodiment provides can specifically comprise the steps:
Step 201, when receiving the device discovery request message of FCoE terminal transmission, according to the FCF information of each FCF equipment in the consolidated network of collecting, obtain respectively the forwarding priority of each FCF equipment corresponding to the FCoE terminal.
In the present embodiment, when FCoE terminal access Fabric network, need to E-Packet by FCF equipment, the present embodiment is for to be selected the FCF equipment of FCoE terminal landing, adjust the FCoE terminal on each FCF equipment in consolidated network, to realize load balancing.This step is when FCF equipment receives the device discovery request message of FCoE terminal transmission, and this FCF equipment, according to the FCF information of each FCF equipment in the consolidated network of collecting, obtains respectively the forwarding priority of each FCF equipment corresponding to the FCoE terminal.Wherein, the FCoE terminal is found request message with the form of broadcast to each FCF equipment transmitting apparatus in network, and the source MAC of device discovery message i.e. the MAC Address of this FCoE terminal.FCF information herein can comprise node name sign, current the supported FCoE terminal of FCF equipment, the i.e. current forwarding person as which FCoE terminal of this FCF equipment of FCF equipment.Network herein is specially local area network (LAN) (Local Area Network; Hereinafter to be referred as: LAN), the FCF equipment in same LAN is all carried out above-mentioned steps, and the FCF information of each FCF equipment of collecting according to self calculates respectively the forwarding priority of each FCF equipment corresponding to this FCoE terminal.
Step 202, find response message to FCoE terminal transmitting apparatus, carry described forwarding priority in described device discovery response message, so that described FCoE terminal selects the highest FCF equipment of forwarding priority to carry out message repeating according to each FCF equipment corresponding to the forwarding priority of described FCoE terminal.
FCF equipment returns to the FCoE terminal by the forwarding priority got by the device discovery response message, be that FCF equipment is found response message to FCoE terminal transmitting apparatus, carry the forwarding priority of this FCF equipment corresponding to this FCoE terminal in this device discovery response message.Terminal is after knowing the forwarding priority that each FCF equipment is corresponding, terminal can select the highest FCF equipment of forwarding priority to carry out follow-up message repeating according to the height of priority, and this FCoE terminal logs on FCF equipment as the load of the FCF equipment of selecting.In the present embodiment, can select the FCF equipment the highest corresponding to the forwarding priority of this FCoE terminal to carry out follow-up message repeating.FCF information because each FCF equipment is all collected other FCF equipment, can get the forwarding priority of each FCF equipment corresponding to the FCoE terminal according to FCF information, now selects to log in the FCF equipment that current forwarding priority is high again and carry out message repeating.The above-mentioned forwarding priority got is the priority of FCF equipment corresponding to the FCoE terminal, and get according to the FCF information of FCF equipment, considered the current loading condition of each FCF equipment, this forwarding priority is the priority that is applicable to present case, this priority is not the fixed priority of each FCF equipment of the prior art, by this priority, select FCF equipment as forwarding person, make a plurality of FCoE terminals in network can be distributed on each FCF equipment, can realize the load balancing to each FCF equipment in same LAN.
Further, above-mentioned steps 201 can specifically comprise the steps: when receiving the device discovery request message of Ethernet Fibre Channel oE terminal transmission, the ordinal relation of FCF equipment number of current supported FCoE terminal according to each FCF equipment in the consolidated network of collecting, obtain respectively the forwarding priority of each FCF equipment corresponding to the FCoE terminal; When the number of current the supported FCoE terminal of a plurality of FCF equipment equates, FCF equipment, according to the ordinal relation of the size of the node name sign of described a plurality of FCF equipment, obtains respectively the forwarding priority of described a plurality of FCF equipment corresponding to the FCoE terminal.
Further, the load-balancing method that the present embodiment provides can also comprise the steps: the FCF information of each FCF equipment in FCF equipment collection consolidated network, and FCF information is that each FCF equipment is periodically issued respectively by field bus protocol FIP message in network.
Further, when the load-balancing method that the present embodiment provides can also comprise the steps: the FCF information of newly-increased FCF equipment issue in receiving network, the FCF information in the consolidated network that FCF equipment is collected according to the FCF information updating of described newly-increased FCF equipment.
Further, if the load-balancing method that the present embodiment provides can also comprise the steps: not receive the FCF information of a FCF equipment issue in default release cycle, this FCF equipment can be called to the FCF equipment that do not respond herein, distinguish with other FCF equipment with receiving its information, in the FCF information of FCF equipment from the consolidated network of collecting, delete the FCF information of this FCF equipment do not responded.
The present embodiment provides a kind of load-balancing method, when FCF equipment receives the device discovery request message of FCoE terminal transmission, get respectively the forwarding priority of each FCF equipment corresponding to the FCoE terminal according to the FCF information of each FCF equipment of collecting, each FCF equipment all sends to the FCoE terminal by self corresponding to the forwarding priority of FCoE terminal, and the FCoE terminal selects the FCF equipment that forwarding priority is the highest to carry out message repeating according to forwarding priority; The present embodiment has been realized the load balancing of FCF equipment, has avoided FCF apparatus of load and flow that forwarding priority is high excessive.
The flow chart that Fig. 3 is load-balancing method embodiment bis-of the present invention, as shown in Figure 3, the present embodiment provides a kind of load-balancing method, the present embodiment is specifically described technical scheme of the present invention from FCoE terminal one side, and the load-balancing method that the present embodiment provides can specifically comprise the steps:
Step 301, each FCF device broadcasts transmitting apparatus in network is found request message.
When FCoE terminal access Fabric network, the FCoE terminal is found request message to each FCF device broadcasts transmitting apparatus in network.
Step 302, receive the device discovery response message that each FCF equipment sends, and carries the forwarding priority of each FCF equipment corresponding to the FCoE terminal in described device discovery response message.
This step is that the FCoE terminal receives the device discovery response message that each FCF equipment sends, and carries the forwarding priority of each FCF equipment corresponding to this FCoE terminal in this device discovery response message.Wherein, this forwarding priority obtains according to the FCF information of each FCF equipment in the consolidated network of collecting for each FCF equipment.Be the FCF information of each FCF equipment of collecting according to self respectively of the FCF equipment in same LAN, calculate respectively the forwarding priority of each FCF equipment corresponding to this FCoE terminal.
Step 303, select the highest FCF equipment of forwarding priority to carry out message repeating according to each FCF equipment corresponding to the forwarding priority of FCoE terminal.
The FCoE terminal is after getting the forwarding priority that each FCF equipment is corresponding, and the FCF equipment the highest according to each forwarding priority selection forwarding priority is as forwarding person, and the message of the follow-up transmission of this FCoE terminal is all forwarded by this FCF equipment.
Further, if the load-balancing method that the present embodiment provides can also comprise the steps: not receive within the default time interval device discovery response message that a FCF equipment sends, the FCoE terminal is found request message to each FCF device broadcasts transmitting apparatus in network again.
The present embodiment provides a kind of load-balancing method, find request message by each FCF device broadcasts transmitting apparatus in network, and obtain the forwarding priority of each FCF equipment corresponding to the FCoE terminal the device discovery response message returned from each FCF equipment, this forwarding priority obtains according to the FCF information of each FCF equipment in the consolidated network of collecting for each FCF equipment, then corresponding to the forwarding priority of FCoE terminal, selects the highest FCF equipment of forwarding priority to carry out message repeating according to each FCF equipment; The present embodiment has been realized the load balancing of FCF equipment, has avoided FCF apparatus of load and flow that forwarding priority is high excessive.
The flow chart that Fig. 4 is load-balancing method embodiment tri-of the present invention, as shown in Figure 4, the present embodiment provides a kind of load-balancing method, can specifically comprise the steps:
Step 401, FCF equipment is by field bus protocol (Fieldbus Internet Protocol; Hereinafter to be referred as: FIP) the business men customization type field in the message is periodically issued the FCF information of self in network.
Because the interface of the F pattern of FCF equipment can't be communicated by letter mutually, by existing standard implementation, can't get the FCF information of all FCF equipment in same shared network.In order to get the FCF information of all FCF equipment in same shared network, be specially all FCF information in same LAN herein, in the present embodiment, each FCF equipment, by the business men customization type field in the FIP message, is periodically issued the FCF information of self respectively in network.Each FCF equipment is respectively to other FCF equipment periodic issues FIP message in same LAN, carry the FCF information of this FCF equipment self in the business men customization type field of this FIP message, thereby make other FCF equipment in same LAN can collect by this message the whole FCF information that exist in same LAN.
Fig. 5 is the network architecture schematic diagram in load-balancing method embodiment tri-of the present invention, as shown in Figure 5, supposes in network to be provided with two FCoE terminals, and H1 and H2, exist two FCF equipment, i.e. FCF A and FCF B in same LAN.This step is the FCF information that FCF A and FCF B periodically issue self, and FCF A and FCF B all know in same LAN and have FCF A, FCF B like this.
Step 402, the FCoE terminal is found request message to each FCF device broadcasts transmitting apparatus in consolidated network.
Still take Fig. 5 as example, and FCoE terminal H1 or H2 find request message with the form of broadcast to the FCF equipment transmitting apparatus in same LAN, and FCF A and FCF B all can receive the device discovery request message of H1 or H2 transmission.
Step 403, FCF equipment, according to the FCF information of each FCF equipment in the consolidated network of collecting, obtains respectively the forwarding priority of each FCF equipment corresponding to described FCoE terminal.
After FCF equipment receives the device discovery request message of FCoE terminal transmission, according to the FCF information of each FCF equipment in the same LAN collected, obtain respectively the forwarding priority of each FCF equipment corresponding to this FCoE terminal.Particularly, this step can be specially: the ordinal relation of FCF equipment number of current supported FCoE terminal according to each FCF equipment in the consolidated network of collecting, obtain respectively the forwarding priority of each FCF equipment corresponding to the FCoE terminal; When the number of current the supported FCoE terminal of a plurality of FCF equipment equates, FCF equipment, according to the ordinal relation of the size of the node name sign of described a plurality of FCF equipment, obtains respectively the forwarding priority of a plurality of FCF equipment corresponding to the FCoE terminal.In the present embodiment, the number of the FCoE terminal that FCF equipment is current supported is fewer, and this FCF equipment is higher corresponding to the forwarding priority of FCoE terminal.When the number that has current the supported FCoE terminal of a plurality of FCF equipment equates, if only using the number of the current FCoE terminal of being supported of FCF equipment as the standard of weighing the forwarding priority height, now occur that the forwarding priority of a plurality of FCF equipment is identical.Therefore, in this case, be used as weighing the forwarding priority standard just of FCF equipment in the present embodiment with the node name sign of FCF equipment; Even the node name of FCF equipment in a plurality of FCF equipment sign is less, and this FCF equipment is higher at the forwarding priority of these a plurality of FCF equipment, and the node name sign of FCF equipment herein can be the AC II code value of the node name of FCF equipment.
Still take Fig. 5 as example, and after FCF A receives the device discovery request message of H1 transmission, the FCF information according in the same LAN collected, calculate the forwarding priority of FCF A for H1, and correspondingly, FCF B also calculates the forwarding priority of FCF B for H1.Particularly, when calculating forwarding priority, the forwarding priority of the FCF equipment that the number of current supported FCoE terminal is minimum is the highest; While existing the number of the FCoE terminal that a plurality of FCF equipment supports minimum if current, using the node name sign of FCF equipment as criterion, node name in a plurality of FCF equipment is identified to the minimum FCF equipment FCF equipment the highest as forwarding priority.For example, the number of supposing the FCoE terminal that FCF A is current supported is 0, and the number of current the supported FCoE terminal of FCF B is 0, the FCF A now obtained and FCF B equate with respect to the forwarding priority of H1, continue to identify to calculate the forwarding priority of FCF equipment for H1 according to the node name of FCF A and FCF B.Being specially the forwarding priority that node name identifies minimum FCF equipment herein is set to the highest, node name sign can be the AC II code value of the node name of FCF equipment, as the AC II code value of " A " is less than the AC II code value of " B ", therefore, calculate the forwarding priority of the forwarding priority of FCF A higher than FCF B.Same FCF B also needs the FCF information according to FCFA and FCF B, generates FCF B lower for the forwarding priority of H1.
After FCF A receives the device discovery request message of H2 transmission, according to the FCF information of FCF A and FCF B, calculate the forwarding priority of each FCF equipment for H2.For example, the number of the FCoE terminal that FCF A is current supported is 1, and the number of current the supported FCoE terminal of FCF B is 0, according to the size order relation of the two, obtain FCF A corresponding to the forwarding priority of H2 lower than FCF B the forwarding priority corresponding to H2.Similarly, FCF B is also higher for the forwarding priority of H2 according to the FCF Information generation FCF B of FCF A and FCF B.
Step 404, FCF equipment is found response message to FCoE terminal transmitting apparatus, carries described forwarding priority in the device discovery response message.
FCF equipment, after calculating separately the forwarding priority corresponding to the FCoE terminal, is found response message to FCoE terminal transmitting apparatus, in the device discovery response message, carries forwarding priority.
Step 405, the FCoE terminal selects the highest FCF equipment of forwarding priority to carry out message repeating according to each FCF equipment corresponding to the forwarding priority of FCoE terminal.
The FCoE terminal is after getting the forwarding priority that each FCF equipment is corresponding, and the FCF equipment the highest according to each forwarding priority selection forwarding priority is as forwarding person, and the message of the follow-up transmission of this FCoE terminal is all forwarded by this FCF equipment.
Still take Fig. 5 as example, and FCF A obtains the forwarding priority of FCF A corresponding to H1 according to the FCF information of FCF A and FCF B, and FCF A is just to the higher device discovery response message of H1 self forwarding priority of announcement.FCF B obtains the forwarding priority of FCF B corresponding to H1 according to the FCF information based on FCF A and FCF B, and FCF B is just to the lower device discovery response message of H1 self forwarding priority of announcement.Like this, H1 just receives two device discovery response messages, and wherein the forwarding priority of FCF A is higher than the forwarding priority of FCF B, so H1 will be logged in to FCF A, the message that the follow-up H1 of mailing to or H1 send just all can be with being forwarded by FCF A.
FCF A obtains the forwarding priority of FCF A corresponding to H2 to the FCF information of MAC Address based on FCF A and FCF B of H2, and FCF A is just to the lower device discovery response message of H2 self forwarding priority of announcement.FCF B obtains the forwarding priority of FCF B corresponding to H2 according to the FCF information of FCF A and FCF B, and FCF B is just to the higher device discovery response message of H2 self forwarding priority of announcement.H2 just receives two device discovery response messages like this, and wherein the forwarding priority of FCF A is lower than the forwarding priority of FCFB, so H2 will be logged in to FCF B, the message that the follow-up H2 of mailing to or H2 send just all can be with being forwarded by FCF B.
In the present embodiment, FCF information to all FCF equipment of MAC Address based in same LAN of different FCoE terminals generates the forwarding priority, can guarantee that all FCoE terminals are logged in to different FCF equipment in a kind of average mode, can adopt various modes on specific implementation, simple act herein realizes use-case.When FCF equipment is received the device discovery request message of new FCoE terminal transmission, each FCF equipment all moves identical algorithm, obtain the current support of all FCF equipment and allow the forwarding person as which FCoE terminal, from wherein electing the minimum FCF equipment of support terminal number as forwarding person.If exist the minimum FCF equipment of the number of terminals of a plurality of supports as forwarding person, choose a FCF equipment of name identification minimum as forwarding person.Take Fig. 5 as example, when FCF A receives the device discovery request message of H1, FCF A know FCF A and FCF B current all not as the forwarding person of terminal, so FCF A just selects FCF A that title the is less forwarding person as H1 from FCF A and FCF B; Similarly, when FCF B receives the device discovery request message of H1, FCFB know FCF A and FCF B current all not as the forwarding person of terminal, so FCF B just selects FCF A that title the is less forwarding person as H1 from FCF A and FCF B.When FCF A receives the device discovery request message of H2, FCF A knows that FCF A is as the forwarding person of H1, and FCF B is current also not as the forwarding person of terminal, so FCF A just selects the forwarding person of FCF B as H2 from FCF A and FCF B; Similarly, when FCF B receives the device discovery request message of H2, FCF B knows that FCF A is as the forwarding person of H1, and FCF B is current also not as the forwarding person of terminal, so FCF B just selects the forwarding person of FCF B as H2 from FCF A and FCF B.
Further, in the present embodiment, while in shared network, increasing a FCF equipment newly, should also by FIP message periodicity, to other FCF equipment in network, issue the FCF information of self by newly-increased FCF equipment, now in network, original FCF equipment can upgrade self FCF information, the FCF information in the consolidated network of collecting according to the FCF information updating FCF equipment self of newly-increased FCF equipment.Now, for the FCoE terminal logged in, still keep existing forwarding state, to prevent the phenomenon that stops.
When removing a FCF equipment in shared network, other FCF equipment in this shared network need to remove the overtime FCF information of upgrading the shared network of self of FCF facility information because of this.For other FCF equipment in consolidated network, if do not receive the FCF information of a FCF equipment issue in default release cycle, show that this FCF equipment is removed, delete the FCF information of this FCF equipment in the FCF information the consolidated network that other FCF equipment are collected from self.For the FCoE terminal, if do not receive the device discovery response message that any one FCF equipment sends within the default time interval, again to each FCF device broadcasts transmitting apparatus in network, find request message.
The present embodiment provides a kind of load-balancing method, when FCF equipment receives the device discovery request message of FCoE terminal transmission, FCF information according to each FCF equipment of collecting, obtain respectively the forwarding priority of each FCF equipment corresponding to the FCoE terminal, each FCF equipment all sends to the FCoE terminal by self corresponding to the forwarding priority of FCoE terminal, and the FCoE terminal selects the FCF equipment that forwarding priority is the highest to carry out message repeating according to forwarding priority; The present embodiment has been realized the load balancing of FCF equipment, has avoided FCF apparatus of load and flow that forwarding priority is high excessive.And the present embodiment, without FCoE terminal and FCF equipment are carried out to manual configuration, just can dynamically carry out load balancing by the protocol interaction based on basic.
One of ordinary skill in the art will appreciate that: realize that the hardware that all or part of step of said method embodiment can be relevant by program command completes, aforesaid program can be stored in a computer read/write memory medium, this program, when carrying out, is carried out the step that comprises said method embodiment; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CDs.
The structural representation that Fig. 6 is optical-fibre channel transmitter FCF apparatus embodiments one of the present invention, as shown in Figure 6, the present embodiment provides a kind of optical-fibre channel transmitter FCF equipment, can specifically carry out each step in said method embodiment mono-, repeats no more herein.The FCF equipment that the present embodiment provides can specifically comprise acquisition module 601 and the first sending module 602.Wherein, acquisition module 601 is for when receiving the device discovery request message of Ethernet Fibre Channel oE terminal transmission, according to the FCF information of each optical-fibre channel transmitter FCF equipment in the consolidated network of collecting, obtain respectively the forwarding priority of each FCF equipment corresponding to described FCoE terminal.The first sending module 602 is for finding response message to described FCoE terminal transmitting apparatus, carry described forwarding priority in described device discovery response message, so that described FCoE terminal selects the highest FCF equipment of forwarding priority to carry out message repeating according to each FCF equipment corresponding to the forwarding priority of described FCoE terminal.
The structural representation that Fig. 7 is optical-fibre channel transmitter FCF apparatus embodiments two of the present invention, as shown in Figure 7, the present embodiment provides a kind of optical-fibre channel transmitter FCF equipment, can specifically carry out each step in said method embodiment tri-, repeats no more herein.The FCF equipment that the present embodiment provides is on the basis shown in above-mentioned Fig. 6, and acquisition module 601 can specifically comprise the first acquiring unit 611 and second acquisition unit 621.Wherein, the ordinal relation of the first acquiring unit 611 number of current supported FCoE terminal for each FCF equipment of consolidated network according to collecting, obtain respectively the forwarding priority of each FCF equipment corresponding to the FCoE terminal.When second acquisition unit 621 equates for the number when current the supported FCoE terminal of a plurality of FCF equipment, according to the ordinal relation of the size of the node name of described a plurality of FCF equipment sign, obtain respectively the forwarding priority of described a plurality of FCF equipment corresponding to the FCoE terminal.
Further, the FCF equipment that the present embodiment provides can also comprise collection module 701, collection module 701 is for collecting the FCF information of each FCF equipment of consolidated network, and described FCF information is that each FCF equipment is periodically issued respectively by field bus protocol FIP message in network.
Further, the FCF equipment that this enforcement provides can also comprise update module 702, update module 702 is for when receiving the FCF information of the newly-increased FCF equipment issue of network, the FCF information in the consolidated network of collecting according to the FCF information updating of described newly-increased FCF equipment.
Further, the FCF equipment that this enforcement provides can also comprise removing module 703, if removing module 703 for not receiving the FCF information of a FCF equipment issue, the FCF information of in the FCF information from the consolidated network of collecting, deleting FCF equipment in default release cycle.
The present embodiment provides a kind of FCF equipment, when receiving the device discovery request message of FCoE terminal transmission, FCF information according to each FCF equipment of collecting, obtain respectively the forwarding priority of each FCF equipment corresponding to the FCoE terminal, each FCF equipment sends to the FCoE terminal by self corresponding to the forwarding priority of FCoE terminal, and the FCoE terminal selects the FCF equipment that forwarding priority is the highest to carry out message repeating according to forwarding priority; The present embodiment has been realized the load balancing of FCF equipment, has avoided FCF apparatus of load and flow that forwarding priority is high excessive.
The structural representation that Fig. 8 is Ethernet Fibre Channel oE terminal embodiment of the present invention, as shown in Figure 8, the present embodiment provides a kind of FCoE terminal, can specifically carry out each step in said method embodiment bis-or embodiment tri-, repeats no more herein.The FCoE terminal that the present embodiment provides can specifically comprise the second sending module 801, receiver module 802 and select module 803.Wherein, the second sending module 801 is found request message for each optical-fibre channel transmitter FCF device broadcasts transmitting apparatus to network.The device discovery response message that receiver module 802 sends for receiving each FCF equipment, carry the forwarding priority of each FCF equipment corresponding to Ethernet Fibre Channel oE terminal in described device discovery response message, described forwarding priority obtains according to the FCF information of each FCF equipment in the consolidated network of collecting for each described FCF equipment.Select module 803 for according to described each FCF equipment, corresponding to the forwarding priority of FCoE terminal, selecting the highest FCF equipment of forwarding priority to carry out message repeating.
Particularly, if the device discovery response message that the second sending module 801 in the present embodiment can also send for do not receive FCF equipment within the default time interval is found request message to each FCF device broadcasts transmitting apparatus in network again.
The present embodiment provides a kind of FCoE terminal, find request message by each FCF device broadcasts transmitting apparatus in network, and obtain the forwarding priority of each FCF equipment corresponding to the FCoE terminal the device discovery response message returned from each FCF equipment, this forwarding priority obtains according to the FCF information of each FCF equipment in the consolidated network of collecting for each FCF equipment, then corresponding to the forwarding priority of FCoE terminal, selects the highest FCF equipment of forwarding priority to carry out message repeating according to each FCF equipment; The present embodiment has been realized the load balancing of FCF equipment, has avoided FCF apparatus of load and flow that forwarding priority is high excessive.
The present embodiment also provides a kind of SiteServer LBS, can specifically comprise the FCoE terminal shown in FCF equipment shown at least one above-mentioned Fig. 6 or Fig. 7 and at least one Fig. 8.
Finally it should be noted that: above embodiment only, in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment, the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: its technical scheme that still can put down in writing aforementioned each embodiment is modified, or part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (13)

1. a load-balancing method, is characterized in that, comprising:
When receiving the device discovery request message of Ethernet Fibre Channel oE terminal transmission, according to the FCF information of each optical-fibre channel transmitter FCF equipment in the consolidated network of collecting, obtain respectively the forwarding priority of each FCF equipment corresponding to described FCoE terminal;
Find response message to described FCoE terminal transmitting apparatus, carry described forwarding priority in described device discovery response message, so that described FCoE terminal selects the highest FCF equipment of forwarding priority to carry out message repeating according to each FCF equipment corresponding to the forwarding priority of described FCoE terminal;
Wherein, the FCF information of each optical-fibre channel transmitter FCF equipment in the described consolidated network according to collecting, obtain respectively each FCF equipment and comprise corresponding to the forwarding priority of described FCoE terminal:
According to each FCF equipment in the consolidated network of collecting, the ordinal relation of the number of current supported FCoE terminal, obtain respectively the forwarding priority of each FCF equipment corresponding to the FCoE terminal;
When the number of current the supported FCoE terminal of a plurality of FCF equipment equates, according to the ordinal relation of the size of the node name sign of described a plurality of FCF equipment, obtain respectively the forwarding priority of described a plurality of FCF equipment corresponding to the FCoE terminal.
2. method according to claim 1, is characterized in that, also comprises:
Collect the FCF information of each FCF equipment in consolidated network, described FCF information is that each FCF equipment is periodically issued respectively by field bus protocol FIP message in network.
3. according to the method described in claim 1 or 2, it is characterized in that, also comprise:
While increasing the FCF information of FCF equipment issue newly in receiving network, the FCF information in the consolidated network of collecting according to the FCF information updating of described newly-increased FCF equipment.
4. according to the method described in claim 1 or 2, it is characterized in that, also comprise:
If do not receive the FCF information of a FCF equipment issue in default release cycle, the FCF information of in the FCF information from the consolidated network of collecting, deleting described FCF equipment.
5. a load-balancing method, is characterized in that, comprising:
Each optical-fibre channel transmitter FCF device broadcasts transmitting apparatus in network is found request message;
Receive the device discovery response message that each FCF equipment sends, carry the forwarding priority of each FCF equipment corresponding to Ethernet Fibre Channel oE terminal in described device discovery response message, described forwarding priority is that each described FCF equipment obtains according to the ordinal relation of the number of current the supported FCoE terminal of each FCF equipment in the consolidated network of collecting; Perhaps,
When the number of current the supported FCoE terminal of a plurality of FCF equipment equates, according to the ordinal relation of the size of the node name sign of described a plurality of FCF equipment, obtain;
According to described each FCF equipment, corresponding to the forwarding priority of FCoE terminal, select the highest FCF equipment of forwarding priority to carry out message repeating.
6. method according to claim 5, is characterized in that, also comprises:
If do not receive the device discovery response message that FCF equipment sends within the default time interval, again to each FCF device broadcasts transmitting apparatus in network, find request message.
7. an optical-fibre channel transmitter FCF equipment, is characterized in that, comprising:
Acquisition module, for when receiving the device discovery request message of Ethernet Fibre Channel oE terminal transmission, according to the FCF information of each optical-fibre channel transmitter FCF equipment in the consolidated network of collecting, obtain respectively the forwarding priority of each FCF equipment corresponding to described FCoE terminal;
The first sending module, for to described FCoE terminal transmitting apparatus, finding response message, carry described forwarding priority in described device discovery response message, so that described FCoE terminal selects the highest FCF equipment of forwarding priority to carry out message repeating according to each FCF equipment corresponding to the forwarding priority of described FCoE terminal;
Wherein, described acquisition module comprises:
The first acquiring unit, for each FCF equipment of consolidated network according to collecting, the ordinal relation of the number of current supported FCoE terminal, obtain respectively the forwarding priority of each FCF equipment corresponding to the FCoE terminal;
Second acquisition unit, while equating for the number when current the supported FCoE terminal of a plurality of FCF equipment, according to the ordinal relation of the size of the node name of described a plurality of FCF equipment sign, obtain respectively the forwarding priority of described a plurality of FCF equipment corresponding to the FCoE terminal.
8. equipment according to claim 7, is characterized in that, also comprises:
Collection module, for collecting the FCF information of each FCF equipment of consolidated network, described FCF information is that each FCF equipment is periodically issued respectively by field bus protocol FIP message in network.
9. according to the described equipment of claim 7 or 8, it is characterized in that, also comprise:
Update module, for when receiving the FCF information of the newly-increased FCF equipment issue of network, the FCF information in the consolidated network of collecting according to the FCF information updating of described newly-increased FCF equipment.
10. according to the described equipment of claim 7 or 8, it is characterized in that, also comprise:
Removing module, if for not receiving the FCF information of a FCF equipment issue, the FCF information of in the FCF information from the consolidated network of collecting, deleting described FCF equipment in default release cycle.
11. an Ethernet Fibre Channel oE terminal, is characterized in that, comprising:
The second sending module, find request message for each optical-fibre channel transmitter FCF device broadcasts transmitting apparatus to network;
Receiver module, the device discovery response message sent for receiving each FCF equipment, carry the forwarding priority of each FCF equipment corresponding to Ethernet Fibre Channel oE terminal in described device discovery response message, described forwarding priority is that each described FCF equipment obtains according to the ordinal relation of the number of current the supported FCoE terminal of each FCF equipment in the consolidated network of collecting; Perhaps,
When the number of current the supported FCoE terminal of a plurality of FCF equipment equates, according to the ordinal relation of the size of the node name sign of described a plurality of FCF equipment, obtain;
Select module, for according to described each FCF equipment, corresponding to the forwarding priority of FCoE terminal, selecting the highest FCF equipment of forwarding priority to carry out message repeating.
12. terminal according to claim 11, it is characterized in that, if the device discovery response message that described the second sending module also sends for do not receive FCF equipment within the default time interval, find request message to each FCF device broadcasts transmitting apparatus in network again.
13. a SiteServer LBS, is characterized in that, comprises the described optical-fibre channel transmitter of any one FCF equipment and the described Ethernet Fibre Channel of at least one claim 11 or 12 oE terminal at least one claim 7-10.
CN2011102547866A 2011-08-31 2011-08-31 Load balancing method, device and system Expired - Fee Related CN102291465B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011102547866A CN102291465B (en) 2011-08-31 2011-08-31 Load balancing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011102547866A CN102291465B (en) 2011-08-31 2011-08-31 Load balancing method, device and system

Publications (2)

Publication Number Publication Date
CN102291465A CN102291465A (en) 2011-12-21
CN102291465B true CN102291465B (en) 2013-12-25

Family

ID=45337565

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011102547866A Expired - Fee Related CN102291465B (en) 2011-08-31 2011-08-31 Load balancing method, device and system

Country Status (1)

Country Link
CN (1) CN102291465B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103379031B (en) * 2012-04-12 2017-04-12 华为技术有限公司 Equipment connection method, system and apparatus
WO2013162549A1 (en) 2012-04-25 2013-10-31 Hewlett-Packard Development Company, L.P. Inter domain link for fibre channel
CN104125123A (en) * 2013-04-28 2014-10-29 深圳市同洲电子股份有限公司 Virtual device discovering method and system
CN104780063B (en) * 2015-03-26 2018-11-27 新华三技术有限公司 node device login method and device
CN104821847B (en) * 2015-04-29 2018-02-09 新华三技术有限公司 Ethernet optical-fibre channel endpoint device is aided in log in the method and device of transponder
US10374986B2 (en) * 2016-08-23 2019-08-06 Satori Worldwide, Llc Scalable, real-time messaging system
CN109246024B (en) * 2018-09-29 2022-06-10 新华三技术有限公司 Method, device, terminal equipment and storage medium for load sharing in networking
CN109584105B (en) * 2018-11-12 2023-10-17 平安科技(深圳)有限公司 Service response method and system
CN109547361B (en) * 2018-11-16 2023-03-24 上海博达数据通信有限公司 Message processing method and system for FCF (fiber channel F) equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1816203A (en) * 2005-02-01 2006-08-09 华为技术有限公司 Method for equalizing hometown agent load in mobile network
CN101610593A (en) * 2009-06-26 2009-12-23 杭州华三通信技术有限公司 The method of access point, access controller and access point to select access controller
CN102131235A (en) * 2010-01-15 2011-07-20 西门子公司 Load balancing method in radio communication system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1816203A (en) * 2005-02-01 2006-08-09 华为技术有限公司 Method for equalizing hometown agent load in mobile network
CN101610593A (en) * 2009-06-26 2009-12-23 杭州华三通信技术有限公司 The method of access point, access controller and access point to select access controller
CN102131235A (en) * 2010-01-15 2011-07-20 西门子公司 Load balancing method in radio communication system

Also Published As

Publication number Publication date
CN102291465A (en) 2011-12-21

Similar Documents

Publication Publication Date Title
CN102291465B (en) Load balancing method, device and system
CN102209023B (en) Fiber channel over Ethernet (FCoE) communication connection establishment method, device, name server and system
US9629112B2 (en) Masterless slot allocation
CN102025630A (en) Load balancing method and load balancing system
CN103312605A (en) Gateway device identity setting method and management gateway device
CN103297560A (en) Data flow classification method and data flow classification server
CN102195851A (en) Load sharing method, system and access server
CN103095605A (en) Data transmission method and system capable of fusing router in mobile internet of things
CN103607351A (en) Chip forwarding item generation method and equipment thereof
CN101605090B (en) Method for realizing two-layer middle agent of dynamic host configuration protocol in passive optical network
CN113315717B (en) Service balancing method and device, electronic equipment and storage medium
CN105207909A (en) Method for transmitting information and network apparatus
CN107567065B (en) Transparent data transmission method and system based on wireless self-organizing network
CN101616343A (en) A kind of auto-negotiation method for service types and convergence device thereof
CN102857574B (en) Information processing method and apparatus for Internet of Things
CN102984739A (en) Breakdown information processing method and processing device
CN108092896A (en) Pile system and aggregation group establish device
CN105376155B (en) A kind of Intelligent routing system and method based on distributed type assemblies framework
CN101695049A (en) Method and device for processing businesses in monitoring system
CN111629059A (en) Cluster communication method, system, equipment and computer readable storage medium
CN116455817A (en) Software-defined cloud network fusion architecture and route implementation method
CN102843253A (en) Multi-sub-rack communication device and method and device of communication of multi-sub-rack communication device
CN102647424B (en) Data transmission method and data transmission device
CN103379031A (en) Equipment connection method, system and apparatus
CN102420731B (en) Network access control method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
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: 20131225

Termination date: 20210831