Edge node cluster network redundancy and fast convergence using underlying anycast VTEP IP

By configuring the same anycast address in edge nodes and utilizing the BFD protocol, the problem of packet discarding during failover in the service node cluster is solved, rapid fault detection and redundant transfer are achieved, and the reliability and continuity of services are improved. .

CN113347047BActive Publication Date: 2024-09-10VMWARE INC
View PDF 12 Cites 0 Cited by

Patent Information

Application Number
CN202110833823.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2017-02-27
Filing Date
2017-08-27
Publication Date
2024-09-10
Estimated Expiration
2037-08-27

AI Technical Summary

Technical Problem

In a service node cluster, packet dropping or service interruption may occur during failover, and it is difficult for existing technologies to provide redundancy while minimizing failover time.

Method used

Fast fault detection is achieved by configuring the service router in the edge node to use the same anycast internal Internet Protocol (IP) address and media access control (MAC) address, and leveraging the underlying network's convergence mechanisms, such as the Bidirectional Forwarding Detection (BFD) protocol and failover of redundant modules.

Benefits of technology

It reduces failover time, improves network redundancy and rapid convergence capabilities, and ensures service continuity and reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113347047B_ABST
    Figure CN113347047B_ABST
Patent Text Reader

Abstract

The present disclosure relates to edge node cluster network redundancy and fast convergence using underlying anycast VTEP IP. Some embodiments provide methods for providing redundancy and fast convergence for modules operating in a network. The method configures the modules to use the same anycast internal IP address, anycast MAC address, and be associated with the same anycast VTEP IP address. In some embodiments, the modules operate in active-active mode, and all nodes running the modules advertise the anycast VTEP IP address with equal local priority. In some embodiments, the modules operate in active-standby mode, and the nodes running the active modules advertise the anycast VTEP IP address with higher local priority.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of the invention patent application with the application date of August 27, 2017, application number 201780053199.6, and name "Edge Node Cluster Network Redundancy and Fast Convergence Using Underlying Anycast VTEP IP". Background Art

[0002] The network provides services at service nodes. Clusters of service nodes are often used to provide redundancy so that service is not interrupted when a single service node fails. During the failover process, i.e., the process of switching from a failed node to a redundant node, packets sent to the failed node may be dropped or may not be provided with service. Therefore, there is a need for methods for providing redundancy while minimizing failover time. Summary of the invention

[0003] Some embodiments provide a method for providing redundancy and fast convergence to a module (e.g., a service router) executed in an edge node. In some embodiments, the method is performed by a management plane (e.g., implemented in a network controller) that centrally manages the network. In some embodiments, the method configures a set of service routers executed in an edge node to use the same anycast internal Internet Protocol (IP) address and the same anycast internal Media Access Control (MAC) address. In some embodiments, the method configures the edge node on which the set of service routers is executing to use the same set of anycast Virtual Extensible Local Area Network Tunnel Endpoint (VTEP) IP addresses. In some embodiments, the method configures the edge node to advertise the anycast internal IP and the anycast internal MAC address as reachable via at least one anycast VTEP IP address.

[0004] In some embodiments, the method configures the service routers to operate in an active-standby mode, with one service router acting as an active service router and the other service routers acting as standby service routers in case the active service router is no longer accessible (e.g., the active service router fails or the connection to the active service router fails). In some embodiments, the method achieves this by configuring the edge node on which the active service router executes to advertise the anycast VTEP IP address with a higher local priority. In these embodiments, when the edge node fails, the switch connected to the edge node announces that the anycast VTEP IP address is no longer reachable at the edge node. In other embodiments, the method configures the module in active-active mode by configuring all edge nodes to advertise the anycast VTEP IP address with the same local priority.

[0005] In some embodiments, the method utilizes the convergence of the underlying network to reduce the failover time of the redundant modules. In some embodiments, the convergence time in the underlying network is based on a link failure detection protocol (e.g., Bidirectional Forwarding Detection (BFD)) between the physical switch and the machine on which the module is executed (e.g., an edge node or a host on which the edge node is executed). In most cases, this underlying network fault detection will be much faster than a software-based approach operating between modules (50ms vs. 1 second). The faster detection and fast convergence time of the hardware allows for reduced failover time of the modules.

[0006] The foregoing summary is intended to serve as a brief introduction to some embodiments of the present invention. It is not meant to be an introduction or overview of all inventive subject matter disclosed in this document. The following detailed description and accompanying drawings with reference to the detailed description will further describe the embodiments described in the summary and other embodiments. Therefore, in order to understand all the embodiments described in this document, a comprehensive review of the summary, detailed description, and accompanying drawings is required. In addition, the claimed subject matter is not limited to the illustrative details in the summary, detailed description, and accompanying drawings, but is defined by the appended claims, because the claimed subject matter may be embodied in other specific forms without departing from the spirit of the present subject matter. BRIEF DESCRIPTION OF THE DRAWINGS

[0007] The novel features of the invention are set forth in the appended claims. However, for purposes of illustration, several embodiments of the invention are set forth in the following figures.

[0008] Figure 1 A network including service modules, edge nodes, leaf switches, and spine switches is illustrated in which the present invention operates.

[0009] Figure 2 The diagram shows Figure 1 The set of service modules that use the same set of anycast addresses in a system configured as in .

[0010] Figure 3 The diagram illustrates a set of edge nodes implementing multiple pairs of service routers in active-standby mode using two anycast VTEP IP addresses.

[0011] Figure 4 A process for configuring a service module to implement some embodiments of the present invention is conceptually illustrated.

[0012] Figure 5 Conceptually illustrated are processes of some embodiments for implementing redundancy in the event of a service router failure.

[0013] Figure 6Conceptually illustrates the process of some embodiments for implementing redundancy when a service router is brought back online.

[0014] Figure 7 An electronic system for implementing some embodiments of the present invention is conceptually illustrated. DETAILED DESCRIPTION

[0015] In the following description, many details are set forth for the purpose of explanation. However, it will be appreciated by those skilled in the art that the present invention can be practiced without using these specific details. In other cases, well-known structures and devices are shown in block diagram form in order to prevent the description of the present invention from being obscured by unnecessary details.

[0016] Some embodiments provide a method for providing redundancy and fast convergence to a module (e.g., a service router) executed in an edge node. In some embodiments, the method is performed by a management plane (e.g., implemented in a network controller) that centrally manages the network. In some embodiments, the method configures a set of service routers executed in an edge node to use the same anycast internal Internet Protocol (IP) address and the same anycast internal Media Access Control (MAC) address. In some embodiments, the method configures the edge node on which the set of service routers is executing to use the same set of anycast Virtual Extensible Local Area Network Tunnel Endpoint (VTEP) IP addresses. In some embodiments, the method configures the edge node to advertise the anycast internal IP and the anycast internal MAC address as reachable via at least one anycast VTEP IP address.

[0017] Figure 1 A network system 100 is illustrated in which some embodiments of the present invention are implemented. Figure 1 The system includes multiple hosts 101A-E, virtual extensible LAN tunnel endpoints (VTEPs) 102A-C, edge nodes 105A-D, service routers 106, leaf switches 110A-D, hypervisors 115A, spine switches 120A-N, data center fabric 130, and external network 140. For simplicity, Figure 1 Only hosts 101A and B and edge node 105D are shown with internal components, but one of ordinary skill in the art will appreciate that other hosts and edge machines may include similar, additional, or alternative elements.

[0018] The edge nodes 105A-D are connected to an external network 140 and provide access to the external network 140 for virtual machines or other data computing nodes connected to the data center architecture 130 through a hosted service router (e.g., service router 106). The service router (SR) can be implemented in a namespace, a virtual machine, or as a virtual routing and forwarding (VRF) module in different embodiments. The service router provides routing services and, in some embodiments, provides multiple stateful (e.g., firewall, NAT, etc.) or stateless services (e.g., access control lists (ACLs)). In different embodiments, the edge nodes 105A-D can be implemented as virtual machines (sometimes referred to as edge VMs), implemented in other types of data computing nodes (e.g., namespaces, physical hosts, etc.), or implemented using Linux-based Data Path Development Kit (DPDK) packet processing software (e.g., as a VRF in a DPDK-based data path).

[0019] In some embodiments, edge nodes (e.g., edge node 105D) terminate tunnels (e.g., tunnels defined by a network manager). In some embodiments, some edge nodes (e.g., edge node 105C) utilize the VTEP of the host on which they execute, while other edge nodes implement their own VTEP when the edge node executes in a dedicated server. In some embodiments, the edge node can run on bare metal (e.g., directly on a server or host), or as a virtual machine form factor running on top of a hypervisor. It will be appreciated by those of ordinary skill in the art that a network can include multiple edge nodes operating in any combination of the above modes.

[0020] In some embodiments, leaf physical switches 110C and 110D are part of the data center architecture 130 and provide access to the spine switches 120A-N to VMs executing on hosts 101B-E, and provide access to the external network 140 through the leaf physical switches 110A and 110B and edge nodes 105A-D. In some embodiments, the leaf switches can be implemented as physical top of rack switches. In some embodiments, the leaf switches and spine switches run an interior gateway protocol (IGP) (e.g., Open Shortest Path First (OSPF), Routing Information Protocol (RIP), Intermediate System to Intermediate System (IS-IS), etc.) to guide packets along the shortest path to the packet destination.

[0021] In some embodiments, hosts 101B-E host multiple VMs that use edge nodes and service routers to access external network 140. The VMs or other DCNs may be run on top of a hypervisor that executes a managed switching element (not shown) that implements a VTEP and a virtual distributed router (VDR) to allow overlay networking and logical packet processing.

[0022] Those of ordinary skill in the art will appreciate that the underlying network structure may be implemented in any number of ways consistent with the spirit of the present invention.The specific network structure should not be construed as limiting the present invention, but is for illustration purposes only.

[0023] Figure 2 An example of a set of service routers 206A-B executing on edge nodes 205A-B is illustrated. Figure 2 Also illustrated is a distributed router (DR) spanning edge nodes 205A-B and hypervisor 215. Hypervisor 215 also runs virtual machines 216 and terminates tunnels at VTEP 202C. Figure 2 Also shown is a central controller 250 that configures a default route for the DR 201 on the hypervisor 215, and configures the service routers 206A-B to use anycast internal IP, MAC, and VTEP (external) IP addresses. In some embodiments, the DR spans a managed forwarding element (MFE) that is directly coupled to a VM or other data computing node, where the VM or other data computing node is directly or indirectly logically connected to the logical router. The DR of some embodiments also spans the gateway (e.g., edge nodes 205A-B) to which the logical router is bound. The DR is responsible for first-hop distributed routing between logical switches and / or other logical routers that are logically connected to the logical router. The SR of some embodiments is responsible for delivering services that are not implemented in a distributed manner (e.g., some stateful services).

[0024] Service routers 206A-B are shown connected to logical switch 1. In some embodiments, service routers 206A-B are a subset of a set of SRs that provide access to external networks. Distributed router 201 is connected to multiple logical switches (e.g., logical switches 1-N). Logical switches 2-N can be connected to VMs executed on any number of hosts. In some embodiments, the VMs route traffic to external networks through service routers 206A-B or a different set of SRs. Further details of possible configurations can be found in U.S. non-provisional patent application 14 / 814,473, published as U.S. Patent Publication 2016 / 0226754, which is incorporated herein by reference.

[0025] As shown, SRs 206A-B are configured to use the same anycast internal IP address, anycast VTEP (external) address, and anycast media access control (MAC) address. Anycast addressing allows the same address to be used for multiple destinations (in some embodiments of the invention, the multiple destinations are redundant destinations). Packets sent to anycast addresses are forwarded to the nearest node (also referred to as the closest node or along the shortest path) according to an IGP (e.g., OSPF, RIP, IS-IS, etc.). In some embodiments, such closest nodes along a route are calculated based on an administrative distance value used to determine priority, with larger values ​​indicating lower priority route types.

[0026] The service routers 206A-B can be implemented in active-active mode or active-standby mode. In active-active, SRs are treated as equal for routing purposes (i.e., advertised with the same priority or administrative distance). Packet flows in active-active mode are directed to specific SRs based on some set of criteria (e.g., load balancing criteria, equal cost multipath (ECMP), anycast routing protocol, etc.). In some embodiments, failure of an SR in active-active mode is detected by a bidirectional forwarding detection (BFD) session running between an edge node on which the SR is executing and a switch to which the edge node is connected. After detecting a failure, the switch no longer advertises the availability of the service router at the edge node where the connection failed, and the underlying network converges on the remaining SRs as the shortest or lowest cost path to the anycast IP address. Therefore, by using the IGP and the same anycast address for all SRs, the system achieves redundancy and fast convergence. About Figure 4-6 The specific steps are discussed further.

[0027] In some embodiments of the present invention, SR 206A-B is implemented in active-standby mode. In active-standby mode, one of the service routers in the set of service routers is configured to act as an active service router, and traffic destined for the set of service routers is directed to the active service router. This active-standby mode can be useful when the service routers provide stateful services that require a single service router to provide a service set for each packet flow. In some cases, the active service router in this active-standby mode maintains the state of all flows. In some embodiments, if the active service router fails, state information is periodically pushed to (or pulled by) the standby service router to provide the service set. In active-standby mode, the edge node hosting the active SR advertises its anycast VTEP IP address with a higher priority (e.g., a lower administrative distance) than the edge node hosting the standby SR, so that when both SRs are available, the active SR is always the "closest" SR.

[0028] To provide redundancy and fast convergence, some embodiments use Bidirectional Forwarding Detection (BFD) or a similar protocol to monitor whether the connection between the leaf switches and the edge nodes (and ultimately to the service routers) is functional. Such protocols can have very short detection times (e.g., 50ms). If the connection to the edge node hosting the active SR fails, the routing information for the anycast address used by the active (failed) SR and the underlying network can converge on the use of the standby SR (as an available SR with an anycast address) at the same rate as the underlying network converges, which in some embodiments is much faster than methods that rely on communication between SRs. In some embodiments, the update is based on notifications from the BFD session.

[0029] This rapid convergence can be contrasted with a process that relies on BFD sessions running between SRs. BFD sessions that run between SRs to detect SR failures in both active-active and active-standby modes send packets less aggressively to avoid false positives (i.e., detection of a failure that did not occur) based on link failures of the underlying network that are subsequently corrected within an acceptable time. Even after the BFD session detects an actual failure, the SR must execute a software process to determine the appropriate action to take, and then must issue a Gratuitous Address Resolution Protocol (GARP) packet that alerts all servers and hypervisors of the new association of the failed SR's MAC address with the IP address of the replacement SR. In contrast to approaches that rely solely on notifying the physical switches in the DC architecture of the updated anycast address availability using underlying network convergence, this process can take ten seconds or longer because of the large number (hundreds or even thousands) of servers attached to a particular leaf physical switch.

[0030] Those skilled in the art will appreciate that this approach can be used to provide redundancy and fast convergence time to other types of module clusters that provide stateful or stateless services and are not limited to service routers in edge nodes.

[0031] Distributed router 201 is shown as spanning edge nodes 205A-B and as an element of hypervisor 215, but as described above, DR (or virtual DR (VDR)) is a component of Figure 2 206A-B as its default gateway. In these embodiments, the anycast internal IP address is associated with an anycast MAC address, and the anycast MAC address is associated with an anycast VTEP (external) IP address. Configuring DR 201 to send packets to the anycast VTEP allows the underlying network to calculate the nearest node once the packet reaches the leaf switch 210C, as discussed above.

[0032] VTEPs 202A-B are depicted as being part of pNICs 203A-B, respectively, because the VTEPs advertise their availability on the IP addresses of the pNICs for the host. However, it should be understood that in reality the VTEPs are a function provided by the hypervisor or a managed forwarding element on the hypervisor. Furthermore, the VTEPs are depicted as being connected to logical switch 1 to demonstrate that packets destined for the service router on logical switch 1 are reachable via the VTEP acting on the same machine, and the VTEPs are also logically connected to any logical switch where the DCN is running on the same machine or hypervisor.

[0033] Figure 3 The configuration of edge nodes 305A-B on which multiple pairs of SRs are performed is illustrated. Using two anycast VTEP addresses in some embodiments allows a single edge node to perform some SRs as active while other SRs are standby SRs. As shown in the above example, the SR pairs in active-standby mode share the anycast internal IP and MAC addresses (shown for SR 1 and SR 3) as well as the anycast VTEP IP address. As shown, the SR pair with active SRs on edge node 305A shares VTEP1 as its anycast VTEP IP, while the SR pair with active SRs on edge node 305B shares VTEP2 as its anycast VTEP IP. This configuration allows edge node 305A to advertise VTEP1 with a higher priority and allows edge node 305B to advertise VTEP2 with a higher priority, so that the active SR receives traffic on both edge nodes.

[0034] Figure 4 A process 400 is conceptually illustrated that implements a novel method of some embodiments of the present invention. In some embodiments, the process 400 is performed by a central controller or a cluster of central controllers that manages forwarding elements on different hosts to implement logical networks and distributed routers. In some embodiments, the controller performs this process at the initial configuration of the service router, and in other embodiments, performs this process in response to a change in network settings.

[0035] As shown, process 400 begins when a controller configures (at 410) a set of service routers to use the same anycast internal IP address. The anycast internal IP address is found in an inner packet header encapsulated according to a tunneling protocol (e.g., GRE, VXLAN, etc.). Process 400 then configures (at 420) the set of service routers to use the same anycast MAC address.

[0036] Process 400 continues by configuring (at 430) the set of edge nodes to use the same anycast VTEP (external) IP address. One of ordinary skill in the art will recognize that the VTEP IP address is only one example of an external IP address that may be used in a tunneling protocol, and that other external IP addresses will function in a similar manner. It should be understood that steps 410-430 may be performed in any order, and that the individual steps are not interdependent.

[0037] The process determines (at 440) whether the service router is to be configured in active-standby mode or active-active mode. If the service router is to be configured in active-standby mode, then the process configures (at 450) the edge router on which the active service router is executed to advertise the VTEP IP address with a higher priority (e.g., lower management cost). If the process determines (at 440) that the service router should be configured in active-active mode, then the process configures (at 455) the edge node to advertise the VTEP IP address with the same priority (e.g., the same management cost).

[0038] In both active-active and active-standby modes, the process configures (at 460) the distributed router to use the anycast VTEP IP address to send outbound packets. Figure 2 As noted in the discussion of , in some embodiments, the process configures the DR's default route by associating the anycast internal IP address with the anycast MAC address and the anycast VTEP IP address used by the serving router to direct packets to the anycast internal IP address.

[0039] Figure 5 A process 500 is conceptually illustrated that implements a novel method of some embodiments of the present invention. In some embodiments, the process 500 is implemented by a leaf switch that is connected to an edge node on which an active service router is executing. The process allows for rapid detection of service router unavailability (e.g., a link failure between a leaf switch and an edge node, a failure of an edge node, etc.). The process 500 assumes that a bidirectional forwarding detection (BFD) or similar protocol has been established for monitoring the connection status between a leaf switch and an edge node hosting one or more service routers.

[0040] Process 500 begins by detecting (at 510) that a connection between a switch and an edge node has failed. In some embodiments, the connection is between a leaf switch and an edge node executing an active service router. One of ordinary skill in the art will recognize that the detection may be performed along any link that would render the service router unavailable to other machines on the network.

[0041] Process 500 continues by causing the switch to remove (at 520) the association between the edge node and the Anycast VTEP IP address (e.g., based on a routing protocol) from the switch's forwarding table. The switch no longer forwards packets with the Anycast VTEP IP address to the edge node, and processing proceeds to step 530.

[0042] The process 500 then determines (at 530) whether the Anycast VTEP IP is still accessible on other machines (edge ​​nodes) connected to the switch. If no other edge nodes connected to the switch advertise the availability of the Anycast VTEP IP, then the process announces (at 540) that the Anycast VTEP IP is no longer available through the switch. Once this information is propagated through the DC fabric using a dynamic routing protocol, the underlying network begins sending packets to the next available service router (e.g., a standby router), and the process ends. If there are still edge nodes connected to the switch advertising the availability of the Anycast VTEP IP, then the switch does not need to announce that the Anycast VTEP IP is no longer available through the switch and the process ends.

[0043] Figure 6 Conceptually illustrated is a process 600 of allowing a previously active service router to come back online as an active service router when availability is restored. In some embodiments, process 600 is implemented by a leaf switch connected to an edge node on which the previously active service router executed.

[0044] Process 600 begins by detecting (at 610) that a connection between a switch and an edge node has been restored. In some embodiments, the connection is between a leaf switch and an edge node that performed the previously active service router. One of ordinary skill in the art will recognize that the detection may be performed along any link that would make the service router unavailable to other machines on the network.

[0045] Process 600 continues by causing the switch to add (at 620) an association between the edge node and the Anycast VTEP IP address to a forwarding table of the switch (e.g., based on a routing protocol). In some embodiments, the addition is based on receiving an advertisement from the edge node that the Anycast VTEP IP is available on the restored link. In some embodiments, the switch now forwards packets with the Anycast VTEP IP address to the restored edge node, and the process proceeds to step 630.

[0046] The process 600 then determines (at 630) whether the Anycast VTEP IP was accessible on other machines (edge ​​nodes) connected to the switch before the connection was restored. If no other edge nodes connected to the switch advertise the availability of the Anycast VTEP IP, then the process announces (at 640) that the Anycast VTEP IP is now available through the switch. Once this information is propagated through the DC architecture using a dynamic routing protocol, the underlying network begins sending packets to the restored service router (e.g., the active service router that failed and recovered), and the process ends. If there are still edge nodes connected to the switch that advertise the availability of the Anycast VTEP IP, then the switch does not need to announce that the Anycast VTEP IP address is now available through the switch, and the process ends. In some embodiments, the edge nodes with restored connections announce the Anycast VTEP IP address with a higher priority, as was done before the failure and recovery.

[0047] Electronic Systems

[0048] Many of the features and applications described above are implemented as software processes that are specified as sets of instructions recorded on a computer-readable storage medium (also referred to as a computer-readable medium). When these instructions are executed by one or more processing units (e.g., one or more processors, processor cores, or other processing units), they cause the (one or more) processing units to perform the actions indicated in the instructions. Examples of computer-readable media include, but are not limited to, CD-ROMs, flash drives, RAM chips, hard drives, EPROMs, etc. Computer-readable media do not include carrier waves and electronic signals transmitted wirelessly or through wired connections.

[0049] In this specification, the term "software" refers to firmware residing in a read-only memory or an application stored in a magnetic storage device, which can be read into a memory for processing by a processor. In addition, in some embodiments, multiple software inventions can be implemented as sub-parts of a larger program while maintaining unique software inventions. In some embodiments, multiple software inventions can also be implemented as separate programs. Finally, any combination of separate programs that implement the software inventions described herein together is within the scope of the present invention. In some embodiments, when the software program is installed to operate on one or more electronic systems, the software program defines one or more specific machine implementations that run and execute the operations of the software program.

[0050] Figure 7An electronic system 700 is conceptually illustrated to implement some embodiments of the present invention. The electronic system 700 can be used to execute any of the above-mentioned control, virtualization or operating system applications. The electronic system 700 can be a computer (e.g., a desktop computer, a personal computer, a tablet computer, a server computer, a mainframe, a blade computer, etc.), a phone, a PDA, or any other type of electronic device. Such an electronic system includes various types of computer-readable media and interfaces for various other types of computer-readable media. The electronic system 700 includes a bus 705, (one or more) processing units 710, a system memory 725, a read-only memory 730, a permanent storage device 735, an input device 740, and an output device 745.

[0051] Bus 705 collectively represents all system, peripheral, and chipset buses that communicatively connect the many internal devices of electronic system 700. For example, bus 705 communicatively connects processing unit(s) 710 with read-only memory 730, system memory 725, and permanent storage device 735.

[0052] Processing unit(s) 710 retrieve instructions to execute and data to process from these various memory units in order to perform the processes of the present invention. The processing unit(s) may be a single processor or a multi-core processor in different embodiments.

[0053] Read-only memory (ROM) 730 stores static data and instructions required by (one or more) processing units 710 and other modules of the electronic system. On the other hand, permanent storage device 735 is a read-write memory device. This device is a non-volatile memory unit that stores instructions and data even when the electronic system 700 is turned off. Some embodiments of the present invention use a mass storage device (such as a magnetic or optical disk and its corresponding disk drive) as permanent storage device 735.

[0054] Other embodiments use removable storage devices (such as floppy disks, flash drives, etc.) as permanent storage devices. Like permanent storage device 735, system memory 725 is a read-write memory device. However, unlike storage device 735, system memory is a volatile read-write memory, such as random access memory. System memory stores some instructions and data required by the processor at run time. In some embodiments, the processes of the present invention are stored in system memory 725, permanent storage device 735, and / or read-only memory 730. (One or more) processing unit 710 retrieves instructions to be executed and data to be processed from these various memory units in order to perform the processes of some embodiments.

[0055] The bus 705 is also connected to input and output devices 740 and 745. Input devices enable a user to communicate information to and select commands for the electronic system. Input devices 740 include an alphanumeric keyboard and a pointing device (also referred to as a "cursor control device"). Output devices 745 display images generated by the electronic system. Output devices include printers and display devices, such as cathode ray tubes (CRTs) or liquid crystal displays (LCDs). Some embodiments include devices that function as both input and output devices, such as touch screens.

[0056] Finally, if Figure 7 As shown, bus 705 also couples electronic system 700 to a network 765 via a network adapter (not shown). In this manner, the computer may be part of a network of computers, such as a local area network ("LAN"), a wide area network ("WAN"), or an intranet, or a network of networks, such as the Internet. Any or all of the components of electronic system 700 may be used in conjunction with the present invention.

[0057] Some embodiments include electronic components such as microprocessors, storage devices and memories that store computer program instructions in machine-readable or computer-readable media (alternatively referred to as computer-readable storage media, machine-readable media, or machine-readable storage media). Some examples of such computer-readable media include RAM, ROM, compact disk-read only (CD-ROM), compact disk-recordable (CD-R), compact disk-rewritable (CD-RW), read-only digital versatile disks (e.g., DVD-ROM, dual-layer DVD-ROM), various recordable / rewritable DVDs (e.g., DVD-RAM, DVD-RW, DVD+RW, etc.), flash memory (e.g., SD card, mini SD card, micro SD card, etc.), magnetic and / or solid-state hard drives, read-only and recordable A computer readable medium may store a computer program that is executable by at least one processing unit and includes a set of instructions for performing various operations. Examples of computer programs or computer code include machine code such as produced by a compiler, and files including higher level code that is executed by a computer, electronic component, or microprocessor using an interpreter.

[0058] Although the above discussion mainly refers to a microprocessor or multi-core processor that executes software, some embodiments are implemented by one or more integrated circuits, such as an application specific integrated circuit (ASIC) or a field programmable gate array (FPGA). In some embodiments, such an integrated circuit executes instructions stored on the circuit itself.

[0059] As used in this specification, the terms "computer", "server", "processor", and "memory" all refer to electronic or other technical devices. These terms do not include people or groups of people. For the purposes of this specification, the terms display or being displayed mean displayed on an electronic device. As used in this specification, the terms "computer-readable medium", "multiple computer-readable media" and "machine-readable medium" are completely limited to tangible, physical objects that store information in a form that is readable by a computer. These terms do not include any wireless signals, wired download signals, and any other transient signals.

[0060] Reference is made throughout this specification to computing and network environments including virtual machines (VMs). However, a virtual machine is only one example of a data computing node (DCN) or a data computing end node (also referred to as an addressable node). A DCN may include non-virtualized physical hosts, virtual machines, containers that run on top of a host operating system without the need for a hypervisor or a separate operating system, and a hypervisor kernel network interface module.

[0061] In some embodiments, the VM uses the resources of the host virtualized by the virtualization software (e.g., a hypervisor, a virtual machine monitor, etc.) to operate with its own client operating system on the host. The tenant (i.e., the owner of the VM) can choose which applications to operate on top of the client operating system. On the other hand, some containers are constructed to run on top of the host operating system without the need for a hypervisor or a separate client operating system. In some embodiments, the host operating system uses a namespace to isolate containers from each other, and thus provides operating system-level separation of different application groups operating in different containers. This separation is similar to the VM separation provided in the hypervisor virtualization environment of the virtualized system hardware, and can therefore be regarded as a form of virtualization that isolates different application groups operating in different containers. This container is lighter than a VM.

[0062] In some embodiments, the hypervisor kernel network interface module is a non-VM DCN that includes a network stack with a hypervisor kernel network interface and receive / transmit threads. An example of a hypervisor kernel network interface module is an ESXi host as part of VMware Inc. TM The vmknic module is part of the hypervisor.

[0063] It should be understood that although this specification refers to VMs, the examples given may be any type of DCN, including physical hosts, VMs, non-VM containers, and hypervisor kernel network interface modules. In fact, in some embodiments, the example network may include a combination of different types of DCNs.

[0064] Although the present invention has been described with reference to many specific details, those skilled in the art will recognize that the present invention may be embodied in other specific forms without departing from the spirit of the present invention. Figure 4-6 ) conceptually illustrates the processes. The specific operations of these processes may not be performed in the exact order shown and described. Specific operations may not be performed in a series of continuous operations, and different specific operations may be performed in different embodiments. In addition, the process can be implemented using several sub-processes or as part of a larger macro process. Therefore, it will be understood by those skilled in the art that the present invention is not limited by the above illustrative details, but is defined by the appended claims.

Claims

1. A method for configuring a plurality of host computers in a data center to implement a logical network, the method comprising: configuring each edge node in a set of edge nodes connecting the data center with an external network to implement a service router, wherein each of the service routers uses a same anycast internal Internet Protocol IP address; configuring a managed forwarding element executing on the host computer and implementing the distributed router to use the anycast internal IP address of the service router as a default gateway for the distributed router; and The invention configures (i) each edge node to use the same anycast virtual extensible local area network tunnel endpoint IP address and (ii) a specific edge node on which an active service router is executed to advertise the anycast virtual extensible local area network tunnel endpoint IP address to a data center fabric forwarding element using a higher priority than other edge nodes in the set of edge nodes, so that when a managed forwarding element executed on a host computer sends a data message of the service router to the data center fabric using the anycast virtual extensible local area network tunnel endpoint IP address, the data center fabric forwarding element routes the data message to the specific edge node.

2. The method of claim 1, wherein the active service router is a first service router and the particular edge node is a first edge node, wherein upon a failure of a connection to the first service router, the data center fabric forwarding element routes the data message of the service router to a second edge node on which the second service router executes.

3. The method of claim 2, wherein: A failure of a connection of a first service router is detected via a failure detection protocol session between the first edge node and one of the data center fabric forwarding elements.

4. The method of claim 3, wherein: The fault detection protocol session is a Bidirectional Forwarding Detection (BFD) protocol session.

5. The method of claim 2, wherein: When the connection to the first service router fails, the data center fabric forwarding element detecting the connection advertises the anycast virtual extensible local area network tunnel endpoint IP address as unavailable at the first edge node.

6. The method of claim 2, wherein: After the connection to the first service router is restored, the data center fabric forwarding element again routes the data message of the service router to the first edge node.

7. The method of claim 6, wherein: Based on the first edge node announcing the anycast virtual extensible local area network tunnel endpoint IP address again, the data center fabric forwarding element routes the data message to the first edge node again.

8. The method of claim 1, further comprising configuring a managed forwarding element implementing a distributed router to associate the anycast internal IP address with the anycast virtual extensible local area network tunnel endpoint IP address.

9. At a first data center fabric forwarding element providing network access to a first edge node on which a first service router executes, a method comprises: receiving an advertisement of an anycast virtual extensible local area network tunnel endpoint IP address from a first edge node, wherein (i) a plurality of service routers using the same anycast internal IP address are executed on the plurality of edge nodes using the same anycast virtual extensible local area network tunnel endpoint IP address, (ii) the first service router is designated as an active service router, and (iii) the first edge node advertises the anycast virtual extensible local area network tunnel endpoint IP address with a higher priority than other edge nodes; detecting a failure of a connection of the first edge node; and Based on the detected connection failure, the first data center fabric forwarding element notifies other data center fabric forwarding elements that the anycast virtual extensible local area network tunnel endpoint IP address is currently unavailable.

10. The method of claim 9, wherein detecting a failure of the connection of the first edge node comprises detecting the failure using a failure detection protocol session with the first edge node.

11. The method of claim 9, further comprising: Detecting that the connection of the first edge node has been restored; and In response to detecting that the connection to the first edge node has been restored, the anycast virtual extensible local area network tunnel endpoint IP address is announced to the other data center fabric forwarding elements of the network by the first data center fabric forwarding element that it is available again.

12. The method of claim 9 further comprises, when initially configuring the plurality of service routers, notifying, via a first data center fabric forwarding element, other data center fabric forwarding elements of the network that the anycast virtual extensible local area network tunnel endpoint IP address is available.

13. The method of claim 9, wherein: The first data center architecture forwarding element is a leaf hardware switch in a leaf-spine network topology of a data center.

14. The method of claim 9, further comprising removing an association between the edge node and the anycast virtual extensible local area network tunnel endpoint IP address from a forwarding table of a first data center fabric forwarding element upon detecting a failure of the connection.

15. A machine-readable medium storing a program, which, when executed by at least one processing unit, implements the method according to any one of claims 1 to 14.

16. An electronic device, comprising: a set of processing units; and A machine-readable medium storing a program, which, when executed by at least one processing unit, implements the method according to any one of claims 1 to 14.

17. An electronic system comprising means for implementing the method according to any one of claims 1-14.

18. A computer program product comprising instructions which, when executed by a computer, cause the computer to perform the method according to any one of claims 1 to 14.

Citation Information

Patent Citations

  • Logical router with multiple routing components

    US20160226754A1

  • Anycast service implementing method, method for transmitting anycast request, anycast router

    CN101174970A

  • Method for realizing intra site automatic tunnel addressing protocol and device thereof

    CN101741926A

  • Protocol independent multicast sparse mode (PIM-SM) support for data center interconnect

    EP3013006A1

  • L3 Gateway for VXLAN

    US20130266015A1