CN1725733A - Method of route backup in combination equipment and combination equipment - Google Patents
Method of route backup in combination equipment and combination equipment Download PDFInfo
- Publication number
- CN1725733A CN1725733A CNA2005100767086A CN200510076708A CN1725733A CN 1725733 A CN1725733 A CN 1725733A CN A2005100767086 A CNA2005100767086 A CN A2005100767086A CN 200510076708 A CN200510076708 A CN 200510076708A CN 1725733 A CN1725733 A CN 1725733A
- Authority
- CN
- China
- Prior art keywords
- equipment
- combination plant
- routing protocol
- route
- main 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.)
- Pending
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
A method for backup route of united equipment those routes in real time on at least another device in order to have device with those routes taken over work of host device seamlessly when single point fault is occurred on host device, in addition to hold necessary data for operating executive route protocol on host device in united equipment . The method can completely eliminate network interruption or network oscillation caused by device single point fault and can ensure data transmission ability.
Description
Technical field
The present invention relates to network field, the Routing Protocol neighborhood of whole combination plant and external device is not interrupted when leaving, route can not lose method and the combination plant that causes route backup in the professional unbroken combination plant of whole forwarding to relate in particular to a kind of Unit of realization (equipment).
Background technology
IRF is the abbreviation of Intelligent Resilient Framework (intelligent resilient infrastructure).Support the multiple devices (being called Unit) of IRF can be connected to each other " combination plant " (being called Fabric) of formation, as shown in Figure 1.After multiple devices are formed combination plant, no matter also be to use all to become as a whole, be equal to the logical network equipment of a Daepori in the external world in management.It both can come the port number and the exchange capacity of expansion equipment at any time by increase equipment, improved the extensibility of whole combination plant greatly; Also can strengthen the reliability of equipment simultaneously by the mutual backup between the multiple devices; And whole combination plant manages as an equipment, and user management is got up also very convenient.In simple terms, being exactly IRF equipment has formed the manageability that the user presses for, easily expansion and highly reliable products characteristics by piling up of a plurality of equipment.
In the existing combination plant, a common setting wherein equipment is a main equipment, and other equipment are slave unit.Main equipment is set up communicating by letter between whole combination plant and the external device.That is to say, on main equipment, have complete route and Routing Protocol neighborhood, when external device sends packet to combination plant, by main equipment allocation of packets to the slave unit of corresponding ID that receives is handled, in like manner, when slave unit need send packet to external device, utilize the route of its preservation and Routing Protocol neighborhood to send by main equipment.
But, when main equipment left existing combination plant, the Routing Protocol neighborhood of whole combination plant and external device was interrupted, and need relearn route, again set up the agreement neighborhood with external device, causing thus can not the hot plug of realization equipment under the situation of not interrupting Routing Protocol.
With Fig. 1 is example, do not carry out the Routing Protocol Hot Spare in the combination plant between the equipment, and communicate as main equipment and external device by unit1, preserve complete route and Routing Protocol neighborhood on the unit1, and all routing iinformations all are blank on all the other equipment, and they are not preserved any routing iinformation of communicating by letter with external device, do not preserve any Routing Protocol neighborhood yet.When unit1 left combination plant, because remaining unit is a slave unit, they are blank out in the preservation of routing iinformation.Whole combination plant is the same with an equipment that has just started, and needs to set up the agreement neighborhood with external device again, relearn route, and during this period of time, owing to there is not route, forwarding business all on the combination plant is interrupted all.
Just, when main equipment leaves combination plant, because the miscellaneous equipment of combination plant is not preserved agreement neighborhood and routing iinformation with external device, therefore need in a period of time, on the main equipment that the new election of combination plant is come out, rebulid agreement neighborhood and study route, and then make that interior forwarding business of this section period is to interrupt, thereby influence the transfer of data of whole switching system.
Summary of the invention
The object of the present invention is to provide the method for route backup in the method for route backup in a kind of combination plant and the combination plant combination plant, to solve in the prior art when main equipment leaves combination plant, forwarding service needed interruption a period of time on the combination plant rebulids agreement neighborhood and study route, influences the technical problem of the data transmission efficiency of whole switching system thus.
The method of route backup in a kind of combination plant, described combination plant comprises some equipment, comprise: all devices is preserved identical in order to the needed basic data of operation Routing Protocol in (1) combination plant, described basic data comprises network layer interface and routing configuration at least, also preserves the various Routing Protocol states and the route data that are produced in the operation Routing Protocol process simultaneously; (2) under the initial situation or do not have equipment and be responsible under the Routing Protocol ruuning situation, the main equipment that whole combination plant makes new advances according to default election principle election, the previous described basic data of preserving of described new main equipment utilization, various Routing Protocol state and the route data continuation whole combination plant of representative and external device carry out data communication.
The identical basic data of all devices preservation specifically comprises in step (1) combination plant: the user creates network layer interface on any one equipment, described equipment is received the interface configuration command of described establishment network layer interface, and described command synchronization is carried out to other all devices of combination plant; Arbitrary equipment of combination plant is received user configured routing configuration, and other all devices that are sent to combination plant are carried out;
The various Routing Protocol states and the route data that are produced in all devices preservation operation Routing Protocol process in step (1) combination plant specifically comprise: various Routing Protocol states and various route data that the main equipment of combination plant will produce in operation Routing Protocol process are backed up in realtime to other equipment of combination plant.
This programme also comprises: neighbor device tabulation is set during each device start, and described neighbor device tabulation is in order to write down all devices information in the current combination plant; Each equipment in the combination plant regularly sends probe messages to other equipment of combination plant; Each equipment whenever receives a probe messages, whether the equipment that judge to send this probe messages has write down in the neighbor device tabulation with this equipment, if do not have, the facility information that then will send this probe messages is added into described neighbor device tabulation, and create a timer for described equipment, the time-out time of described timer is greater than the transmission cycle that sends probe messages, otherwise, refresh the timing in the timer of this equipment correspondence.
Judge that having or not equipment to be responsible for Routing Protocol ruuning situation obtains by following steps in the step (2): during the timer expiry of the equipment correspondence of each Equipment Inspection in neighbor device is tabulated, whether detect described timer corresponding equipment again is main equipment, if then described main equipment has left combination plant.
When main equipment detects new equipment adding combination plant, with carrying out that this equipment is preserved in order to the synchronous extremely described new equipment of the needed basic data of operation Routing Protocol; The various Routing Protocol states and the route data that are produced in each operation Routing Protocol process are backed up to new equipment.
The invention discloses the method for route backup in second kind of combination plant, described combination plant comprises some equipment, comprise: (1) is provided with main equipment under initial situation, and to elect an equipment according to default election principle from all slave units of combination plant be back-up master; (2) back-up master is preserved identical with main equipment in order to move the needed basic data of Routing Protocol, described basic data comprises network layer interface and routing configuration at least, also preserves the various Routing Protocol states and the route data that are produced in the operation Routing Protocol process simultaneously; (3) when the main equipment of combination plant leaves, back-up master is set to main equipment, described basic data, various Routing Protocol state and route data that described main equipment utilization is preserved carry out the data communication of whole combination plant and external device, and carry out step (1) and step (2).Step (2) further is: the user creates network layer interface and input routing configuration on main equipment, the interface configuration command of the described establishment network layer interface that described main equipment will be received and user configured routing configuration are sent to back-up master and carry out; Various Routing Protocol states and various route data that the main equipment of combination plant will produce in operation Routing Protocol process are backed up in realtime to back-up master.
This programme also comprises: neighbor device tabulation is set during each device start, and described neighbor device tabulation is in order to write down all devices information in the current combination plant; Each equipment in the combination plant regularly sends probe messages to other equipment of combination plant; Each equipment whenever receives a probe messages, whether the equipment that judge to send this probe messages has write down in the neighbor device tabulation with this equipment, if do not have, the equipment that then will send this probe messages is added into described neighbor device tabulation, and create a timer for described equipment, the time-out time of described timer is greater than the transmission cycle that sends probe messages, otherwise, refresh the timing of finding for the first time in the timer that this equipment creates.
The main equipment of combination plant leaves by following steps and obtains in the step (3): during the timer expiry of the equipment correspondence of each Equipment Inspection in neighbor device is tabulated, whether detect described timer corresponding equipment again is main equipment, if then described main equipment has left combination plant.
This programme also comprises: when main equipment detects back-up master and leaves combination plant, again backup master of election from all slave units, and main equipment backs up all basic datas, various Routing Protocol state and route data and gives this new backup master.
The invention also discloses the method for another kind of route backup, described unite to establish comprise some equipment, this method may further comprise the steps: (1) carries out the configuration of network layer interface and route on each equipment, but the configuration of described interface and route guarantees each equipment individual processing Routing Protocol at least; (2) under the initial situation or do not have equipment and be responsible under the Routing Protocol ruuning situation, select main equipment in order to be responsible for the operation of Routing Protocol by predetermined election principle; (3) main equipment is moved the information back-up of the change route that Routing Protocol produces at least one other equipment.In advance election principle is for producing main equipment according to a preset algorithm in the step (2) in the equipment of the information that backs up the route that changes.The information that changes route in the step (3) comprises various Routing Protocol states and the route data that is produced in the operation Routing Protocol process.
A kind of combination plant comprises some equipment, and this combination plant comprises: main equipment, and it is responsible for the operation of the Routing Protocol of combination plant; At least one slave unit has network layer interface consistent with main equipment and routing configuration, in order to the information of the backup master operation change route that Routing Protocol produced.Described main equipment comprises a backup units, and the information of the main equipment operation change route that Routing Protocol produced is sent to described slave unit.
Compared with prior art, the present invention has the following advantages: the present invention in a combination plant except on main equipment, preserving basic data, route switching state and route data, also at least in another equipment those data of backing up in realtime.During with convenient main equipment generation Single Point of Faliure; preserve the work of the main equipment that an equipment of those data can seamless adapter leaves: utilize previous described basic data of preserving; various Routing Protocol states and route data continue the whole combination plant of representative and external device carries out data communication; and the Routing Protocol and the forwarding business that keep moving on the whole combination plant in this main equipment handoff procedure are not interrupted; and then be implemented in the hot plug function of equipment under the situation of not interrupting Routing Protocol, make the intelligent fault protection of combination plant and become a reality in the flexible expansion function of not interrupting under the Routing Protocol prerequisite.Equipment after the employing the art of this patent can be eliminated fully because the network that the tables of equipment point failure brings interrupts or network oscillation; realize the complete intelligent protection of equipment fault; the smooth upgrade and the flexible expansion function of equipment also are provided simultaneously, and the user can expand the port number and the exchange capacity of combination plant by increasing new equipment according to actual needs at any time.
Description of drawings
Fig. 1 is a topology example figure of combination plant;
Fig. 2 is a combination plant structural representation of the present invention;
Fig. 3 is the flow chart of route backup in a kind of combination plant provided by the invention;
Fig. 4 is the flow chart of route backup in the another kind of combination plant provided by the invention;
Fig. 5 is the flow chart that also has route backup in a kind of combination plant provided by the invention.
Embodiment
Below in conjunction with accompanying drawing, specify the present invention.
Have only in the prior art combination plant and preserve basic data, route switching state and the route data that whole combination plant and external device are set up complete neighborhood on the main equipment, when Single Point of Faliure appears in main equipment, can bring network to interrupt or network oscillation.For this reason, the present invention proposes the method for route backup in the combination plant, its core is, in a combination plant except on main equipment, preserving basic data, Routing Protocol state and route data, also at least at another equipment, those data of backing up in realtime.During with convenient main equipment generation Single Point of Faliure, preserve the work of the main equipment that an equipment of those data can seamless adapter leaves.For whole combination plant, the key message of all Routing Protocols does not all have to change, and does not therefore need to carry out with external device the negotiation again of neighborhood, can not go out active route phenomenon simultaneously yet.Be before and after each equipment leaves, the Routing Protocol neighborhood is not interrupted, and route still is kept perfectly and stablizes, and then eliminates because the network that the tables of equipment point failure brings interrupts or network oscillation fully, guarantees data transmission capabilities simultaneously.
See also Fig. 2, it is the structural representation of combination plant of the present invention.This combination plant comprises:
Main equipment 11, it is responsible for the operation of the Routing Protocol of combination plant;
At least one slave unit 12 has network layer interface and the routing configuration consistent with main equipment 11, in order to the information of the backup master operation change route that Routing Protocol produced.
Each equipment of combination plant can be that ring-type connects, at the beginning of setting up, each equipment elects the main equipment 11 of this combination plant according to predefined election principle, and on main equipment 11, be provided with and preserve in order to the needed basic data of operation Routing Protocol, described basic data comprises network layer interface and routing configuration at least, and a backup units is set on main equipment, during the information of the change route that produces when main equipment operation Routing Protocol, be sent to described slave unit 12 in real time, so that it backs up.
Network layer interface and the routing configuration consistent with main equipment 11 can be set on all slave units, and, the information that receives the backup units transmission backs up, and also can elect at least one slave unit according to default election principle in slave unit, carries out the standby work of main equipment.Such as, have network layer interface consistent and routing configuration with main equipment, also preserve the various Routing Protocol states and the route data that are produced in the main equipment operation Routing Protocol process simultaneously.
In combination plant of the present invention, when main equipment leaves combination plant or breaks down, main equipment that can election makes new advances from the slave unit of the standby routing iinformation that main equipment arranged.
See also Fig. 3, it is the flow chart of route backup in a kind of combination plant provided by the invention.It may further comprise the steps:
S110: all devices is preserved identical in order to the needed basic data of operation Routing Protocol in the combination plant, described basic data comprises network layer interface and routing configuration at least, also preserves the various Routing Protocol states and the route data that are produced in the operation Routing Protocol process simultaneously;
S120: under the initial situation or do not have equipment and be responsible under the Routing Protocol ruuning situation, the main equipment that whole combination plant makes new advances according to default election principle election, the previous described basic data of preserving of described new main equipment utilization, various Routing Protocol state and the route data continuation whole combination plant of representative and external device carry out data communication.
At first specifically introduce step S110.
(1) all devices is preserved identically in order to the needed basic data of operation Routing Protocol, and basic data comprises network layer interface and routing configuration a: all devices has on all four network layer interface (claiming three layer interfaces again) in the combination plant.
The user creates three layer interfaces on any one equipment, in a single day equipment receive the interface configuration command of creating three layer interfaces, just will order mass-sending to other equipment in this combination plant to move.
Three layer interfaces are meant network layer interface.Be divided into physical layer, link layer, network layer, transport layer, five levels of application layer in the ICP/IP protocol stack, network layer is exactly the 3rd layer.Routing Protocol is a kind of agreement of dynamically carrying out the network layer addressing, so need set up network layer interface on equipment.
The user creates three layer interfaces on any one equipment, receive that user configured equipment is synchronized to interface configuration command on other equipment immediately.Describedly be meant that synchronously the order that the user is knocked in backs up to miscellaneous equipment.For example the user knocks in order A on unit1, also can carry out order A on remaining unit equally in order to allow, and unit1 need backup to order A on all the other all unit and carry out, and all unit on the Fabric can receive also fill order A like this.The establishment and the configuration that are any three layer interfaces are all carried out on whole combination plant simultaneously, thereby three layer interfaces of realizing each equipment in the combination plant are in full accord.Described three layer interfaces comprise parameter informations such as interface name, IP address, MAC Address.
B: all devices has on all four routing configuration
Any one equipment in the combination plant receives that the user disposes, and moves to all the other all devices in the combination plant synchronously immediately.These configurations comprise all route relevant configuration such as Routing Protocol parameter (parameters of agreements such as OSPF/RIP itself), static routing, routing policy, be that any Routing Protocol relevant configuration is all carried out on whole combination plant simultaneously, so that the routing configuration on each equipment is all in full accord in the combination plant.
(2) all devices has on all four Routing Protocol state and route data
Equipment in the combination plant is divided into main equipment and slave unit.Main equipment can elect from all devices according to default election principle.Carry out the transfer of data of whole combination plant and external device by main equipment.Have only entire run Routing Protocol on the main equipment, be responsible for setting up neighbours and go forward side by side walking along the street by information interaction with external device.In addition, main equipment also is responsible for carrying out backing up in realtime of routing iinformation to all the other slave units that does not send with the processing protocol message, such as, the main equipment cycle sends routing iinformation to each slave unit or event-triggered and sends information to each slave unit.With OSPF is example, have only main equipment just to receive and send all ospf protocol messages and external device is set up complete neighborhood, and complete participation routing iinformation is mutual.Find to have any ospf interface state, neighbor state and LSA when main equipment and change, send immediately and back up in realtime data, make that all main equipments in the combination plant remain unanimity on these critical datas to the slave unit in the combination plant.The routing iinformation of backup comprises keeps neighborhood and route is stablized needed all critical datas after master-slave equipment is switched.Ospf protocol (OSPF) needs the routing iinformation of backup to comprise Interface status, neighbor state, LSA database etc.
In fact, among the step S110 in the combination plant all devices preserve identical route data can also for: the user preserves on main equipment in advance in order to the needed basic data of operation Routing Protocol, such as creating network layer interface and input routing configuration, the interface configuration command of the described establishment network layer interface that described main equipment will be received and user configured routing configuration, all slave units that are sent to combination plant are carried out; Main equipment backs up in realtime the Routing Protocol state and the route data of local terminal to all slave units.
Then, specifically introduce step S120.
The neighbor device of a blank of initialization tabulation during each device start, in order to writing down all devices information (described facility information comprises the UNIT ID of equipment at least) in the current combination plant, and monitor the probe messages that miscellaneous equipment is sent from current combination plant;
When receiving a probe messages, inquire about in the neighbor device tabulation that preserve this locality according to the UNIT ID that carries in the probe messages, if there is not the equipment of this UNIT ID in the local neighbor device tabulation of preserving, then the equipment of this probe messages of explanation transmission is a new adding equipment, then create a timer for this new equipment, the timeout interval of described timer must generally be defaulted as 4 times of probe messages transmission cycle greater than the transmission cycle that sends probe messages; If there is the equipment of this UNITID in the local neighbor device tabulation of preserving, then explanation had before had been found that this equipment, refresh the timer of creating when finding this equipment for the first time (described timer and equipment are set up relation one to one): make its time-out time receive that with current the time of probe messages is that the basis is recomputated, computational methods are time-out time=current time+timeout interval.
When in the neighbor device tabulation during certain the pairing timer expiry of equipment, the probe messages from this equipment is never received in explanation in timeout interval, can conclude that this equipment has left combination plant for a certain reason, equipment state by this equipment in the tabulation of inquiry neighbor device can judge whether the equipment that leaves is main equipment, if just carry out the main equipment that makes new advances according to default election principle election.
No equipment is responsible for Routing Protocol ruuning situation and is obtained by following steps: during the timer expiry of the equipment correspondence of each Equipment Inspection in neighbor device is tabulated, whether detect described timer corresponding equipment again is main equipment, if then described main equipment has left combination plant.
Still be example with Fig. 1, have four equipment: unit1, unit2, unit3, unit4 in this combination plant.Unit1 is a main equipment.Suppose that each equipment can send a probe messages every 1 second, described probe messages comprises unique identifier (ID) of this equipment at least.When equipment receives a probe messages, determine corresponding transmitting apparatus according to the ID in the message, judge earlier whether the equipment that sends this probe messages is new equipment, if, create a timer, the timing of this timer is 4S, timer picks up counting, when the incident of timer expiry is arranged, judge earlier whether the equipment that leaves is main equipment, if carry out follow-up main equipment election.
Arbitrary equipment can adopt the mass-sending function to send route data when other equipment send basic data in step S110.
If what leave is that slave unit does not deal with.Leave combination plant when slave unit detects main equipment, then select a new main equipment according to default election principle.Such as, the election principle is that the equipment of ID maximum is main equipment.Of paramount importance is that the election principle that is provided with on all devices in the combination plant is identical.Like this, the main equipment of electing out according to unified election principle is unique.The all working of the main equipment that has been left by new primary device connection tube for example sends and receives routing protocol packet, carries out backing up in realtime of Routing Protocol critical data etc. to slave unit.
Because all three layer interfaces, routing configuration in the combination plant on each equipment and keep neighborhood and route to stablize needed critical data all be on all four, the work of the main equipment that therefore new elected main equipment can seamless adapter leaves.For whole combination plant, the key message of all Routing Protocols does not all have to change, and is example with OSPF, and the interface state machine of OSPF and neighbor state machine all do not have to change, and does not therefore need to carry out with external device the negotiation again of neighborhood; All link information storehouses of OSPF also are complete, therefore also can not go out active route phenomenon.Be before and after main equipment leaves, the Routing Protocol neighborhood is not interrupted, with Fig. 1 is example, after Unit1 breaks down, Unit2 can be seamless the work of catcher Unit1, the Routing Protocol OSPF/RIP that all are moving on the combination plant can not be affected, and for external device, has Single Point of Faliure to take place on the imperceptible at all combination plant.
When main equipment detected new equipment and adds combination plant, all basic datas that this equipment is preserved comprised that synchronously to this new equipment configuration information is synchronously to described new equipment; With the all-network layer interface information synchronization of preserving to described new equipment; And will move the Routing Protocol state and the route data that are produced in the Routing Protocol process and back up to new equipment.
After an equipment adds combination plant, can periodic send the probe messages of having carried self information (for example Unit ID etc.), and the miscellaneous equipment in the combination plant has been received the probe messages that the adding equipment of making a fresh start is sent, and just can identify this new equipment.Fashionable to there being new equipment to add, main equipment starts the batch backup flow process immediately according to the following steps.
First: the configuration restore flow process of carrying out striding equipment: the form that on the combination plant all is configured to the internal data bag is given this initiate equipment synchronously, make initiate equipment learn rapidly oneself to add before all configurations on the combination plant, thereby guarantee the consistency of all devices configuration information in the combination plant in the short time at the utmost point.
Second: the synchronous flow process of interface of carrying out striding equipment: all three layer interfaces on the combination plant all are synchronized on the initiate equipment, make initiate equipment have and on all four three layer interfaces of miscellaneous equipment.
The the 3rd: Routing Protocol state and the route data batch backup flow process of carrying out striding equipment: the critical data batch backup of each Routing Protocol that will move is given initiate equipment, and the content of batch backup comprises keeps neighborhood and route is stablized needed all critical datas after master-slave equipment is switched.Described critical data comprises variety of protocol state machine, interface state machine and the link information storehouse etc. of Routing Protocol, with OSPF is example, the related data of needs backup OSPF global data, All Ranges, the state machine of total interface and related data, all neighbours' state machine and related data, all LSA and retransmission list etc.Routing Protocol batch backup by striding equipment make initiate equipment at short notice rapidly and on the combination plant routing iinformation of all miscellaneous equipments be consistent.
By said method, can guarantee to add fashionable as equipment, the equipment that guarantee to add can be realized hot plug function.The user can also expand the port number and the exchange capacity of combination plant by increasing new equipment according to actual needs at any time.
In such scheme, all devices is all preserved in order to set up Routing Protocol state and the route data that is produced in the basic data, operation Routing Protocol process of complete neighborhood with external device in the whole combination plant.The invention allows for the method that realizes hot plug in the another kind of combination plant, in the method, only need two equipment in the whole combination plant and preserve those data, reduce other equipment in order to store the shared memory space of those data with this.See also Fig. 4, it is the flow chart of route backup in the another kind of combination plant.Comprise:
S210: main equipment is set earlier under initial situation, and electing an equipment according to default election principle from all slave units of combination plant again is back-up master;
S220: back-up master is preserved identical with main equipment in order to move the needed basic data of Routing Protocol, described basic data comprises network layer interface and routing configuration at least, also preserves the various Routing Protocol states and the route data that are produced in the operation Routing Protocol process simultaneously;
The user creates network layer interface and input routing configuration on main equipment, the interface configuration command of the described establishment network layer interface that described main equipment will be received and user configured routing configuration are sent to back-up master and carry out;
Various Routing Protocol states and various route data that the main equipment of combination plant will produce in operation Routing Protocol process are backed up in realtime to back-up master.
S230: no equipment is responsible for Routing Protocol ruuning situation, back-up master is set to main equipment, described basic data, various Routing Protocol state and route data that described main equipment utilization is preserved carry out the data communication of whole combination plant and external device, and carry out step S210 and step S220.
The neighbor device of a blank of initialization tabulation during each device start, in order to writing down all devices information (described facility information comprises the UNIT ID of equipment at least) in the current combination plant, and monitor the probe messages that miscellaneous equipment is sent from current combination plant;
When receiving a probe messages, inquire about in the neighbor device tabulation that preserve this locality according to the UNIT ID that carries in the probe messages, if there is not the equipment of this UNIT ID in the local neighbor device tabulation of preserving, then the equipment of this probe messages of explanation transmission is a new adding equipment, then create a timer for this new equipment, the timeout interval of described timer must generally be defaulted as 4 times of probe messages transmission cycle greater than the transmission cycle that sends probe messages; If there is the equipment of this UNITID in the local neighbor device tabulation of preserving, then explanation had before had been found that this equipment, refreshed the timer of creating when finding this equipment for the first time.Make its time-out time receive that with current the time of probe messages is that the basis is recomputated, computational methods are time-out time=current time+timeout interval.
When in the neighbor device tabulation during certain the pairing timer expiry of equipment, the probe messages from this equipment is never received in explanation in timeout interval, can conclude that this equipment has left combination plant for a certain reason, equipment state by this equipment in the tabulation of inquiry neighbor device can judge whether the equipment that leaves is main equipment, if just carry out the main equipment that makes new advances according to default election principle election.
If detecting backup master leaves, promptly do not have equipment and be responsible for Routing Protocol ruuning situation, need backup master of election from all slave units again, and main equipment need back up all basic datas, various Routing Protocol state and route data to this new backup master.
According to above-mentioned disclosed method, be implemented in the hot plug function of Unit under the situation of not interrupting Routing Protocol.Make the intelligent fault protection of Fabric and become a reality in the flexible expansion function of not interrupting under the Routing Protocol prerequisite.
See also Fig. 5, it is the flow chart of the method for route backup in the third combination plant disclosed by the invention.This method may further comprise the steps:
S310: at least two equipment, carry out the configuration of network layer interface and route, but the configuration of described interface and route guarantees each equipment individual processing Routing Protocol at least;
S320:, select main equipment in order to be responsible for the operation of Routing Protocol by predetermined election principle under the initial situation or do not have equipment and be responsible under the Routing Protocol ruuning situation;
S330: main equipment is moved the information back-up of the change route that Routing Protocol produces at least one other equipment.
Such scheme comprises at least with next embodiment.On each equipment of combination plant, all be provided with configuration, under initial situation, elect main equipment, to be responsible for the Routing Protocol operation of whole combination plant according to default election principle in order to operation needed network layer interface of Routing Protocol and route.And, on slave unit, elect at least one back-up master, be used for main equipment is moved the information of the change route that Routing Protocol produces, so that main equipment leaves or when breaking down, back-up master can be administered the Routing Protocol operation of this combination plant.The information that changes route in the step (3) comprises various Routing Protocol states and the route data that is produced in the operation Routing Protocol process.
Such scheme also comprises: all be provided with the configuration in order to operation needed network layer interface of Routing Protocol and route at least two equipment of combination plant, can be under initial situation, an election wherein equipment is a main equipment, and main equipment will move the information back-up of the change route that Routing Protocol produces in real time to the equipment that is provided with network layer interface and routing configuration (those equipment can be referred to as back-up master).When main equipment leaves, from back-up master, elect one of them administers this combination plant as new main equipment Routing Protocol operation according to default election principle.
More than disclosed only be several specific embodiment of the present invention, but the present invention is not limited thereto, any those skilled in the art can think variation all should drop in protection scope of the present invention.
Claims (15)
1, the method for route backup in a kind of combination plant, described combination plant comprises some equipment, it is characterized in that, comprising:
(1) all devices is preserved identical in order to the needed basic data of operation Routing Protocol in the combination plant, described basic data comprises network layer interface and routing configuration at least, also preserves the various Routing Protocol states and the route data that are produced in the operation Routing Protocol process simultaneously;
(2) under the initial situation or do not have equipment and be responsible under the Routing Protocol ruuning situation, the main equipment that whole combination plant makes new advances according to default election principle election, the previous described basic data of preserving of described new main equipment utilization, various Routing Protocol state and the route data continuation whole combination plant of representative and external device carry out data communication.
2, the method for route backup in the combination plant as claimed in claim 1 is characterized in that, the identical basic data of all devices preservation specifically comprises in step (1) combination plant:
The user creates network layer interface on any one equipment, described equipment is received the interface configuration command of described establishment network layer interface, and described command synchronization is carried out to other all devices of combination plant;
Arbitrary equipment of combination plant is received user configured routing configuration, and other all devices that are sent to combination plant are carried out.
3, the method for route backup in the combination plant as claimed in claim 1 or 2 is characterized in that, the various Routing Protocol states and the route data that are produced in all devices preservation operation Routing Protocol process in step (1) combination plant specifically comprise:
Various Routing Protocol states and various route data that the main equipment of combination plant will produce in operation Routing Protocol process are backed up in realtime to other equipment of combination plant.
4, the method for route backup in the combination plant as claimed in claim 1 is characterized in that, also comprises:
The tabulation of one neighbor device is set during each device start, and described neighbor device tabulation is in order to write down all devices information in the current combination plant;
Each equipment in the combination plant regularly sends probe messages to other equipment of combination plant;
Each equipment whenever receives a probe messages, whether the equipment that judge to send this probe messages has write down in the neighbor device tabulation with this equipment, if do not have, the facility information that then will send this probe messages is added into described neighbor device tabulation, and create a timer for described equipment, the time-out time of described timer is greater than the transmission cycle that sends probe messages, otherwise, refresh the timing in the timer of this equipment correspondence.
5, the method for route backup in the combination plant as claimed in claim 4 is characterized in that, judges in the step (2) that having or not equipment to be responsible for Routing Protocol ruuning situation obtains by following steps:
During the timer expiry of the equipment correspondence of each Equipment Inspection in neighbor device tabulation, whether be main equipment, if then described main equipment has left combination plant if detecting described timer corresponding equipment again.
6, the method for route backup in the combination plant as claimed in claim 4, it is characterized in that, when main equipment detects new equipment adding combination plant, with carrying out that this equipment is preserved in order to the synchronous extremely described new equipment of the needed basic data of operation Routing Protocol; The various Routing Protocol states and the route data that are produced in each operation Routing Protocol process are backed up to new equipment.
7, the method for route backup in a kind of combination plant, described combination plant comprises some equipment, it is characterized in that, comprising:
(1) under initial situation, main equipment is set, and to elect an equipment according to default election principle from all slave units of combination plant is back-up master;
(2) back-up master is preserved identical with main equipment in order to move the needed basic data of Routing Protocol, described basic data comprises network layer interface and routing configuration at least, also preserves the various Routing Protocol states and the route data that are produced in the operation Routing Protocol process simultaneously;
(3) when the main equipment of combination plant leaves, back-up master is set to main equipment, described basic data, various Routing Protocol state and route data that described main equipment utilization is preserved carry out the data communication of whole combination plant and external device, and carry out step (1) and step (2).
8, the method for route backup in the combination plant as claimed in claim 7 is characterized in that, step (2) further is:
The user creates network layer interface and input routing configuration on main equipment, the interface configuration command of the described establishment network layer interface that described main equipment will be received and user configured routing configuration are sent to back-up master and carry out;
Various Routing Protocol states and various route data that the main equipment of combination plant will produce in operation Routing Protocol process are backed up in realtime to back-up master.
9, the method for route backup in the combination plant as claimed in claim 7 is characterized in that, also comprises:
The tabulation of one neighbor device is set during each device start, and described neighbor device tabulation is in order to write down all devices information in the current combination plant;
Each equipment in the combination plant regularly sends probe messages to other equipment of combination plant;
Each equipment whenever receives a probe messages, whether the equipment that judge to send this probe messages has write down in the neighbor device tabulation with this equipment, if do not have, the equipment that then will send this probe messages is added into described neighbor device tabulation, and create a timer for described equipment, the time-out time of described timer is greater than the transmission cycle that sends probe messages, otherwise, refresh the timing of finding for the first time in the timer that this equipment creates.
10, the method for route backup in the combination plant as claimed in claim 9 is characterized in that, the main equipment of combination plant leaves by following steps and obtains in the step (3):
During the timer expiry of the equipment correspondence of each Equipment Inspection in neighbor device tabulation, whether be main equipment, if then described main equipment has left combination plant if detecting described timer corresponding equipment again.
11, as the method for route backup in claim 7 or the 9 described combination plants, it is characterized in that, also comprise:
When main equipment detected back-up master and leaves combination plant, backup master of election from all slave units, and main equipment again backed up all basic datas, various Routing Protocol state and route data and gives this new backup master.
12. the method for route backup in the combination plant, described unite to establish comprise some equipment, it is characterized in that this method may further comprise the steps:
(1) at least two equipment, carry out the configuration of network layer interface and route, but the configuration of described interface and route guarantees each equipment individual processing Routing Protocol at least;
(2) under the initial situation or do not have equipment and be responsible under the Routing Protocol ruuning situation, select main equipment in order to be responsible for the operation of Routing Protocol by predetermined election principle;
(3) main equipment is moved the information back-up of the change route that Routing Protocol produces at least one other equipment.
13, the method for route backup as claimed in claim 12 is characterized in that, the information that changes route in the step (3) comprises various Routing Protocol states and the route data that is produced in the operation Routing Protocol process.
14, a kind of combination plant comprises some equipment, it is characterized in that, this combination plant comprises:
Main equipment, it is responsible for the operation of the Routing Protocol of combination plant;
At least one slave unit has network layer interface consistent with main equipment and routing configuration, in order to the information of the backup master operation change route that Routing Protocol produced.
15, combination plant as claimed in claim 15 is characterized in that, described main equipment comprises a backup units, and the information of the main equipment operation change route that Routing Protocol produced is sent to described slave unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2005100767086A CN1725733A (en) | 2005-06-10 | 2005-06-10 | Method of route backup in combination equipment and combination equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2005100767086A CN1725733A (en) | 2005-06-10 | 2005-06-10 | Method of route backup in combination equipment and combination equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN1725733A true CN1725733A (en) | 2006-01-25 |
Family
ID=35924983
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA2005100767086A Pending CN1725733A (en) | 2005-06-10 | 2005-06-10 | Method of route backup in combination equipment and combination equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1725733A (en) |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101478492B (en) * | 2009-02-10 | 2011-04-13 | 杭州华三通信技术有限公司 | Method and apparatus for stacking member port detection |
CN101588302B (en) * | 2009-06-26 | 2011-08-31 | 杭州华三通信技术有限公司 | Method and apparatus for updating router |
CN102215112A (en) * | 2010-04-08 | 2011-10-12 | 杭州华三通信技术有限公司 | Method applied to FCoE (Fiber Channel over Ethernet) networking and used for optimizing FSPE (Fiber Shortest Path First) protocol and switchboards |
WO2011143888A1 (en) * | 2010-05-20 | 2011-11-24 | 中兴通讯股份有限公司 | Method and system for backing up protocol state between devices |
CN101026473B (en) * | 2007-03-30 | 2012-01-11 | 中兴通讯股份有限公司 | Method and system for realizing uninterrupted flow repeat of route exchange device |
CN102404216A (en) * | 2011-11-23 | 2012-04-04 | 华为技术有限公司 | Method for TRILL (transparent interconnection of lots of links) network protection, routing bridge and system |
CN101534182B (en) * | 2009-04-27 | 2012-11-21 | 华为技术有限公司 | Method, veneer and network equipment for sending route information |
WO2016000107A1 (en) * | 2014-06-30 | 2016-01-07 | 华为技术有限公司 | Primary and secondary system handover method for dynamic route device, and apparatus thereof |
CN105634830A (en) * | 2016-03-14 | 2016-06-01 | 北京星网锐捷网络技术有限公司 | OSPF hot standby method and device |
CN106411574A (en) * | 2016-09-05 | 2017-02-15 | 杭州昆海信息技术有限公司 | Management control method and device |
CN106603272A (en) * | 2016-11-17 | 2017-04-26 | 上海斐讯数据通信技术有限公司 | Controller protection method and system based on smooth restart |
CN107038094A (en) * | 2017-04-27 | 2017-08-11 | 紫光华山信息技术有限公司 | A kind of data back up method and device |
CN107145400A (en) * | 2010-09-22 | 2017-09-08 | 罗塞塔石碑有限公司 | Computerization task is performed using different device |
CN109245940A (en) * | 2018-10-15 | 2019-01-18 | 厦门卓网信息科技股份有限公司 | A kind of method network equipment discovery and detected |
CN109951388A (en) * | 2019-03-29 | 2019-06-28 | 新华三技术有限公司 | Route non-interrupted method and master control borad |
CN111371680A (en) * | 2020-03-04 | 2020-07-03 | 深信服科技股份有限公司 | Route management method, device, equipment and storage medium for dual-computer hot standby |
-
2005
- 2005-06-10 CN CNA2005100767086A patent/CN1725733A/en active Pending
Cited By (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101026473B (en) * | 2007-03-30 | 2012-01-11 | 中兴通讯股份有限公司 | Method and system for realizing uninterrupted flow repeat of route exchange device |
CN101478492B (en) * | 2009-02-10 | 2011-04-13 | 杭州华三通信技术有限公司 | Method and apparatus for stacking member port detection |
CN101534182B (en) * | 2009-04-27 | 2012-11-21 | 华为技术有限公司 | Method, veneer and network equipment for sending route information |
CN101588302B (en) * | 2009-06-26 | 2011-08-31 | 杭州华三通信技术有限公司 | Method and apparatus for updating router |
CN102215112A (en) * | 2010-04-08 | 2011-10-12 | 杭州华三通信技术有限公司 | Method applied to FCoE (Fiber Channel over Ethernet) networking and used for optimizing FSPE (Fiber Shortest Path First) protocol and switchboards |
CN102215112B (en) * | 2010-04-08 | 2013-11-27 | 杭州华三通信技术有限公司 | Method applied to FCoE (Fiber Channel over Ethernet) networking and used for optimizing FSPE (Fiber Shortest Path First) protocol and switchboards |
WO2011143888A1 (en) * | 2010-05-20 | 2011-11-24 | 中兴通讯股份有限公司 | Method and system for backing up protocol state between devices |
CN107145400A (en) * | 2010-09-22 | 2017-09-08 | 罗塞塔石碑有限公司 | Computerization task is performed using different device |
CN107145400B (en) * | 2010-09-22 | 2020-09-15 | 罗塞塔石碑有限公司 | Performing computerized tasks using different devices |
CN102404216A (en) * | 2011-11-23 | 2012-04-04 | 华为技术有限公司 | Method for TRILL (transparent interconnection of lots of links) network protection, routing bridge and system |
WO2016000107A1 (en) * | 2014-06-30 | 2016-01-07 | 华为技术有限公司 | Primary and secondary system handover method for dynamic route device, and apparatus thereof |
CN105634830A (en) * | 2016-03-14 | 2016-06-01 | 北京星网锐捷网络技术有限公司 | OSPF hot standby method and device |
CN106411574A (en) * | 2016-09-05 | 2017-02-15 | 杭州昆海信息技术有限公司 | Management control method and device |
CN106411574B (en) * | 2016-09-05 | 2020-01-03 | 新华三信息技术有限公司 | Management control method and device |
CN106603272A (en) * | 2016-11-17 | 2017-04-26 | 上海斐讯数据通信技术有限公司 | Controller protection method and system based on smooth restart |
CN107038094A (en) * | 2017-04-27 | 2017-08-11 | 紫光华山信息技术有限公司 | A kind of data back up method and device |
CN109245940A (en) * | 2018-10-15 | 2019-01-18 | 厦门卓网信息科技股份有限公司 | A kind of method network equipment discovery and detected |
CN109245940B (en) * | 2018-10-15 | 2021-04-27 | 厦门卓网信息科技股份有限公司 | Method for discovering and detecting network equipment |
CN109951388A (en) * | 2019-03-29 | 2019-06-28 | 新华三技术有限公司 | Route non-interrupted method and master control borad |
CN109951388B (en) * | 2019-03-29 | 2022-03-01 | 新华三技术有限公司 | Routing uninterrupted method and main control board |
CN111371680A (en) * | 2020-03-04 | 2020-07-03 | 深信服科技股份有限公司 | Route management method, device, equipment and storage medium for dual-computer hot standby |
CN111371680B (en) * | 2020-03-04 | 2022-04-29 | 深信服科技股份有限公司 | Route management method, device, equipment and storage medium for dual-computer hot standby |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1725733A (en) | Method of route backup in combination equipment and combination equipment | |
CN110912780B (en) | High-availability cluster detection method, system and controlled terminal | |
CN1135800C (en) | Internet protocol handler for telecommunications platform with processor cluster | |
US20170093965A1 (en) | Redundancy network protocol system | |
US9219701B2 (en) | Distributed method and system for implementing link aggregation control protocol (LACP) standard state machines | |
US10728099B2 (en) | Method for processing virtual machine cluster and computer system | |
CN101951345B (en) | Message transmitting method and equipment | |
CN1741489A (en) | High usable self-healing Logic box fault detecting and tolerating method for constituting multi-machine system | |
CN1848841A (en) | Route equipment backup method | |
WO2009023996A1 (en) | Method for implementing network interconnect via link aggregation | |
CN1949767A (en) | Method for switching master-slave back-up route apparatus based on virtual router redundant protocol | |
CN102904818A (en) | Method and device for updating ARP (Address Resolution Protocol) information table | |
CN110677282B (en) | Hot backup method of distributed system and distributed system | |
CN105515812A (en) | Fault processing method of resources and device | |
CN101047538A (en) | Seamless switch-over system of data link based on Ethernet exchange and its method | |
CN102006184A (en) | Management method, device and network device of stack link | |
WO2017000832A1 (en) | Mac address synchronization method, device and system | |
CN102917384A (en) | Hot backup method of coordinators in Zigbee network | |
CN102388570B (en) | Single board running method and system under active-standby mode | |
CN101895437A (en) | Method and equipment of distributed bidirectional forwarding detection (BFD) | |
CN101877631A (en) | Server and business switching method thereof | |
EP2658172A1 (en) | Multicast method and multicast device | |
CN101909006B (en) | BFD (Bidirectional Forwarding Detection) message sending and receiving methods as well as device and communication system thereof | |
CN1859423A (en) | Synchronous switching method for host and repeat device | |
CN101141233B (en) | Method for implementing node B master-slave redundancy |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |