CN113765787A - Fault processing method and device - Google Patents

Fault processing method and device Download PDF

Info

Publication number
CN113765787A
CN113765787A CN202110984690.9A CN202110984690A CN113765787A CN 113765787 A CN113765787 A CN 113765787A CN 202110984690 A CN202110984690 A CN 202110984690A CN 113765787 A CN113765787 A CN 113765787A
Authority
CN
China
Prior art keywords
link
vbgp
main
equipment
spine
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
CN202110984690.9A
Other languages
Chinese (zh)
Other versions
CN113765787B (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.)
New H3C Big Data Technologies Co Ltd
Original Assignee
New H3C Big Data Technologies 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 New H3C Big Data Technologies Co Ltd filed Critical New H3C Big Data Technologies Co Ltd
Priority to CN202110984690.9A priority Critical patent/CN113765787B/en
Publication of CN113765787A publication Critical patent/CN113765787A/en
Application granted granted Critical
Publication of CN113765787B publication Critical patent/CN113765787B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/22Alternate routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion

Landscapes

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

Abstract

The present application relates to the field of network communication technologies, and in particular, to a method and an apparatus for processing a fault. The method is applied to an SDN controller, the SDN controller establishes a first link with a first network card of each vBGP device, and a second network card of each vBGP device establishes a second link with a spine device, and the method comprises the following steps: monitoring the link state of a first link between the main vBGP equipment and the main vBGP equipment, wherein the first link between the main vBGP equipment and the main vBGP equipment is used for bearing management traffic, and a second link between the main vBGP equipment and spine equipment is used for bearing service traffic; when monitoring that a first link between the main vBGP equipment and the main vBGP equipment is in failure, configuring a second link between the main vBGP equipment and spine equipment as unavailable; and adopting a first link between the new main vBGP equipment to bear the management traffic, and adopting a second link between the new main vBGP equipment and the spine equipment to bear the service traffic.

Description

Fault processing method and device
Technical Field
The present application relates to the field of network communication technologies, and in particular, to a method and an apparatus for processing a fault.
Background
At present, because the SDN controller only processes routing information reported by the master VBGP, and issues a flow table to the vSwitch, and only injects routing information learned from the host overlap into the master VBGP, a VRRP technology is currently used to select the master VBGP, and the VRRP determines which VBGP undertakes a forwarding task through an election mechanism, and if a link fails, a new master can be elected again, thereby avoiding the problem of network interruption after a single link fails.
However, currently, VBGP is deployed by using a single network card, that is, traffic and managed traffic share a network card, exemplarily, referring to fig. 1, a networking schematic diagram provided for the related art is provided, SND controls a communication link with a VBGP device through a spine device, an SDN controller learns new routing information through the spine device, a VBGP software device learns the routing information related to host overlap through BGP connection, and at the same time, the SDN controller is triggered to learn and convert the routing information into a flow table to be issued to a vSwitch device, a service interaction step 1 and a management interaction step 2 share the same network card, and when traffic interaction causes congestion, service interaction may be affected.
Disclosure of Invention
The application provides a fault processing method and a fault processing device, which are used for solving the problem of … … in the prior art.
In a first aspect, the present application provides a fault handling method, which is applied to an SDN controller, where the SDN controller is connected to a first network card of each bgp device to establish a first link, and is connected to a spin device with a second network card of each bgp device to establish a second link, and the method includes:
monitoring a link state of a first link between the first link and a main vBGP device, wherein the first link between the first link and the main vBGP device is used for bearing management traffic, and a second link between the main vBGP device and a spine device is used for bearing service traffic;
when monitoring that a first link between the main vBGP equipment and the main vBGP equipment is in failure, configuring a second link between the main vBGP equipment and spine equipment as unavailable;
determining a new main vBGP device, adopting a first link between the new main vBGP device and the new main vBGP device to bear management traffic, and adopting a second link between the new main vBGP device and a spine device to bear service traffic.
Optionally, the step of monitoring the link status of the first link with the primary bgp device includes:
link status of a first link between primary vBGP devices is monitored based on network quality analysis NQA probes.
Optionally, the step of monitoring the link status of the first link between the primary bgp devices based on the network quality analysis NQA probe includes:
and transmitting an NQA detection message to the main vBGP equipment to judge whether the detection message is reachable, wherein when the unreachable times of the main vBGP equipment is detected to reach a preset value, a first link between the main vBGP equipment and the first link is determined to be in fault.
Optionally, the step of configuring the second link between the primary bgp device and the spine device as unavailable includes:
and setting the port state of a second network card connected with the spine equipment on the main vBGP equipment to be a down state.
Optionally, the method further comprises:
and if the failure recovery of the first link between the main vBGP equipment and the main vBGP equipment is monitored, adopting the first link between the main vBGP equipment and the main vBGP equipment to bear the management flow, and adopting the second link between the main vBGP equipment and the spine equipment to bear the service flow.
In a second aspect, the present application provides a fault handling apparatus, which is applied to an SDN controller, where the SDN controller is connected to a first network card of each bgp device to establish a first link, and is connected to a spine device by a second network card of each bgp device to establish a second link, where the apparatus includes:
the system comprises a monitoring unit, a processing unit and a processing unit, wherein the monitoring unit is used for monitoring the link state of a first link between the monitoring unit and a main vBGP device, the first link between the monitoring unit and the main vBGP device is used for bearing management traffic, and a second link between the main vBGP device and a spine device is used for bearing service traffic;
the configuration unit is used for configuring a second link between the main vBGP equipment and spine equipment as unavailable when the monitoring unit monitors that a first link between the main vBGP equipment and the main vBGP equipment fails;
and the switching unit is used for determining a new main vBGP device, adopting a first link between the new main vBGP device and the new main vBGP device to bear the management flow, and adopting a second link between the new main vBGP device and the spine device to bear the service flow.
Optionally, when monitoring a link state of a first link between the primary bgp device and the primary bgp device, the monitoring unit is specifically configured to:
link status of a first link between primary vBGP devices is monitored based on network quality analysis NQA probes.
Optionally, when monitoring a link state of a first link between the primary bgp devices based on network quality analysis NQA detection, the monitoring unit is specifically configured to:
and transmitting an NQA detection message to the main vBGP equipment to judge whether the detection message is reachable, wherein when the unreachable times of the main vBGP equipment is detected to reach a preset value, a first link between the main vBGP equipment and the first link is determined to be in fault.
Optionally, when the second link between the main bgp device and the spine device is configured to be unavailable, the configuration unit is specifically configured to:
and setting the port state of a second network card connected with the spine equipment on the main vBGP equipment to be a down state.
Optionally, the switching unit is further configured to:
if the monitoring unit monitors that the first link between the monitoring unit and the main vBGP equipment is recovered from a fault, the switching unit is used for adopting the first link between the monitoring unit and the main vBGP equipment to bear management flow and adopting the second link between the main vBGP equipment and the spine equipment to bear service flow.
In a third aspect, an embodiment of the present application provides a fault handling apparatus, including:
a memory for storing program instructions;
a processor for calling program instructions stored in said memory and for executing the steps of the method according to any one of the above first aspects in accordance with the obtained program instructions.
In a fourth aspect, the present application further provides a computer-readable storage medium storing computer-executable instructions for causing a computer to perform the steps of the method according to any one of the above first aspects.
To sum up, the fault processing method provided in the embodiment of the present application is applied to an SDN controller, where the SDN controller is connected to a first network card of each bgp device to establish a first link, and a second network card of each bgp device is connected to a spine device to establish a second link, and the method includes: monitoring the link state of a first link between the main vBGP equipment and the main vBGP equipment, wherein the first link between the main vBGP equipment and the main vBGP equipment is used for bearing management traffic, and a second link between the main vBGP equipment and spine equipment is used for bearing service traffic; when monitoring that a first link between the main vBGP equipment and the main vBGP equipment is in failure, configuring a second link between the main vBGP equipment and spine equipment as unavailable; and determining a new main vBGP device, adopting a first link between the new main vBGP device and the new main vBGP device to bear the management traffic, and adopting a second link between the new main vBGP device and the spine device to bear the service traffic.
By adopting the fault processing method provided by the embodiment of the application, the service network and the management network are accessed by adopting different network cards, the condition of traffic congestion caused by overlarge service traffic is avoided, and the mutual influence of the service traffic and the management traffic is reduced. Furthermore, through port (link) fault linkage, when a first link fault between the main vBGP equipment and the main vBGP equipment is monitored, the link between the main vBGP equipment and the spine equipment is set to be unavailable, namely, the main vBGP is switched, the traffic link is switched while the traffic link is managed, the service traffic link is switched, and service interruption is avoided.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments of the present application or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and other drawings can be obtained by those skilled in the art according to the drawings of the embodiments of the present application.
Fig. 1 is a schematic diagram of a networking provided in the related art;
fig. 2 is a detailed flowchart of a fault handling method according to an embodiment of the present application;
fig. 3 is a schematic diagram of a networking provided in an embodiment of the present application;
fig. 4 is a schematic structural diagram of a fault handling apparatus according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of another fault handling apparatus according to an embodiment of the present application.
Detailed Description
The terminology used in the embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein is meant to encompass any and all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used in the embodiments of the present application to describe various information, the information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. Depending on the context, moreover, the word "if" as used may be interpreted as "at … …" or "when … …" or "in response to a determination".
Exemplarily, referring to fig. 2, a detailed flowchart of a fault handling method provided in an embodiment of the present invention is shown, where the method is applied to an SDN controller, where the SDN controller is connected to a first network card of each bgp device to establish a first link, and is connected to a spine device through a second network card of each bgp device to establish a second link, and the method includes the following steps:
step 200: monitoring a link state of a first link between the first link and a main vBGP device, wherein the first link between the first link and the main vBGP device is used for bearing management traffic, and a second link between the main vBGP device and a spine device is used for bearing service traffic.
Exemplarily, refer to fig. 3, which is a schematic diagram of a networking provided in an embodiment of the present application. The vBGP A and the vBGP B carry out master-slave election based on VRRP, the service network card and the management network card of the vBGP are separately deployed without sharing the network cards, namely a DC controller (SDN controller) is connected with a first network card (the port is Ge1/0/2, the ip address is 10.1.2.2/24) of the vBPG A, a corresponding first link is established, a second network card (the port is Ge1/0/1ip address is 10.1.1.2/24) of the vBPG A is connected with a spine device, a corresponding second link is established, the DC controller is connected with the first network card (the port is Ge1/0/2, the ip address is 10.1.2.2/24) of the vBPG B, the corresponding first link is established, the second network card (the port is Ge1/0/1, the ip address is 10.1.1.3/24) of the vBPG B is connected with the spine device, the corresponding second link is established, the current vBGP is taken as an example, the first link between the DC controller and the first network card of the vBPG A is used for bearing management flow, and the first link between the first network card of the vBPG A and the spine device is used for bearing service flow, so that the link separation of the management flow and the service flow is realized, and the management flow congestion caused by large service flow can be avoided.
In this embodiment of the present application, when monitoring a link state of a first link between a primary bgp device and a primary bgp device, a preferred implementation manner is:
monitoring a link state of a first link between primary vBGP devices based on Network Quality Analysis (NQA) probing.
Further, in this embodiment of the present application, when monitoring the link state of the first link between the primary bgp devices based on the network quality analysis NQA probe, a preferred implementation manner is:
and transmitting an NQA detection message to the main vBGP equipment to judge whether the detection message is reachable, wherein when the unreachable times of the main vBGP equipment is detected to reach a preset value, a first link between the main vBGP equipment and the first link is determined to be in fault.
For example, an SDN controller and a bgp software product are deployed on a deployment platform, an NQA detection period, timeout time, detection failure times (preset values) are set, and a track switch is started.
That is, based on the set NQA detection period, it is periodically detected whether the opposite end is reachable, and if the number of times of unreachability reaches a preset value, it indicates that the link with the opposite end is failed.
Step 210: and when monitoring that a first link between the main vBGP equipment and the main vBGP equipment is failed, configuring a second link between the main vBGP equipment and the spine equipment as unavailable.
In this embodiment of the present application, when the second link between the main bgp device and the spine device is configured to be unavailable, a preferred implementation manner is:
and setting the port state of a second network card connected with the spine equipment on the main vBGP equipment to be a down state.
In practical application, the NQA detection result may be associated with a track item in linkage, that is, the track is linked with the EEA, so as to implement fault port linkage and fault link linkage, that is, fault linkage between a first link between the bgp a and the SDN controller and a second link between the bgp a and the spine device.
That is, when a failure of a first link between the bgp a and the SDN controller is monitored, a second link between the bgp a and the spine device is set to unavailable (failed). Specifically, the network card interface connected to the spine device may be set to a down state, so that the corresponding second link is unavailable.
Step 220: determining a new main vBGP device, adopting a first link between the new main vBGP device and the new main vBGP device to bear management traffic, and adopting a second link between the new main vBGP device and a spine device to bear service traffic.
Obviously, when a first link fault between the SDN controller and the main bgp device is monitored, it indicates that the current main bgp device is unavailable, at this time, a new main bgp device needs to be selected from other available bgp devices, at this time, the newly elected main bgp B reports a netconf event to the SDN controller, and the SDN controller registers the main bgp device in response to the event and performs normal interaction with the main bgp device.
In the embodiment of the application, after determining a new main vBGP device, the SDN controller needs to switch the management traffic to a first link bearer between the new main vBGP device and the SDN controller, and switch the service traffic to a second link bearer between the new main vBGP device and a spine device.
Further, in this embodiment of the application, if it is monitored that a first link between the primary bgp device and the primary bgp device recovers due to a failure, a first link between the primary bgp device and the primary bgp device is used to carry management traffic, and a second link between the primary bgp device and the spine device is used to carry service traffic.
Exemplarily, referring to fig. 4, a schematic structural diagram of a fault handling device provided in this embodiment of the present application is applied to an SDN controller, where the SDN controller is connected to a first network card of each bgp device to establish a first link, and is connected to a spine device through a second network card of each bgp device to establish a second link, and the fault handling device includes:
the monitoring unit 40 is configured to monitor a link state of a first link between the main bgp device and the main bgp device, where the first link between the main bgp device and the main bgp device is used to carry management traffic, and a second link between the main bgp device and the spine device is used to carry service traffic;
a configuration unit 41, when the monitoring unit 40 monitors that a first link between the main bgp device and the main bgp device fails, the configuration unit 41 is configured to configure a second link between the main bgp device and the spine device as unavailable;
and the switching unit 42 is configured to determine a new main bgp device, use a first link between the new main bgp device and the new main bgp device to carry management traffic, and use a second link between the new main bgp device and the spine device to carry service traffic.
Optionally, when monitoring a link state of a first link between the primary bgp device and the primary bgp device, the monitoring unit 40 is specifically configured to:
link status of a first link between primary vBGP devices is monitored based on network quality analysis NQA probes.
Optionally, when monitoring a link state of a first link between the primary bgp devices based on network quality analysis NQA detection, the monitoring unit 40 is specifically configured to:
and transmitting an NQA detection message to the main vBGP equipment to judge whether the detection message is reachable, wherein when the unreachable times of the main vBGP equipment is detected to reach a preset value, a first link between the main vBGP equipment and the first link is determined to be in fault.
Optionally, when the second link between the main bgp device and the spine device is configured to be unavailable, the configuration unit 41 is specifically configured to:
and setting the port state of a second network card connected with the spine equipment on the main vBGP equipment to be a down state.
Optionally, the switching unit 42 is further configured to:
if the monitoring unit monitors that the first link between the monitoring unit and the main vBGP equipment is recovered from a fault, the switching unit is used for adopting the first link between the monitoring unit and the main vBGP equipment to bear management flow and adopting the second link between the main vBGP equipment and the spine equipment to bear service flow.
The above units may be one or more integrated circuits configured to implement the above methods, for example: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when one of the above units is implemented in the form of a Processing element scheduler code, the Processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. For another example, these units may be integrated together and implemented in the form of a system-on-a-chip (SOC).
In view of the above, it can be seen that,
further, in the fault handling apparatus provided in the embodiment of the present application, from a hardware level, a schematic diagram of a hardware architecture of the fault handling apparatus may be shown in fig. 5, where the fault handling apparatus may include: a memory 50 and a processor 51, which,
the memory 50 is used for storing program instructions; the processor 51 calls the program instructions stored in the memory 50 and executes the above-described method embodiments according to the obtained program instructions. The specific implementation and technical effects are similar, and are not described herein again.
Optionally, the present application also provides an SDN controller, including at least one processing element (or chip) for executing the above method embodiments.
Optionally, the present application also provides a program product, such as a computer-readable storage medium, having stored thereon computer-executable instructions for causing the computer to perform the above-described method embodiments.
Here, a machine-readable storage medium may be any electronic, magnetic, optical, or other physical storage device that can contain or store information such as executable instructions, data, and so forth. For example, the machine-readable storage medium may be: a RAM (random Access Memory), a volatile Memory, a non-volatile Memory, a flash Memory, a storage drive (e.g., a hard drive), a solid state drive, any type of storage disk (e.g., an optical disk, a dvd, etc.), or similar storage medium, or a combination thereof.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. A typical implementation device is a computer, which may take the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email messaging device, game console, tablet computer, wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Furthermore, these computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.

Claims (10)

1. A fault processing method is applied to an SDN controller, the SDN controller is connected with a first network card of each vBGP device to establish a first link, a second network card of each vBGP device is connected with a spine device to establish a second link, and the method comprises the following steps:
monitoring a link state of a first link between the first link and a main vBGP device, wherein the first link between the first link and the main vBGP device is used for bearing management traffic, and a second link between the main vBGP device and a spine device is used for bearing service traffic;
when monitoring that a first link between the main vBGP equipment and the main vBGP equipment is in failure, configuring a second link between the main vBGP equipment and spine equipment as unavailable;
determining a new main vBGP device, adopting a first link between the new main vBGP device and the new main vBGP device to bear management traffic, and adopting a second link between the new main vBGP device and a spine device to bear service traffic.
2. The method of claim 1, wherein monitoring the link state of the first link with the primary vBGP device comprises:
link status of a first link between primary vBGP devices is monitored based on network quality analysis NQA probes.
3. The method of claim 2, wherein the step of monitoring the link state of the first link between the primary vBGP devices based on Network Quality Analysis (NQA) probes comprises:
and transmitting an NQA detection message to the main vBGP equipment to judge whether the detection message is reachable, wherein when the unreachable times of the main vBGP equipment is detected to reach a preset value, a first link between the main vBGP equipment and the first link is determined to be in fault.
4. A method according to any one of claims 1-3, wherein the step of configuring the second link between the primary bgp device and the spine device as unavailable comprises:
and setting the port state of a second network card connected with the spine equipment on the main vBGP equipment to be a down state.
5. The method of any one of claims 1-3, further comprising:
and if the failure recovery of the first link between the main vBGP equipment and the main vBGP equipment is monitored, adopting the first link between the main vBGP equipment and the main vBGP equipment to bear the management flow, and adopting the second link between the main vBGP equipment and the spine equipment to bear the service flow.
6. The utility model provides a fault handling device, its characterized in that is applied to the SDN controller, the first network card of SDN controller and each vBGP equipment is connected, establishes first link, the second network card of each vBGP equipment is connected with spine equipment, establishes the second link, the device includes:
the system comprises a monitoring unit, a processing unit and a processing unit, wherein the monitoring unit is used for monitoring the link state of a first link between the monitoring unit and a main vBGP device, the first link between the monitoring unit and the main vBGP device is used for bearing management traffic, and a second link between the main vBGP device and a spine device is used for bearing service traffic;
the configuration unit is used for configuring a second link between the main vBGP equipment and spine equipment as unavailable when the monitoring unit monitors that a first link between the main vBGP equipment and the main vBGP equipment fails;
and the switching unit is used for determining a new main vBGP device, adopting a first link between the new main vBGP device and the new main vBGP device to bear the management flow, and adopting a second link between the new main vBGP device and the spine device to bear the service flow.
7. The apparatus of claim 6, wherein, when monitoring the link state of the first link with the primary vBGP device, the monitoring unit is specifically configured to:
link status of a first link between primary vBGP devices is monitored based on network quality analysis NQA probes.
8. The apparatus of claim 7, wherein, based on the Network Quality Analysis (NQA) probe, while monitoring the link state of the first link between the primary vBGP devices, the monitoring unit is specifically configured to:
and transmitting an NQA detection message to the main vBGP equipment to judge whether the detection message is reachable, wherein when the unreachable times of the main vBGP equipment is detected to reach a preset value, a first link between the main vBGP equipment and the first link is determined to be in fault.
9. The apparatus according to any one of claims 6 to 8, wherein when the second link between the primary vBGP device and the spine device is configured as unavailable, the configuration unit is specifically configured to:
and setting the port state of a second network card connected with the spine equipment on the main vBGP equipment to be a down state.
10. The apparatus of any of claims 6-8, wherein the switching unit is further to:
if the monitoring unit monitors that the first link between the monitoring unit and the main vBGP equipment is recovered from a fault, the switching unit is used for adopting the first link between the monitoring unit and the main vBGP equipment to bear management flow and adopting the second link between the main vBGP equipment and the spine equipment to bear service flow.
CN202110984690.9A 2021-08-25 2021-08-25 Fault processing method and device Active CN113765787B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110984690.9A CN113765787B (en) 2021-08-25 2021-08-25 Fault processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110984690.9A CN113765787B (en) 2021-08-25 2021-08-25 Fault processing method and device

Publications (2)

Publication Number Publication Date
CN113765787A true CN113765787A (en) 2021-12-07
CN113765787B CN113765787B (en) 2022-10-21

Family

ID=78791236

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110984690.9A Active CN113765787B (en) 2021-08-25 2021-08-25 Fault processing method and device

Country Status (1)

Country Link
CN (1) CN113765787B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102006222A (en) * 2010-11-16 2011-04-06 中兴通讯股份有限公司 Service link switching method and service link switching device
CN104301146A (en) * 2014-10-23 2015-01-21 杭州华三通信技术有限公司 Link switching method and device in software defined network
CN106533769A (en) * 2016-11-24 2017-03-22 华为技术有限公司 Fault recovery method and device
CN109815043A (en) * 2019-01-25 2019-05-28 华为技术有限公司 Fault handling method, relevant device and computer storage medium
CN110072263A (en) * 2019-03-26 2019-07-30 华为技术有限公司 A kind of method and electronic equipment switching card of surfing Internet
CN110830283A (en) * 2018-08-10 2020-02-21 华为技术有限公司 Fault detection method, device, equipment and system
CN112099913A (en) * 2020-09-01 2020-12-18 北京思特奇信息技术股份有限公司 Method for realizing safety isolation of virtual machine based on OpenStack
CN112583708A (en) * 2020-12-25 2021-03-30 新华三技术有限公司 Connection relation control method and device and electronic equipment
WO2021088808A1 (en) * 2019-11-05 2021-05-14 中兴通讯股份有限公司 Method for dual-homing device access traffic forwarding, device, and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102006222A (en) * 2010-11-16 2011-04-06 中兴通讯股份有限公司 Service link switching method and service link switching device
CN104301146A (en) * 2014-10-23 2015-01-21 杭州华三通信技术有限公司 Link switching method and device in software defined network
CN106533769A (en) * 2016-11-24 2017-03-22 华为技术有限公司 Fault recovery method and device
CN110830283A (en) * 2018-08-10 2020-02-21 华为技术有限公司 Fault detection method, device, equipment and system
CN109815043A (en) * 2019-01-25 2019-05-28 华为技术有限公司 Fault handling method, relevant device and computer storage medium
CN110072263A (en) * 2019-03-26 2019-07-30 华为技术有限公司 A kind of method and electronic equipment switching card of surfing Internet
WO2021088808A1 (en) * 2019-11-05 2021-05-14 中兴通讯股份有限公司 Method for dual-homing device access traffic forwarding, device, and storage medium
CN112099913A (en) * 2020-09-01 2020-12-18 北京思特奇信息技术股份有限公司 Method for realizing safety isolation of virtual machine based on OpenStack
CN112583708A (en) * 2020-12-25 2021-03-30 新华三技术有限公司 Connection relation control method and device and electronic equipment

Also Published As

Publication number Publication date
CN113765787B (en) 2022-10-21

Similar Documents

Publication Publication Date Title
US9747183B2 (en) Method and system for intelligent distributed health monitoring in switching system equipment
CN105187249B (en) A kind of fault recovery method and device
CN109450666B (en) Distributed system network management method and device
CN106533736B (en) Network equipment restarting method and device
CN107508694B (en) Node management method and node equipment in cluster
CN109286529A (en) A kind of method and system for restoring RabbitMQ network partition
CN111698028B (en) FC link detection method, device, equipment and machine readable storage medium
US9807051B1 (en) Systems and methods for detecting and resolving split-controller or split-stack conditions in port-extended networks
CN113328916B (en) BFD detection mode switching method, device and equipment
CN102387087A (en) Method and system for realizing standby route based on active detection technique
CN106878096B (en) VNF state detection notification method, device and system
CN110535714B (en) Arbitration method and related device
CN109327343B (en) Automatic inspection method and system for openstack cloud environment
CN107656847A (en) Node administration method, system, device and storage medium based on distributed type assemblies
CN103647710A (en) Path configuration method and device
JP6421516B2 (en) Server device, redundant server system, information takeover program, and information takeover method
CN113765787B (en) Fault processing method and device
CN109587218B (en) Cluster election method and device
CN109617716B (en) Data center exception handling method and device
CN103414591A (en) Method and system for fast converging when port failure is recovered
US10516625B2 (en) Network entities on ring networks
WO2017181778A1 (en) Method and apparatus for extending link between master controls of dual-master-control device
JP5653947B2 (en) Network management system, network management device, network management method, and network management program
CN112383471A (en) Method, device and equipment for managing knife box link and machine readable storage medium
CN113472642B (en) Protection switching method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant