Ranking of gateways in cluster
First Claim
1. For a logical network comprising a logical router implemented across a plurality of host computers that execute a plurality of managed forwarding elements (MFEs), a method for managing a set of gateways that are different than the plurality of MFEs and that implement a particular logical port of the logical router through which data messages are sent from the logical network to a particular network external to the logical network, the method comprising:
- at a central controller,receiving configuration data specifying a ranking order of the gateways in the set of gateways;
configuring the plurality of MFEs to use a first gateway as a master gateway to send data message traffic through the particular logical port to the external network, wherein the first gateway is first in the specified ranking order;
upon receiving a first notification that the first gateway is not operational, configuring the plurality of MFEs to use a second gateway as the master gateway to send data message traffic through the particular logical port to the external network, wherein the second gateway is second in the specified ranking order; and
upon receiving a second, subsequent notification that the first gateway has resumed operation, maintaining the second gateway as the master gateway in order to avoid disrupting data message traffic from the logical network to the external network.
1 Assignment
0 Petitions
Accused Products
Abstract
Some embodiments provide a method for managing a set of forwarding elements. The method receives configuration information for a set of gateways specifying (i) multiple gateways for implementing logical router ports and (ii) a ranking order of the gateways in the set. The method configures a first gateway in the ranking order as a master gateway for the set of gateways. Upon receiving a first notification that the first gateway is not operational, the method configures a second gateway in the ranking order as the master gateway for the set of gateways. Upon receiving a second, subsequent notification that the first gateway has resumed operation, the method maintains the second gateway in the ranking order as the master gateway for the set of gateways and configures the first gateway in the ranking order as a first standby gateway.
311 Citations
21 Claims
-
1. For a logical network comprising a logical router implemented across a plurality of host computers that execute a plurality of managed forwarding elements (MFEs), a method for managing a set of gateways that are different than the plurality of MFEs and that implement a particular logical port of the logical router through which data messages are sent from the logical network to a particular network external to the logical network, the method comprising:
at a central controller, receiving configuration data specifying a ranking order of the gateways in the set of gateways; configuring the plurality of MFEs to use a first gateway as a master gateway to send data message traffic through the particular logical port to the external network, wherein the first gateway is first in the specified ranking order; upon receiving a first notification that the first gateway is not operational, configuring the plurality of MFEs to use a second gateway as the master gateway to send data message traffic through the particular logical port to the external network, wherein the second gateway is second in the specified ranking order; and upon receiving a second, subsequent notification that the first gateway has resumed operation, maintaining the second gateway as the master gateway in order to avoid disrupting data message traffic from the logical network to the external network. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
15. A non-transitory machine readable medium storing a central controller program which when executed by at least one processing unit manages a set of gateways in a logical network comprising a logical router implemented across a plurality of host computers that execute a plurality of managed forwarding elements (MFEs), the gateways, that are different than the plurality of MFEs, implementing a particular logical port of the logical router through which data messages are sent from the logical network to a particular network external to the logical network, the central controller program comprising sets of instructions for:
-
receiving configuration data specifying a ranking order of the gateways in the set of gateways; configuring the plurality of MFEs to use a first gateway as a master gateway to send data message traffic through the particular logical port to the external network, wherein the first gateway is first in the specified ranking order; upon receiving a first notification that the first gateway is not operational, configuring the plurality of MFEs to use a second gateway as the master gateway to send data message traffic through the particular logical port to the external network, wherein the second gateway is second in the specified ranking order; and upon receiving a second, subsequent notification that the first gateway has resumed operation, maintaining the second gateway as the master gateway in order to avoid disrupting data message traffic from the logical network to the external network. - View Dependent Claims (16, 17, 18, 19, 20, 21)
-
Specification