Failover of centralized routers in public cloud logical networks
First Claim
1. A method for a first data compute node (DCN) implementing a logical network that spans a plurality of datacenters, the first DCN operating in a first datacenter as a logical network gateway that processes data messages between other DCNs of the logical network and external entities, wherein the external entities address the logical network gateway using a first network address and the first DCN has an interface with a second network address for use in the first datacenter, the method comprising:
- storing a mapping between the second network address and a third network address, wherein a second DCN operates in a second datacenter as the logical network gateway and has an interface with the third network address for use in the second datacenter;
receiving connection state data from the second DCN describing connections between the external entities and the other DCNs of the logical network, the connection state data using the third network address;
replacing the third network address with the second network address in the connection state data using the stored mapping; and
storing the connection state data with the replaced network address.
1 Assignment
0 Petitions
Accused Products
Abstract
Some embodiments provide a method for a first DCN operating in a first datacenter as a logical network gateway that processes messages between other DCNs of the logical network and external entities, which address the logical network gateway using a first address. The first DCN has an interface with a second address for use in the first datacenter. The method stores a mapping between the second address and a third address. A second DCN operates the logical network gateway in a second datacenter and has an interface with the third address for use in the second datacenter. From the second DCN, the method receives connection state data, describing connections between the external entities and the DCNs of the logical network, that uses the third address. The method replaces the third address with the second address in the connection state data using the stored mapping and stores the connection state data.
178 Citations
23 Claims
-
1. A method for a first data compute node (DCN) implementing a logical network that spans a plurality of datacenters, the first DCN operating in a first datacenter as a logical network gateway that processes data messages between other DCNs of the logical network and external entities, wherein the external entities address the logical network gateway using a first network address and the first DCN has an interface with a second network address for use in the first datacenter, the method comprising:
-
storing a mapping between the second network address and a third network address, wherein a second DCN operates in a second datacenter as the logical network gateway and has an interface with the third network address for use in the second datacenter; receiving connection state data from the second DCN describing connections between the external entities and the other DCNs of the logical network, the connection state data using the third network address; replacing the third network address with the second network address in the connection state data using the stored mapping; and storing the connection state data with the replaced network address. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. A non-transitory machine-readable medium storing a program which when executed by at least one processing unit of a host machine executes in a first data compute node (DCN) implementing a logical network that spans a plurality of datacenters, the first DCN operating in a first datacenter as a logical network gateway that processes data messages between other DCNs of the logical network and external entities, wherein the external entities address the logical network gateway using a first network address that is translated by a forwarding element managed by a datacenter provider into a second network address that is an address of an interface of the first DCN, the second network address for use in the first datacenter, the program comprising sets of instructions for:
-
storing a mapping between the second network address and a third network address, wherein a second DCN operates in a second datacenter as the logical network gateway and has an interface with the third network address for use in the second datacenter; receiving connection state data from the second DCN describing connections between the external entities and the DCNs of the logical network, the connection state data using the third network address; replacing the third network address with the second network address in the connection state data using the stored mapping; and storing the connection state data with the replaced network address such that if the second DCN fails, the first DCN will uses the stored connection state data to process data messages for connections previously processed by the second DCN. - View Dependent Claims (19, 20, 21, 22, 23)
-
Specification