CN102237929A - Equipment switching method, device and system based on fiber communication network - Google Patents

Equipment switching method, device and system based on fiber communication network Download PDF

Info

Publication number
CN102237929A
CN102237929A CN2011101982297A CN201110198229A CN102237929A CN 102237929 A CN102237929 A CN 102237929A CN 2011101982297 A CN2011101982297 A CN 2011101982297A CN 201110198229 A CN201110198229 A CN 201110198229A CN 102237929 A CN102237929 A CN 102237929A
Authority
CN
China
Prior art keywords
fcoe switch
host side
data center
self
center network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011101982297A
Other languages
Chinese (zh)
Other versions
CN102237929B (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
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 CN201110198229.7A priority Critical patent/CN102237929B/en
Publication of CN102237929A publication Critical patent/CN102237929A/en
Application granted granted Critical
Publication of CN102237929B publication Critical patent/CN102237929B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses an equipment switching method, device and system based on a fiber communication network, which is used for solving the problems of low information interaction efficiency between a host end and a data center network and loss of transmitted information possibly caused by the equipment switching mode in the prior art. The method comprises the steps as follows: based on the first state information of current multiple detection objects and the second state information of the multiple detection objects in the normal state, an FCoE (Fiber Communication over Ethernet) exchanger judges whether a path from itself to the data center network fails; and if so the host end is notified to be switched to other FCoE exchangers. As the FCoE exchanger detects whether a path from itself to the data center network fails and notifies the host end to perform equipment switching in case of failure, the host end can be switched to other FCoE exchangers in time so as to perform information interaction with the data center network, thereby improving the information interaction efficiency between the host end and the data center network and avoiding the loss of transmitted information.

Description

A kind of equipment switching method, Apparatus and system based on Networks of Fiber Communications
Technical field
The present invention relates to the computer communication technology field, relate in particular to a kind of equipment switching method, Apparatus and system based on Networks of Fiber Communications.
Background technology
Based on Ethernet optical-fibre channel (Fibre Channel over Ethernet, FCoE) in the Networks of Fiber Communications of technology, host side is carried out information interaction by the FCoE switch and the data center network that connect, and wherein the FCoE switch is used for transmitting data between host side and data center network.
Carry out the reliability of information interaction in order to improve host side and data center network, host side links to each other with at least two FCoE switches usually, and carries out information interaction by these at least two the highest FCoE switch and data center network of FCoE switch medium priority.When detecting the highest FCoE switch of this priority, host side breaks down, when perhaps the circuit between the FCoE switch that this host side and this priority are the highest breaks down, switch to other FCoE switches, also promptly in these at least two FCoE switches except this priority in other FCoE switches the highest FCoE switch, reselect a FCoE switch that priority is the highest, and carry out information interaction by FCoE switch and the data center network reselected, shown in Figure 1A.
Figure 1A is based on the optical fiber communication network structure schematic diagram of FCoE technology in the prior art, in the network configuration shown in Figure 1A, ENode equipment H1 as host side strengthens Ethernet (Converged Enhanced Ethernet by polymerization, CEE), link to each other with B with the FCoE switch A, also by the CEE network, link to each other with B with the FCoE switch A as the ENode equipment H2 of host side, and the FCoE switch A all links to each other with data center network with B.Wherein, all preserved FCoE switch A corresponding priorities among H1 and the H2, and FCoE switch b corresponding priorities.When H1 will carry out information interaction with data center network, in FCoE switch A that connects and FCoE switch b, select the highest equipment of corresponding priorities, suppose that FCoE switch A corresponding priorities is higher than FCoE switch b corresponding priorities, then H1 selects the FCoE switch A, and be connected to data center network by the FCoE switch A, carry out information interaction with data center network.Switch A breaks down if H1 detects FCoE, when perhaps detecting circuit between H1 and the FCoE switch A and breaking down, then switches to the FCoE switch b, carries out information interaction by FCoE switch b and data center network.
But, in Figure 1A, if the FCoE switch A does not break down, circuit between H1 and the FCoE switch A does not break down yet, and the circuit between FCoE switch A and the data center network breaks down, and then H1 still can not carry out information interaction by the FCoE switch A and the data center network that connect.And since H1 this moment do not detect the FCoE switch A and break down, the circuit that does not also detect between H1 and the FCoE switch A breaks down, therefore remove non-artificial control H1 and switch to the FCoE switch b, otherwise H1 can not automatically switch to the FCoE switch b, still carry out information interaction by FCoE switch A and data center network, this will cause H1 wait for always circuit between FCoE switch A and the data center network recover normal after, could carry out normal information interaction with data center network, the efficient that makes host side and data center network carry out information interaction reduces, and may cause losing of the information of transmitting.
Figure 1B is based on the another kind of optical fiber communication network structure schematic diagram of FCoE technology in the prior art, shown in Figure 1B, in Figure 1B, host side H3 links to each other with D with FCoE switch C by the CEE network with H4, FCoE switch C and FCoE switch D are connected to target device S1 and S2 in the data center network by intermediate equipment 1 and intermediate equipment 2 respectively, suppose that the priority of FCoE switch C is higher than the priority of FCoE switch D, then H3 and H4 all carry out information interaction by FCoE switch C and data center network.At H3, when H3 will carry out information interaction with the target device S2 in the data center network, detailed process is, H3 is based on being connected with intermediate equipment 2 with being connected of being connected of FCoE switch C, FCoE switch C and intermediate equipment 1, intermediate equipment 1, and being connected of the target device S2 in intermediate equipment 2 and the data center network, carry out alternately with target device S2.Similar with Figure 1A, C does not break down if H3 detects the FCoE switch, the circuit that does not also detect between H3 and the FCoE switch C breaks down, if but intermediate equipment 1 or intermediate equipment 2 break down, perhaps, circuit between circuit between FCoE switch C and the intermediate equipment 1, intermediate equipment 1 and the intermediate equipment 2, and in the circuit between the target device S2 in intermediate equipment 2 and the data center network a certain or a few break down, and H3 just can not be undertaken by FCoE switch C and target device S2 alternately.Yet, because H3 this moment does not detect FCoE switch C and breaks down, the circuit that does not also detect between H3 and the FCoE switch C breaks down, therefore remove non-artificial control H3 and switch to FCoE switch D, otherwise H3 still selects FCoE switch C and target device S2 to carry out information interaction, then still need to wait for the intermediate equipment 1 and 2 between FCoE switch C and the data center network, and with intermediate equipment 1, after circuit between intermediate equipment 2 and the target device S2 recovers normally, could carry out normal information interaction with target device S2, the efficient that causes host side and data center network to carry out information interaction reduces, and may cause losing of the information of transmitting.
Summary of the invention
The embodiment of the invention provides a kind of equipment switching method based on Networks of Fiber Communications, Apparatus and system, may cause host side and data center network to carry out the efficient reduction of information interaction in order to solve the mode that equipment switches in the prior art, and may cause transmitting the problem of information dropout.
A kind of equipment switching method based on Networks of Fiber Communications that the embodiment of the invention provides comprises:
The first Ethernet optical-fibre channel FCoE switch extracts the first corresponding respectively state information of current described several detected objects according to several detected objects of setting;
A described FCoE switch is according to the first corresponding respectively state information of extracting of current described several detected objects, and described several detected objects of setting corresponding second state information under normal condition respectively, judge whether self breaks down to the path of data center network; And
When determining to break down, each host side that notice links to each other with self switches to the 2nd FCoE switch and described data center network is carried out information interaction.
A kind of equipment switching device shifter based on Networks of Fiber Communications that the embodiment of the invention provides comprises:
Extraction module is used for according to several detected objects of setting, extracts the first corresponding respectively state information of current described several detected objects;
Judge module, be used for according to the first corresponding respectively state information of extracting of current described several detected objects, and described several detected objects of setting corresponding second state information under normal condition respectively, judge whether self breaks down to the path of data center network;
Notification module is used for when determining to break down, and each host side that notice links to each other with self switches to the 2nd FCoE switch and described data center network is carried out information interaction.
A kind of Ethernet optical-fibre channel FCoE switch that the embodiment of the invention provides comprises aforesaid equipment switching device shifter based on Networks of Fiber Communications.
A kind of equipment switched system based on Networks of Fiber Communications that the embodiment of the invention provides comprises at least one host side, the first Ethernet optical-fibre channel FCoE switch and the 2nd FCoE switch that are connected respectively with each host side, wherein:
The one FCoE switch, be used for according to several detected objects of setting, extract the first corresponding respectively state information of current described several detected objects, and according to the first corresponding respectively state information of extracting of current described several detected objects, and described several detected objects of setting corresponding second state information under normal condition respectively, judge whether self breaks down to the path of data center network, when determining to break down, each host side that notice links to each other with self switches to the 2nd FCoE switch and data center network is carried out information interaction;
Each host side after being used to receive the notice of a described FCoE switch, switches to the 2nd FCoE switch and described data center network and carries out information interaction.
The embodiment of the invention provides a kind of equipment switching method based on Networks of Fiber Communications, Apparatus and system, this method FCoE switch is according to first state information of several detected objects that extract, and second state information of these several detected objects under normal condition of setting, judge whether self breaks down to the path of data center network, when breaking down, each host side that notice links to each other with self switches to other FCoE switches and data center network is carried out information interaction.Because whether the FCoE switch detects and self breaks down to the path of data center network in the embodiment of the invention, and the notice host side switches to other FCoE switches and data center network is carried out information interaction when breaking down, therefore host side can switch to other FCoE switches timely, improve host side and data center network and carried out the efficient of information interaction, and avoided losing of transmission information.
Description of drawings
Figure 1A is based on the optical fiber communication network structure schematic diagram of FCoE technology in the prior art;
Figure 1B is based on the another kind of optical fiber communication network structure schematic diagram of FCoE technology in the prior art;
The process that the equipment based on Networks of Fiber Communications that Fig. 2 provides for the embodiment of the invention switches;
The detailed process that the equipment based on Networks of Fiber Communications that Fig. 3 provides for the embodiment of the invention switches;
The host side that Fig. 4 (a) provides for the embodiment of the invention to Fig. 4 (c) is current when having set up virtual link with a FCoE switch, and after a FCoE switch broke down to the path of data center network, host side was switched the process of FCoE switch;
The equipment switching device shifter that Fig. 5 provides for the embodiment of the invention based on Networks of Fiber Communications;
The equipment switched system that Fig. 6 provides for the embodiment of the invention based on Networks of Fiber Communications.
Embodiment
The embodiment of the invention provides a kind of equipment switching method based on Networks of Fiber Communications, Apparatus and system, this method FCoE switch is according to first state information of several detected objects that extract, and second state information of these several detected objects under normal condition of setting, judge whether self breaks down to the path of data center network, when breaking down, each host side that notice links to each other with self switches to other FCoE switches and data center network is carried out information interaction.Because whether the FCoE switch detects and self breaks down to the path of data center network in the embodiment of the invention, and the notice host side switches to other FCoE switches and data center network is carried out information interaction when breaking down, therefore host side can switch to other FCoE switches timely, improve host side and data center network and carried out the efficient of information interaction, and avoided losing of transmission information.
Below in conjunction with Figure of description, the embodiment of the invention is described in detail.
The process that the equipment based on Networks of Fiber Communications that Fig. 2 provides for the embodiment of the invention switches specifically may further comprise the steps:
S201: a FCoE switch extracts the first corresponding respectively state information of current these several detected objects according to several detected objects of setting.
In embodiments of the present invention, self whether break down, detect when self whether breaking down, can detect according to the first current state information of setting of several detected objects to the path of data center network by FCoE switch detection.Wherein, these several detected objects can be set as required.Concrete, these several detected objects comprise: each intermediate equipment of FCoE switch process in the path of data center network, circuit between the one FCoE switch and the intermediate equipment that is connected, circuit between each intermediate equipment, in the circuit between data center network and the intermediate equipment that is connected one or more, certainly, can also set other detected objects as required.
For example, if the network configuration of employing shown in Figure 1A, owing to do not have intermediate equipment, so these several detected objects can be the circuit between FCoE switch and the data center network.If adopt the network configuration shown in Figure 1B, shown in Figure 1B, suppose that FCoE switch C is a FCoE switch, when these several detected objects are each intermediate equipment of FCoE switch process in the path of data center network, these several detected objects are intermediate equipment 1 and the intermediate equipment 2 among Figure 1B, also promptly detect intermediate equipment 1 and whether intermediate equipment 2 breaks down.When these several detected objects be a FCoE switch with the intermediate equipment that is connected between circuit the time, these several detected objects are FCoE switch C among Figure 1B and the circuit between the intermediate equipment 1.When these several detected objects were circuit between each intermediate equipment, these several detected objects were intermediate equipment 1 among Figure 1B and the circuit between the intermediate equipment 2.When these several detected objects be data center network with the intermediate equipment that is connected between circuit the time, these several detected objects are the target device of data center network, and the circuit between the intermediate equipment.
S202: according to the first corresponding respectively state information of extracting of current these several detected objects, and these several detected objects of setting corresponding second state information under normal condition respectively, judge whether self breaks down to the path of data center network, if, then carry out step S203, otherwise carry out step S204.
In embodiments of the present invention, behind several detected objects that set to need detect, also to set a FCoE switch to the path of data center network in normal condition following time, second state information of these several detected objects.Thereby judge that the method that self whether breaks down to the path of data center network is specially, in the first corresponding respectively state information of several detected objects that extract, if determine to exist first state information of at least one detected object correspondence, different with this detected object of setting corresponding second state information under normal condition, then determine self to break down, otherwise determine that self is normal to the path of data center network to the path of data center network.
S203: each host side that notice links to each other with self switches to the 2nd FCoE switch and data center network is carried out information interaction.
Because a FCoE switch breaks down to the path of data center network, therefore may can not provide the function of transmitting data for host side, therefore notify host side to switch to the 2nd FCoE switch, also promptly switch to other FCoE switches and data center network and carry out information interaction.
S204: continue to transmit data.
If a FCoE switch is determined self not break down to the path of data center network, then host side can be proceeded information interaction by a FCoE switch and data center network.
In said process, self whether break down by the detection of FCoE switch to the path of data center network, and the notice host side switches to other FCoE switches and data center network is carried out information interaction when breaking down, therefore in prior art, need artificial main control system end-grain cutting to change to other FCoE switches, after perhaps host side need wait for always that the FCoE switch recovers normally to the path of data center network, could carry out normal information interactive method with data center network, the method host side that the embodiment of the invention provides can be when the FCoE switch breaks down, switch to other FCoE switches timely, improve host side and data center network and carried out the efficient of information interaction, and avoided losing of transmission information.
In embodiments of the present invention, for further when guaranteeing that host side can be carried out information interaction by FCoE switch and data center network, can also improve the efficient of information interaction as far as possible, make host side can switch the FCoE switch more flexibly, before step S203 shown in Figure 2, also promptly notify host side to switch to the 2nd FCoE switch and data center network is carried out before the information interaction, the one FCoE switch also will reduce the priority of self, and the precedence information after will reducing is notified to each host side that links to each other with self, and the precedence information of the FCoE switch that each host side that indication links to each other with self will be preserved is updated to the precedence information after the reduction.Wherein, the method that reduces the priority of self has a lot, for example directly reduces to the priority of self minimum.
In follow-up step, host side then can be according to the priority of the FCoE switch after upgrading, and the priority of each the 2nd FCoE switch that links to each other with self is carried out the equipment switching, concrete grammar is, host side is after the notice that switches to the 2nd FCoE switch that receives FCoE switch transmission, and switching to before the 2nd FCoE switch and data center network carry out information interaction, priority according to the FCoE switch after upgrading, and the priority of each the 2nd FCoE switch that links to each other with self, in respectively the 2nd FCoE switch of determining to link to each other, exist the priority of at least one the 2nd FCoE switch to be higher than the priority of the FCoE switch after the renewal with self.
In said process, because when host side is selected the FCoE switch, the highest FCoE switch of each FCoE switch medium priority that selection links to each other with this host side, if the priority of a FCoE switch is lower than the priority of certain the 2nd FCoE switch that links to each other with this host side after therefore upgrading, when then this host side is reselected the FCoE switch, just can not select this to reduce a FCoE switch of priority, and select the 2nd the highest FCoE switch of priority to switch, and carry out information interaction by the 2nd FCoE switch and data center network after switching.
And, owing to generally will transmit priority level initializing higher of the higher FCoE switch of the efficient of data, if the priority of a FCoE switch still is higher than the priority of any the 2nd FCoE switch that links to each other with this host side after therefore upgrading, to the path of data center network fault has appearred even a FCoE switch then is described, but the influence that the fault that occurs is carried out information interaction to host side by this paths and data center network is little, therefore this host side still can be passed through a FCoE switch-access data center network, and the efficient that a FCoE switch is transmitted data remains the highest, and also the efficient of promptly carrying out information interaction by a FCoE switch and data center network remains the highest.So the FCoE switch that this host side is reselected still is a FCoE switch, need not to switch to the 2nd relatively low FCoE switch of efficient that other transmit data, thereby when guaranteeing that host side can be carried out information interaction by FCoE switch and data center network, can also improve the efficient of information interaction as far as possible, improve the flexibility that host side is switched the FCoE switch.
In embodiments of the present invention, in order further to improve the flexibility that host side is switched the FCoE switch, the method that the one FCoE switch reduces the priority of self is specially, determine in these several detected objects, present located first state information and each different detected object of second state information under its normal condition, the priority of self is reduced, the value of reduction for the corresponding respectively reduction amplitude of each detected object of determining and value.Wherein, the reduction amplitude of each detected object correspondence can be set as required.
Preferable, will be bigger to what set by the reduction amplitude of the bigger detected object correspondence of FCoE switch-access data center network influence, will be less to what set by the reduction amplitude of the less detected object correspondence of FCoE switch-access data center network influence.Since at a FCoE switch in the path of data center network, if certain detected object is shorter to the length in the path of a FCoE switch, then this detected object is bigger to the influence by a FCoE switch-access data center network, otherwise, then influence less, therefore, set in the embodiment of the invention each detected object respectively the method for corresponding reduction amplitude be specially, at each detected object, according to the length of this detected object to the path of a FCoE switch, set the reduction amplitude of this detected object correspondence, wherein, the reduction amplitude of this detected object correspondence of setting is inversely proportional to the length of this detected object to the path of a FCoE switch.Also be, this detected object is short more to the length in the path of a FCoE switch, the reduction amplitude of this detected object correspondence of setting is big more, and this detected object is long more to the length in the path of a FCoE switch, and the reduction amplitude of this detected object correspondence of setting is more little.
For example, when detected object that needs detect be a FCoE switch with the intermediate equipment that is connected between circuit the time, because a FCoE switch is shorter to the length in the path of a FCoE switch with the circuit between the intermediate equipment that is connected, if the line out of service between a FCoE switch and the intermediate equipment that is connected, make a FCoE switch can not be connected to data center network, then can not the visit data central site network by a FCoE switch, therefore the circuit between a FCoE switch and the intermediate equipment that is connected, bigger to the influence by a FCoE switch-access data center network, with the reduction amplitude of this detected object correspondence set bigger.Suppose that host side links to each other with the FCoE switch b with the FCoE switch A, the priority of FCoE switch A is 5, and the priority of FCoE switch b is 3, so this host side is carried out information interaction by FCoE switch A and data center network.When detected object be this FCoE switch A with the intermediate equipment that is connected between circuit the time, the reduction amplitude of this detected object correspondence can be made as 5, if detecting this FCoE switch A according to first state information of current this detected object breaks down to the path of data center network, then the priority with the FCoE switch A reduces by 5, priority after the reduction is 0, when host side is reselected the FCoE switch, then can select the FCoE switch b.
In addition, can also set the weight of each detected object correspondence, and reduce the priority of self according to the corresponding weight of the first current state information each detected object different with second state information under the normal condition.For example, the weight of setting detected object a correspondence is 50%, the weight of detected object b correspondence is 30%, the weight of detected object c correspondence is 20%, if each detected object that the first then current state information is different with second state information under the normal condition is detected object a and b, then determine the weight of detected object a correspondence and detected object b correspondence weight and value, promptly 70%, self priority is reduced by 70%.
In embodiments of the present invention, (FCoE Initialization Protocol FIP) carries out alternately, and the message that comprises among the concrete FIP is as shown in table 1 by the FCoE initializtion protocol for host side and FCoE switch.
The FIP protocol code The FIP subcode Message
0001h 01h Find request message
02h Find notification packet
0002h 01h Virtual link initialization request message
02h Virtual link initialization response message
0003h 01h FIP keep-alive message
02h FIP removes the virtual link message
0004h 01h FIP VLAN request message
02h FIP VLAN notification packet
Table 1
When the precedence information after the embodiment of the invention the one FCoE switch will reduce is notified to each host side that links to each other with self,, the precedence information after reducing is notified to each host side that links to each other with self by the discovery notification packet among this FIP.
In embodiments of the present invention, each host side that the one FCoE switch notice links to each other with self switches to the 2nd FCoE switch and data center network when carrying out information interaction, removing virtual link message in this each host side transmission FIP, indicate each host side to disconnect the virtual link of setting up with a FCoE switch, and switch to the 2nd FCoE switch and data center network is carried out information interaction.Wherein, the virtual link of a host side and a FCoE switch switches to the 2nd FCoE switch and data center network and carries out information interaction after disconnecting.
The detailed process that the equipment based on Networks of Fiber Communications that Fig. 3 provides for the embodiment of the invention switches specifically may further comprise the steps:
S301: a FCoE switch extracts the first corresponding respectively state information of current these several detected objects according to several detected objects of setting.
S302: in the first corresponding respectively state information of several detected objects that extract, judge whether to exist first state information of at least one detected object correspondence, different with this detected object of setting corresponding second state information under normal condition, if exist, then carry out step S303, otherwise carry out step S311.
S303: determine in these several detected objects present located first state information and each different detected object of second state information under its normal condition.
S304: according to the reduction amplitude of each detected object correspondence of determining, determine this each detected object correspondence the reduction amplitude and value, self priority is reduced and should and be worth.
S305:, the precedence information after reducing is notified to each host side that links to each other with self by the discovery notification packet among the FIP.
S306: the precedence information of the FCoE switch that this each host side will be preserved is updated to the precedence information after this reduction.
S307: the removing virtual link message of a FCoE switch in this each host side transmission FIP.
S308: host side disconnects the virtual link of setting up with a FCoE switch, in each the 2nd FCoE switch that judgement links to each other with self, whether exist the priority of at least one the 2nd FCoE switch to be higher than the priority of the FCoE switch after the renewal, if exist, execution in step S309 then, otherwise execution in step S310.
S309: host side switches to the 2nd FCoE switch and data center network is carried out information interaction.
S310: host side continues to carry out information interaction by a FCoE switch and data center network.
S311: a FCoE switch keeps the priority of self constant.
In said process, do not set up virtual link if host side is current with a FCoE switch, after the precedence information of the FCoE switch that then will preserve upgrades, direct priority according to the FCoE switch after upgrading, and the priority of each the 2nd FCoE switch of preserving, select the highest FCoE switch of priority to be connected to data center network and get final product.Set up virtual link if host side is current with a FCoE switch, after the priority update of the FCoE switch that then will preserve, when receiving the removing virtual link message of FCoE switch transmission, disconnect the virtual link with a FCoE switch, and reselect the FCoE switch and be connected to data center network.As Fig. 4 (a) to shown in Fig. 4 (c), the host side that Fig. 4 (a) provides for the embodiment of the invention to Fig. 4 (c) is current when having set up virtual link with a FCoE switch, after the one FCoE switch breaks down to the path of data center network, host side is switched the process of FCoE switch, at Fig. 4 (a) to Fig. 4 (c), the one FCoE switch is the FCoE switch A, and the 2nd FCoE switch is the FCoE switch b.Shown in Fig. 4 (a), host side H1 is current to have set up virtual link with this FCoE switch A, carries out information interaction by this FCoE switch A and data center network.In Fig. 4 (b), this FCoE switch A breaks down to the path of data center network, and the priority after will reducing is notified to this host side H1, and the priority update of this FCoE switch A that this host side H1 will preserve is the priority after reducing.In Fig. 4 (c), host side H1 judges that the priority after this FCoE switch A reduces is lower than the priority of FCoE switch b, then selects the FCoE switch b to be connected to data center network.
Fig. 5 is the equipment switching device shifter based on Networks of Fiber Communications that the embodiment of the invention provides, and specifically comprises:
Extraction module 501 is used for according to several detected objects of setting, extracts the first corresponding respectively state information of current described several detected objects;
Judge module 502, be used for according to the first corresponding respectively state information of extracting of current described several detected objects, and described several detected objects of setting corresponding second state information under normal condition respectively, judge whether self breaks down to the path of data center network;
Notification module 503 is used for when determining to break down, and each host side that notice links to each other with self switches to the 2nd FCoE switch and described data center network is carried out information interaction.
Described judge module 502, specifically be used for first state information in described several detected objects difference correspondences of extracting, determine to exist first state information of at least one detected object correspondence, judge and self break down not simultaneously with this detected object of setting corresponding second state information under normal condition to the path of data center network.
Described device also comprises:
Adjusting module 504 is used for switching to before the 2nd FCoE switch and data center network carry out information interaction in each host side of linking to each other with self of notice, reduces the priority of self;
Described notification module 503 also is used for the precedence information after reducing is notified to each host side that links to each other with self, and indicates the precedence information after the precedence information of the described device that each host side of linking to each other with self will preserve is updated to described reduction.
Described adjusting module 504, specifically be used for determining described several detected objects, present located first state information and each different detected object of second state information under its normal condition, the priority of self is reduced, the value of reduction for the corresponding respectively reduction amplitude of each detected object of determining and value.
Described notification module 503 specifically is used for the discovery notification packet by Ethernet optical-fibre channel initializtion protocol FIP, and the precedence information after reducing is notified to each host side that links to each other with self.
Described notification module 503, specifically be used for sending the removing virtual link message of Ethernet optical-fibre channel initializtion protocol FIP to described each host side, indicate described each host side to disconnect the virtual link of setting up with described device, and switch to the 2nd FCoE switch and data center network is carried out information interaction.
In addition, the embodiment of the invention also provides a kind of FCoE switch, and this FCoE switch comprises aforesaid equipment switching device shifter based on Networks of Fiber Communications.
Fig. 6 comprises at least one host side 602 for the equipment switched system based on Networks of Fiber Communications that the embodiment of the invention provides, the first Ethernet optical-fibre channel FCoE switch 601 and the 2nd FCoE switch 603 that are connected respectively with each host side 602:
The one FCoE switch 601, be used for according to several detected objects of setting, extract the first corresponding respectively state information of current described several detected objects, and according to the first corresponding respectively state information of extracting of current described several detected objects, and described several detected objects of setting corresponding second state information under normal condition respectively, judge whether self breaks down to the path of data center network, when determining to break down, each host side 602 that notice links to each other with self switches to the 2nd FCoE switch 603 and carries out information interaction with described data center network;
Each host side 602 after being used to receive the notice of a described FCoE switch 601, switches to the 2nd FCoE switch 603 and carries out information interaction with data center network.
A described FCoE switch 601, also be used for switching to before the 2nd FCoE switch 603 and data center network carry out information interaction in each host side 602 of linking to each other with self of notice, reduce the priority of self, and the precedence information after will reducing is notified to each host side 602 that links to each other with self;
Described each host side 602, the precedence information that also is used for the described FCoE switch 601 that will preserve is updated to the precedence information after the described reduction.
Described each host side 602 also is used for, switching to before the 2nd FCoE switch 603 carries out information interaction with data center network, priority according to the described FCoE switch 601 after upgrading, and the priority of each the 2nd FCoE switch 603 that links to each other with self, in respectively the 2nd FCoE switch 603 of determining to link to each other, exist the priority of at least one the 2nd FCoE switch 603 to be higher than the priority of the described FCoE switch 601 after the renewal with self.
A described FCoE switch 601 specifically is used for the removing virtual link message to described each host side 602 transmission Ethernet optical-fibre channel initializtion protocol FIP;
Described each host side 602, specifically be used to receive described removing virtual link message after, disconnect the virtual link of setting up with a described FCoE switch 601, and switch to the 2nd FCoE switch 603 and carry out information interaction with data center network.
The embodiment of the invention provides a kind of equipment switching method based on Networks of Fiber Communications, Apparatus and system, this method FCoE switch is according to first state information of several detected objects that extract, and second state information of these several detected objects under normal condition of setting, judge whether self breaks down to the path of data center network, when breaking down, each host side that notice links to each other with self switches to other FCoE switches and data center network is carried out information interaction.Owing to self whether break down by the detection of FCoE switch in the embodiment of the invention to the path of data center network, and the notice host side switches to other FCoE switches and data center network is carried out information interaction when breaking down, therefore host side can switch to other FCoE switches timely, improve host side and data center network and carried out the efficient of information interaction, and may cause losing of the information of transmitting.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (20)

1. the equipment switching method based on Networks of Fiber Communications is characterized in that, comprising:
The first Ethernet optical-fibre channel FCoE switch extracts the first corresponding respectively state information of current described several detected objects according to several detected objects of setting;
A described FCoE switch is according to the first corresponding respectively state information of extracting of current described several detected objects, and described several detected objects of setting corresponding second state information under normal condition respectively, judge whether self breaks down to the path of data center network; And
When determining to break down, each host side that notice links to each other with self switches to the 2nd FCoE switch and described data center network is carried out information interaction.
2. the method for claim 1 is characterized in that, judges self to break down to the path of data center network, specifically comprises:
In the first corresponding respectively state information of described several detected objects that extract, determine to exist first state information of at least one detected object correspondence, different with this detected object of setting corresponding second state information under normal condition.
3. the method for claim 1 is characterized in that, described several detected objects comprise:
Each intermediate equipment of described FCoE switch process in the path of described data center network, circuit between a described FCoE switch and the intermediate equipment that is connected, in the circuit between the circuit between each intermediate equipment, described data center network and the intermediate equipment that is connected one or more.
4. the method for claim 1 is characterized in that, each host side that notice links to each other with self switches to the 2nd FCoE switch and data center network is carried out before the information interaction, and described method also comprises:
A described FCoE switch reduces the priority of self, and the precedence information after will reducing is notified to each host side that links to each other with self; And
The precedence information of the described FCoE switch that each host side that indication links to each other with self will be preserved is updated to the precedence information after the described reduction.
5. method as claimed in claim 4 is characterized in that, reduces the priority of self, specifically comprises:
Determine in described several detected objects present located first state information and each different detected object of second state information under its normal condition;
The priority of self is reduced, the value of reduction for the corresponding respectively reduction amplitude of each detected object of determining and value.
6. method as claimed in claim 5, it is characterized in that, at each detected object, according to the length of this detected object to the path of a described FCoE switch, set the reduction amplitude of this detected object correspondence, wherein, the reduction amplitude of this detected object correspondence of setting is inversely proportional to the length of this detected object to the path of a described FCoE switch.
7. method as claimed in claim 4 is characterized in that, host side switches to the 2nd FCoE switch and data center network is carried out before the information interaction, and described method also comprises:
This host side is according to the priority of the described FCoE switch after upgrading, and the priority of each the 2nd FCoE switch that links to each other with self, in respectively the 2nd FCoE switch of determining to link to each other, exist the priority of at least one the 2nd FCoE switch to be higher than the priority of the described FCoE switch after the renewal with self.
8. method as claimed in claim 4 is characterized in that, the precedence information after reducing is notified to each host side that links to each other with self, specifically comprises:
A described FCoE switch is notified to each host side that links to each other with self by the discovery notification packet among the Ethernet optical-fibre channel initializtion protocol FIP with the precedence information after reducing.
9. the method for claim 1 is characterized in that, each host side that notice links to each other with self switches to the 2nd FCoE switch and data center network is carried out information interaction, specifically comprises:
The removing virtual link message of a described FCoE switch in described each host side transmission Ethernet optical-fibre channel initializtion protocol FIP, indicate described each host side to disconnect the virtual link of setting up with a described FCoE switch, and switch to the 2nd FCoE switch and data center network is carried out information interaction.
10. the equipment switching device shifter based on Networks of Fiber Communications is characterized in that, comprising:
Extraction module is used for according to several detected objects of setting, extracts the first corresponding respectively state information of current described several detected objects;
Judge module, be used for according to the first corresponding respectively state information of extracting of current described several detected objects, and described several detected objects of setting corresponding second state information under normal condition respectively, judge whether self breaks down to the path of data center network;
Notification module is used for when determining to break down, and each host side that notice links to each other with self switches to the 2nd FCoE switch and described data center network is carried out information interaction.
11. device as claimed in claim 10, it is characterized in that, described judge module, specifically be used for first state information in described several detected objects difference correspondences of extracting, determine to exist first state information of at least one detected object correspondence, judge and self break down not simultaneously with this detected object of setting corresponding second state information under normal condition to the path of data center network.
12. device as claimed in claim 10 is characterized in that, described device also comprises:
Adjusting module is used for switching to before the 2nd FCoE switch and data center network carry out information interaction in each host side of linking to each other with self of notice, reduces the priority of self;
Described notification module also is used for the precedence information after reducing is notified to each host side that links to each other with self, and indicates the precedence information after the precedence information of the described device that each host side of linking to each other with self will preserve is updated to described reduction.
13. device as claimed in claim 12, it is characterized in that, described adjusting module, specifically be used for determining described several detected objects, present located first state information and each different detected object of second state information under its normal condition, the priority of self is reduced, the value of reduction for the corresponding respectively reduction amplitude of each detected object of determining and value.
14. device as claimed in claim 12 is characterized in that, described notification module specifically is used for the discovery notification packet by Ethernet optical-fibre channel initializtion protocol FIP, and the precedence information after reducing is notified to each host side that links to each other with self.
15. device as claimed in claim 10, it is characterized in that, described notification module, specifically be used for sending the removing virtual link message of Ethernet optical-fibre channel initializtion protocol FIP to described each host side, indicate described each host side to disconnect the virtual link of setting up with described device, and switch to the 2nd FCoE switch and data center network is carried out information interaction.
16. an Ethernet optical-fibre channel FCoE switch is characterized in that, comprises the described equipment switching device shifter based on Networks of Fiber Communications of the arbitrary claim of claim 9~14.
17. the equipment switched system based on Networks of Fiber Communications is characterized in that, comprises at least one host side, the first Ethernet optical-fibre channel FCoE switch and the 2nd FCoE switch that are connected respectively with each host side, wherein:
The one FCoE switch, be used for according to several detected objects of setting, extract the first corresponding respectively state information of current described several detected objects, and according to the first corresponding respectively state information of extracting of current described several detected objects, and described several detected objects of setting corresponding second state information under normal condition respectively, judge whether self breaks down to the path of data center network, when determining to break down, each host side that notice links to each other with self switches to the 2nd FCoE switch and data center network is carried out information interaction;
Each host side after being used to receive the notice of a described FCoE switch, switches to the 2nd FCoE switch and described data center network and carries out information interaction.
18. system as claimed in claim 17, it is characterized in that, a described FCoE switch, also be used for switching to before the 2nd FCoE switch and data center network carry out information interaction in each host side of linking to each other with self of notice, reduce the priority of self, and the precedence information after will reducing is notified to each host side that links to each other with self;
Described each host side, the precedence information that also is used for the described FCoE switch that will preserve is updated to the precedence information after the described reduction.
19. system as claimed in claim 18, it is characterized in that, described each host side, also be used for switching to before the 2nd FCoE switch and data center network carry out information interaction, priority according to the described FCoE switch after upgrading, and the priority of each the 2nd FCoE switch that links to each other with self, in respectively the 2nd FCoE switch of determining to link to each other, exist the priority of at least one the 2nd FCoE switch to be higher than the priority of the described FCoE switch after the renewal with self.
20. system as claimed in claim 17 is characterized in that, a described FCoE switch specifically is used for the removing virtual link message to described each host side transmission Ethernet optical-fibre channel initializtion protocol FIP;
Described each host side, specifically be used to receive described removing virtual link message after, disconnect the virtual link of setting up with a described FCoE switch, and switch to the 2nd FCoE switch and data center network is carried out information interaction.
CN201110198229.7A 2011-07-15 2011-07-15 Equipment switching method, device and system based on fiber communication network Active CN102237929B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110198229.7A CN102237929B (en) 2011-07-15 2011-07-15 Equipment switching method, device and system based on fiber communication network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110198229.7A CN102237929B (en) 2011-07-15 2011-07-15 Equipment switching method, device and system based on fiber communication network

Publications (2)

Publication Number Publication Date
CN102237929A true CN102237929A (en) 2011-11-09
CN102237929B CN102237929B (en) 2015-02-25

Family

ID=44888203

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110198229.7A Active CN102237929B (en) 2011-07-15 2011-07-15 Equipment switching method, device and system based on fiber communication network

Country Status (1)

Country Link
CN (1) CN102237929B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103354523A (en) * 2013-06-21 2013-10-16 杭州华三通信技术有限公司 Switch and lossless switching method
CN104243197A (en) * 2013-06-21 2014-12-24 华为技术有限公司 Data transmitting method and system and virtual storage gateways
CN104683023A (en) * 2013-12-03 2015-06-03 华为技术有限公司 Method, equipment and system for rapidly recovering after FCoE (Fibre Channel Over Ethernet) network packet loss
CN104753699A (en) * 2013-12-26 2015-07-01 华为技术有限公司 Link failure handling method and device
CN104780063A (en) * 2015-03-26 2015-07-15 杭州华三通信技术有限公司 Login method and device for node equipment
CN107950013A (en) * 2015-09-11 2018-04-20 微软技术许可有限责任公司 Backup communication scheme in computer network

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1741405A (en) * 2004-08-29 2006-03-01 华为技术有限公司 Communication system and method for realizing back-up and negation
CN101102222A (en) * 2007-06-05 2008-01-09 中兴通讯股份有限公司 A communication network connection method and its device
CN101304346A (en) * 2008-06-27 2008-11-12 北京星网锐捷网络技术有限公司 Method and apparatus for monitoring link
CN101488918A (en) * 2009-01-09 2009-07-22 杭州华三通信技术有限公司 Multi-network card server access method and system
CN101674201A (en) * 2009-10-30 2010-03-17 迈普通信技术股份有限公司 Method for actively triggering active standby switch of Ethernet switch clustering

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1741405A (en) * 2004-08-29 2006-03-01 华为技术有限公司 Communication system and method for realizing back-up and negation
CN101102222A (en) * 2007-06-05 2008-01-09 中兴通讯股份有限公司 A communication network connection method and its device
CN101304346A (en) * 2008-06-27 2008-11-12 北京星网锐捷网络技术有限公司 Method and apparatus for monitoring link
CN101488918A (en) * 2009-01-09 2009-07-22 杭州华三通信技术有限公司 Multi-network card server access method and system
CN101674201A (en) * 2009-10-30 2010-03-17 迈普通信技术股份有限公司 Method for actively triggering active standby switch of Ethernet switch clustering

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103354523A (en) * 2013-06-21 2013-10-16 杭州华三通信技术有限公司 Switch and lossless switching method
CN104243197A (en) * 2013-06-21 2014-12-24 华为技术有限公司 Data transmitting method and system and virtual storage gateways
CN103354523B (en) * 2013-06-21 2017-07-07 新华三技术有限公司 A kind of interchanger and lossless switching method
CN104243197B (en) * 2013-06-21 2017-12-15 华为技术有限公司 Data transmission method, system and virtual memory gateway
CN104683023A (en) * 2013-12-03 2015-06-03 华为技术有限公司 Method, equipment and system for rapidly recovering after FCoE (Fibre Channel Over Ethernet) network packet loss
CN104683023B (en) * 2013-12-03 2018-02-13 华为技术有限公司 Method, equipment and the system of fast quick-recovery after a kind of FCoE network packet loss
CN104753699A (en) * 2013-12-26 2015-07-01 华为技术有限公司 Link failure handling method and device
CN104780063A (en) * 2015-03-26 2015-07-15 杭州华三通信技术有限公司 Login method and device for node equipment
CN104780063B (en) * 2015-03-26 2018-11-27 新华三技术有限公司 node device login method and device
CN107950013A (en) * 2015-09-11 2018-04-20 微软技术许可有限责任公司 Backup communication scheme in computer network
CN107950013B (en) * 2015-09-11 2020-11-03 微软技术许可有限责任公司 Backup communication scheme in computer network

Also Published As

Publication number Publication date
CN102237929B (en) 2015-02-25

Similar Documents

Publication Publication Date Title
CN102237929B (en) Equipment switching method, device and system based on fiber communication network
CN102291808B (en) Network communication method, communication equipment and middleware of communication equipment
CN102006184B (en) Management method, device and network device of stack link
US8244123B2 (en) System and method for optical transmission
CN105323080B (en) A kind of link backup, power supply backup method, apparatus and system
CN110808873A (en) Method and device for detecting link failure
CN105871614A (en) Protection method and device of board cards in communication device
CN102857316A (en) Method and system for realizing source looped network protection
EP2991243A1 (en) Optical network system
CN105141493A (en) Service frame processing method and system during ring network fault
US20200136912A1 (en) Method, Device, and System for Implementing MUX Machine
EP2613477A1 (en) Method for triggering route switching and service provider-end provider edge device
US20110097077A1 (en) Optical transmission system
CN104104596A (en) Intelligent resilient framework (IRF) split processing method and device
US9692636B2 (en) Relay system and relay device
CN101883045B (en) Method, system and device for combining stacking systems
CN110365802B (en) Message transmission method, message forwarding equipment and storage medium
CN103685017A (en) Message forwarding method in stacking system, stacking equipment and stacking system
JPH0795223A (en) Execution of route identification inside communication system
CN102123085B (en) Switch control method and device for uplink
CN101527598A (en) Transmission method based on optical transmission equipment failure or power failure
CN102932497B (en) Method, device and system for obtaining internet protocol address
CN103888280A (en) Cross-domain path state negotiation method and node device
CN111338676B (en) BMC (baseboard management controller) firmware upgrading system and method with in-band mode and out-of-band mode
CN110087333B (en) Method, device, equipment and storage medium for preventing service interruption

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