Method and system for enhancing high availability of computer networks

By synchronizing the link status between the LAN edge device and the gateway system, detecting HA cable disconnection and determining active devices, it solves the problems of single point of failure and split-brain scenarios in the existing HA network topology, implements dynamic HA mode, and improves network availability and reliability.

CN115460068BActive Publication Date: 2024-10-25VMWARE INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211252323.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2017-12-12
Filing Date
2018-11-07
Publication Date
2024-10-25
Estimated Expiration
2038-11-07

AI Technical Summary

Technical Problem

Existing high-availability (HA) network topologies present the risk of single points of failure on the WAN side and unpredictable behavior in split-brain scenarios, resulting in traffic loss and increased complexity, without the need for redundant switch configurations that provide real benefits.

Method used

By providing local area network (LAN) edge devices, synchronize the status of multiple links, and use the gateway system to detect HA cable disconnection, establish network connections, determine active devices, pass traffic, notify edge devices to enter standby mode, and avoid split-brain scenarios. Implement dynamic HA mode.

Benefits of technology

It eliminates the need for switches on the WAN side, reduces complexity, improves network availability and reliability, avoids traffic loss, and effectively enhances the HA network.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115460068B_ABST
    Figure CN115460068B_ABST
Patent Text Reader

Abstract

The present disclosure relates to methods and systems for enhancing high availability of computer networks. In one aspect, a computer networking method for implementing a dynamic high availability (HA) mode based on current wide area network (WAN) connectivity includes the following steps: providing a first edge device of a local area network (LAN) to the WAN; providing a second edge device of the LAN to the WAN; and synchronizing the states of multiple links of the WAN connected to the first edge device and the second edge device.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of an invention patent application with an application date of November 7, 2018, application number 201880057515.1, and name “Method and system for enhancing high availability of computer networks”. Background Art

[0002] Figure 1 (Prior Art) illustrates an example high availability (HA) network topology 100 according to some embodiments. There may be two key deficiencies in the HA network topology 100, which can be Figure 2-Figure 10 The first drawback may include the requirement to have a switch on the WAN side of the HA pair (e.g., the first edge device 112 and the second edge device 114). The WAN may include MPLS 102 and the Internet 108. A single switch may actually introduce a single point of failure, requiring two WAN-side switches to achieve full redundancy. Adding two switches (e.g., switches 116 and 120) may increase the complexity of insertion without providing any practical benefit. After the edge router is installed, the customer may be responsible for the switch.

[0003] In addition, unpredictable behavior in a split brain scenario may occur. Typically, switches may run a spanning tree protocol to prevent loops in the network. If both devices are active (e.g., HA cable 118 is disconnected), each switch may block a different device, resulting in a complete loss of traffic through the pair of devices. Summary of the invention

[0004] In one aspect, a computer networking method for implementing a dynamic high availability (HA) mode based on current wide area network (WAN) connectivity includes the following steps: providing a first edge device of a local area network (LAN) to the WAN; providing a second edge device of the LAN to the WAN; and synchronizing the status of multiple links connected to the first edge device and the second edge device with the WAN.

[0005] The computerized method can also detect that the plurality of links are connected to the second edge device instead of the first edge device.

[0006] In one aspect, a method that can be used to implement high availability (HA) enhancements to a computer network includes the following steps: providing a first edge device of a local area network (LAN); providing a second edge device of the LAN; providing a gateway system from a wide area network to the LAN; detecting a disconnection of an HA cable between the first edge device and the second edge device; establishing a network connection between the gateway system and the second edge device; and utilizing the gateway system to: determine that the first edge device is active and passing network traffic, implement a network tunneling protocol with the second edge device, signal the second edge device to enter a standby mode, detect that the first edge device has lost connectivity to the gateway, and signal the second edge device to take over as an active edge device for the LAN. BRIEF DESCRIPTION OF THE DRAWINGS

[0007] Figure 1 (Prior Art) An example high availability (HA) network topology is illustrated in accordance with some embodiments.

[0008] Figure 2 An example network topology with a switch on the WAN side of a HA pair is illustrated in accordance with some embodiments.

[0009] Figure 3 An example network topology is illustrated in accordance with some embodiments.

[0010] Figure 4A-4B A network topology illustrating a first use case of covering edge devices with shared links is illustrated in accordance with some embodiments.

[0011] Figure 5A-Figure 5B A network topology is illustrated that illustrates a second use case including a scenario where only one link is connected to each edge device (eg, the edge device has a unique link) in accordance with some embodiments.

[0012] Figure 6 Another example network topology is illustrated in accordance with some embodiments.

[0013] Figure 7 Another example network topology with an active LAN is illustrated in accordance with some embodiments.

[0014] Figure 8 Yet another example network topology is illustrated in accordance with some embodiments.

[0015] Fig. 9 An example communication exchange process is illustrated in accordance with some embodiments.

[0016] Fig.10 An example process for implementing a dynamic HA mode based process on a current WAN connection is illustrated in accordance with some embodiments.

[0017] Fig.11 An exemplary computing system is depicted that can be configured to perform any of the processes provided herein.

[0018] Fig.12 An example process for providing a dynamic HA mode based on a current WAN connection is illustrated in accordance with some embodiments.

[0019] The various figures described above are a representative set and are not exhaustive in implementing the invention. DETAILED DESCRIPTION

[0020] Disclosed are systems, methods, and articles of manufacture for dynamic high availability modes based on current wide area network connectivity, as well as systems, methods, and articles of manufacture for methods and systems for high availability enhancement of computer networks. The following description is presented to enable one of ordinary skill in the art to make and use various embodiments. Descriptions of specific devices, techniques, and applications are provided as examples only. Various modifications to the examples described herein will be apparent to one of ordinary skill in the art, and the general principles defined herein may be applied to other examples and applications without departing from the spirit and scope of the various embodiments.

[0021] References throughout the specification to "one embodiment," "an embodiment," "an example," or similar language mean that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, appearances of the phrases "in one embodiment," "in an embodiment," and similar language throughout the specification may, but do not necessarily, all refer to the same embodiment.

[0022] In addition, in one or more embodiments, the features, structures or characteristics of the present invention described may be combined in any suitable manner. In the following description, many specific details are provided, such as examples of programming, software modules, user selections, network transactions, database queries, database structures, hardware modules, hardware circuits, hardware chips, etc., to provide a thorough understanding of embodiments of the present invention. However, those skilled in the relevant art will recognize that the present invention may be practiced without one or more specific details, or in the case of other methods, components, materials, etc. In other cases, well-known structures, materials or operations are not shown or described in detail to avoid obscuring aspects of the present invention.

[0023] Schematic flow chart included in this article Figure 1Generally, the flow chart is described as a logical flow chart. Therefore, the sequence and the marked steps indicate an embodiment of the method presented. Other steps and methods that are equivalent to one or more steps or parts thereof of the method shown in function, logic or effect can be envisioned. In addition, the format and symbols adopted are provided to explain the logical steps of the method, and it should be understood that they do not limit the scope of the method. Although various arrow types and line types can be adopted in the flow chart, it should be understood that they do not limit the scope of the corresponding method. In fact, some arrows or other connectors can be used to indicate only the logical flow of the method. For example, an arrow can indicate a waiting or monitoring period of unspecified duration between the enumerated steps of the method depicted. In addition, the order in which a particular method occurs may or may not strictly follow the order of the corresponding steps shown.

[0024] definition

[0025] Some example definitions of embodiments are now provided.

[0026] The Address Resolution Protocol (ARP) is a communications protocol used to discover the link-layer address associated with a given Internet-layer address, which is an important function in the Internet protocol suite.

[0027] A CE router (Customer Edge Router) may be a router located at a customer's premises that provides an Ethernet interface between the customer's LAN and the provider's core network. A CE router may be a component in an MPLS architecture.

[0028] A dynamic tunnel may refer to a multi-path tunnel (ie, path) that is established on demand between two endpoints when there is VPN traffic to be sent between the two edges, and is torn down after the VPN traffic is completed.

[0029] An edge device may be a device that provides an entry point into an enterprise or service provider core network. An edge device may be software running in a virtual machine (VM) located in a branch office and / or customer premises.

[0030] A gateway may be a node (eg, a router) on a computer network that acts as an access point to another network.

[0031] LAN is a local area network, which is a computer network covering a small local area.

[0032] Multiprotocol Label Switching (MPLS) is a class of data-carrying technologies used in high-performance telecommunications networks. MPLS directs data from one network node to the next based on short path labels rather than long network addresses, thus avoiding complex lookups in routing tables. Labels identify virtual links (paths) between distant nodes rather than between endpoints. MPLS can encapsulate packets of various network protocols.

[0033] The orchestrator may include a software component that provides centralized configuration management and visibility based on multi-tenancy and roles.

[0034] Split brain may refer to data or availability inconsistencies arising from two separate data sets with overlapping maintenance scopes, either due to servers in the network design, or a failure condition based on servers not synchronizing and communicating their data with each other.

[0035] Tunneling protocols can allow network users to access or provide network services that are not supported or directly provided by the underlying network.

[0036] A wide area network (WAN) is a telecommunications network or computer network that extends over large geographic distances.

[0037] A virtual private network (VPN) can extend a private network over a public network such as the Internet. It can enable users to send and receive data across a shared or public network as if their computing devices were directly connected to the private network, thus benefiting from the functionality, security, and management policies of the private network.

[0038] Additional example definitions are provided herein.

[0039] Example System and Processing

[0040] Note that the following systems and methods are backward compatible with existing HA deployments, so no changes to existing user interfaces are required.

[0041] Figure 2 An example network topology 200 with a switch on the WAN side of a HA pair according to some embodiments is illustrated. Note that an HA switch may no longer be needed on the WAN side of the HA pair. Alternatively, a customer may connect one or more WAN links to each edge device 212, 214 in the pair (e.g., via a customer router 206 and / or modem 210). The devices may then synchronize the states of their connected interfaces. If an active edge device 212 or two edge devices 212, 214 have the same interface connected, this may be initiated directly. If only a standby edge device 214 has an interface connected, connectivity may be enabled through a standby edge device 214 by bridging a tunnel (e.g., Tunnel B 222 to Tunnel A 220) across a HA cable 218 and excluding peer WAN links.

[0042] Now that each edge device 212 , 214 has its own separate set of WAN connections, a split-brain scenario can be easily determined by the gateway, which has a comprehensive understanding of what is happening from the perspective of both edge devices 212 , 214 .

[0043] Note that each edge device 212, 214 has its own separate set of WAN connections, and the gateway can determine the split-brain scenario. The gateway can fully understand the status of each edge device 212, 214 from the perspective of both edge devices 212, 214.

[0044] Figure 3 An example network topology 300 according to some embodiments is illustrated. As shown, a high availability (HA) cable 318 can be disconnected. Each edge device 312, 314 can establish a tunnel directly with the gateway system (e.g., tunnels A and B 320, 322). The gateway system can determine that the edge is connected, active, and passing traffic. The gateway system can open a tunnel to a second edge. The gateway system can signal the edge to enter standby mode on the local LAN 318. If it is detected that the edge loses connectivity, the gateway system can signal another edge to become the active edge. The network topology 300 can be used to implement the processing 1000 provided below.

[0045] A dynamic HA mode based on current WAN connectivity can be implemented. Note that HA deployment no longer requires a WAN switch, as links can be connected to individual edge devices. This can be achieved by leveraging the link state that has been synchronized between edge devices, and using the backup edge as a virtual switch to reach links attached only to the backup edge.

[0046] Figure 4A-4B A network topology 400 is illustrated that illustrates a first use case of overlaying edge devices with shared links (eg, backward compatibility) in accordance with some embodiments. More specifically, Figure 4A The initial state is shown, and Figure 4B HA failover state is illustrated. The first edge device 412 may have two links connected, while the second edge device 414 may have only one link connected. Therefore, the first edge device 412 may be the preferred edge and, by default, the active edge. Since the first edge device 412 has local connectivity to both links, two tunnels (e.g., tunnels A and B 420 422) may be initiated directly from the first edge device 412. If there is an HA failover, the second edge device 414 may only have access to the link directly connected to it.

[0047] Figure 5A-Figure 5B A network topology 500 is illustrated that illustrates a second use case, including a scenario where only one link is connected to each edge device (eg, the edge device has a unique link), in accordance with some embodiments. More specifically, Figure 5A The initial state is shown, and Figure 5BThe HA failover state is illustrated. The first edge device 512 may have connected MPLS 502, and the second edge device 514 may have connected the public Internet 508. Therefore, the first edge device 512 is the preferred edge and is the active edge by default. Since the first edge device 512 does not have local connectivity to the Internet link, the tunnel (e.g., Tunnel B 522) can be started by proxying through the second edge device 514. If there is an HA failover, the second edge device 514 can only access the link directly connected to it.

[0048] Figure 6 Another example of a network topology 600 is illustrated in accordance with some embodiments. Figure 5A-Figure 5B As shown, the edge device can be connected to two WAN links. The first WAN link can be connected locally, and the second WAN link can be proxied via the second edge device 614. For simplicity, it can be presented as two public Internet links, but it can also be implemented with hybrid links as long as the dedicated WAN link can reach the gateway (for example, partner gateway deployment, SD-WAN service enabled, etc.).

[0049] Figure 7 Another example of a network topology 700 with an active LAN according to some embodiments is illustrated. The gateway 704 may have a pre-existing connection to the first edge device 712. The edge device 712 may be the preferred active edge. The second edge device 714 (e.g., having the same logical ID) may be connected on a different WAN link. The gateway 704 may maintain tunnel B 722 as an active tunnel for future use. The gateway 704 may signal the second edge device 714 to enter standby mode on the LAN. This process may be used to logically prevent a split-brain scenario from occurring. The LAN may be connected to the edge devices 712, 714 via the active LAN that responds to ARP 724, 822. Figure 8 Yet another example network topology is illustrated in accordance with some embodiments.

[0050] Fig. 9An example communication exchange process 900 is illustrated in accordance with some embodiments. In step 902, the gateway receives MP_INIT, but sees that the first edge device is active and sets the GO_STANDBY flag in the MP_INIT_ACK. In step 904, the edge receives the GO_STANDBY flag in the MP_INIT_ACK, returns to standby mode on the LAN, but maintains the tunnel established by the gateway. In step 906, the gateway receives confirmation that the second edge device is in standby mode. If (one or more) first edge device tunnels become unavailable, then the second edge device can be signaled to become active. After the exchange, the split-brain scenario can be cleared. For example, the gateway receives a tunnel start request from 714, but sees that 712 is already active. The gateway responds to the tunnel start request, but sets a flag in the response indicating that the 714 device can enter standby mode on the LAN.

[0051] Fig.10 An example process for implementing a dynamic HA mode based process 1000 on current WAN connectivity according to some embodiments is illustrated. In step 1002, the HA cable can be disconnected. In step 1004, the second edge device establishes a communication network connection directly with the gateway system. In step 1006, the gateway determines that another first edge device is active and passes network traffic to the LAN. In step 1008, the gateway opens a tunnel with the second edge device and signals the second edge device to enter standby mode. In step 1010, if the first edge device loses connectivity, the gateway signals the second edge device to take over as the active edge.

[0052] Fig.11 An exemplary computing system 1100 is depicted that can be configured to perform any of the processes provided herein. In this context, the computing system 1100 may include, for example, a processor, memory, storage, and I / O devices (e.g., a monitor, keyboard, disk drive, Internet connection, etc.). However, the computing system 1100 may include circuitry or other specialized hardware for performing some or all aspects of the processes. In some operational arrangements, the computing system 1100 may be configured as a system including one or more units, each of which is configured to perform some aspects of the processes in software, hardware, or some combination thereof.

[0053] Fig.11A computing system 1100 having multiple components that can be used to perform any of the processes described herein is depicted. The main system 1102 includes a motherboard 1104 having an I / O portion 1106, one or more central processing units (CPUs) 1108, and a memory portion 1110 that can have a flash memory card 1112 associated therewith. The I / O portion 1106 can be connected to a display 1114, a keyboard and / or other user input (not shown), a disk storage unit 1116, and a media drive unit 1118. The media drive unit 1118 can read / write a computer-readable medium 1120 that can contain programs 1122 and / or data. The computing system 1100 may include a web browser. In addition, it is noted that the computing system 1100 can be configured to include additional systems to implement various functions. The computing system 1100 can communicate with other computing devices based on various computer communication protocols, such as Wi-Fi, (and / or other standards for exchanging data over short distances, including those using short wavelength radio transmissions), USB, Ethernet, cellular, ultrasonic LAN communication protocols, etc.

[0054] Fig.12 An example process 1200 for providing a dynamic HA mode based on current WAN connectivity according to some embodiments is illustrated. In step 1202, the process 1200 can synchronize the state of the links connected to each individual edge. In step 1204, if the link is connected only to the first edge device (and / or in some example embodiments, to both edges), the process 1200 can start the tunnel locally. In step 1206, if the link is connected to the second edge device instead of the first edge device, the process 1200 can start the tunnel on the HA cable via a proxy. Dynamic HA mode selection can be used to determine if there is a WAN switch that provides a connection to the same link via two edge devices or separate links connected to independent edge devices, and then automatically start the tunnel locally or via a proxy based on automatically detecting this situation.

[0055] in conclusion

[0056] Although the present embodiments have been described with reference to specific example embodiments, various modifications and changes may be made to these embodiments without departing from the broader spirit and scope of the various embodiments. For example, hardware circuits, firmware, software, or any combination of hardware, firmware, and software (e.g., implemented in a machine-readable medium) may be used to enable and operate the various devices, modules, etc. described herein.

[0057] In addition, it will be appreciated that the various operations, processes, and methods disclosed herein may be implemented in a machine-readable medium and / or a machine-accessible medium compatible with a data processing system (e.g., a computer system), and may be performed in any order (e.g., including using devices for implementing the various operations). Therefore, the description and drawings should be regarded as illustrative rather than restrictive. In some embodiments, the machine-readable medium may be a non-transitory form of machine-readable medium.

Claims

1. A method for connecting a first local area network (LAN) to an external network, the first local area network (LAN) comprising a first edge device and a second edge device connected to each other via a high availability (HA) link in the first LAN, the high availability (HA) link allowing the devices to exchange information so that one device operates as an active device and the other device operates as a standby device, the method comprising: At a gateway in the external network and operating outside the first LAN: establishing direct tunnel communication with a first edge device and a second edge device in the first LAN and a third edge device in the second LAN to define a wide area network (WAN) connecting the first LAN and the second LAN; determining that the first edge device is active and passes network traffic between the first LAN and the external network; based on determining that the first edge device is active and passing network traffic, signaling to the second edge device to enter a standby mode; receiving confirmation that the second edge device is in a standby mode before detecting that the first edge device has lost connectivity with the gateway; detecting, through the direct tunnel communication, that the first edge device loses connectivity with the gateway; as well as Based on detecting that the first edge device has lost connectivity with the gateway, a second edge device is signaled to take over as an active edge device to pass network traffic between the first LAN and the external network.

2. The method of claim 1, wherein: The gateway system is connected to a first edge device, a second edge device, and a third edge device via WAN links.

3. The method of claim 2, wherein: The WAN link is at least one of a public WAN link and a dedicated WAN link that can reach the gateway.

4. The method of claim 3, wherein: The public WAN includes the Internet, and the private WAN includes an MPLS network.

5. The method of claim 1, wherein: In the event that the HA link is disconnected, the gateway signals the second edge device to enter standby mode to prevent a split-brain scenario.

6. The method of claim 5, further comprising, before signaling the second edge device to enter the standby mode, receiving a request from the second edge device to become an active device, wherein the signaling to the second edge device is based on a determination that the first edge device is currently the active device.

7. The method of claim 6, wherein: Signaling the second edge device to enter the standby mode includes setting a flag in a message sent to the second edge device in response to the request from the second edge device.

8. The method of claim 1, wherein: The second edge device has the same logical identifier as the first edge device.

9. The method of claim 1, wherein: The established direct tunnel communication is used to exchange messages with the edge device, including messages to determine availability of the edge device.

10. A computer program product storing a program for connecting a first local area network (LAN) to an external network through a first edge device and a second edge device, the first edge device and the second edge device operating in the LAN and connected to each other through a high availability HA link, the high availability HA link allowing the devices to exchange information so that one device operates as an active device and the other device operates as a standby device, the program for execution in the external network outside the first LAN and comprising a set of instructions for the following operations: establishing direct tunnel communication with a first edge device and a second edge device in the first LAN and a third edge device in the second LAN to define a wide area network (WAN) connecting the first LAN and the second LAN; determining that the first edge device is active and passes network traffic between the first LAN and the second LAN through the gateway; based on determining that the first edge device is active and passing network traffic, signaling to the second edge device to enter a standby mode; receiving confirmation that the second edge device is in a standby mode before detecting that the first edge device has lost connectivity with the gateway; detecting, through the direct tunnel communication, that the first edge device loses connectivity with the gateway; as well as Based on detecting that the first edge device has lost connectivity with the gateway, a second edge device is signaled to take over as an active edge device to pass network traffic between the first LAN and the second LAN through the gateway.

11. The computer program product of claim 10, wherein: The gateway system is connected to a first edge device, a second edge device, and a third edge device via WAN links.

12. The computer program product of claim 11, wherein: The WAN link is at least one of a public WAN link and a dedicated WAN link that can reach the gateway.

13. The computer program product of claim 12, wherein: The public WAN includes the Internet, and the private WAN includes an MPLS network.

14. The computer program product of claim 10, wherein: In the event that the HA link is disconnected, the gateway signals the second edge device to enter standby mode to prevent a split-brain scenario.

15. The computer program product of claim 14, wherein: The program further includes a set of instructions for receiving a request from the second edge device to become an active device before signaling the second edge device to enter the standby mode, wherein the signaling to the second edge device is based on a determination that the first edge device is currently the active device.

16. The computer program product of claim 15, wherein: The set of instructions for signaling the second edge device to enter the standby mode includes a set of instructions for setting a flag in a message sent to the second edge device in response to a request from the second edge device.

17. The computer program product of claim 10, wherein: The second edge device has the same logical identifier as the first edge device.

18. The computer program product of claim 10, wherein: The established direct tunnel communication is used to exchange messages with the edge device, including messages to determine availability of the edge device.

19. An electronic device comprising: a set of processing units; as well as A machine-readable medium storing a program, which, when implemented by at least one of the processing units, implements the method according to any one of claims 1 to 9.

20. A system comprising means for implementing the method according to any one of claims 1 to 9.