Joining an application cluster
First Claim
1. A method for allowing a first application instance operating in a first datacenter to send data to a second application instance operating in a second datacenter, the method comprising:
- at a first cluster manager that manages the first application instance and operates in the first datacenter;
sending, to a second cluster manager, a request to add the first application instance to an application cluster that includes the second application instance operating in the second datacenter;
from the second cluster manager, receiving a cluster topology that identifies a plurality of application instances of the application cluster within a plurality of datacenters, wherein the plurality of application instances comprises the first and the second application instances, wherein the cluster topology comprises information for defining an overlay-network encapsulation header for sending data messages from the first application instance to the second datacenter;
receiving, from the first application instance a first data message that is for the second application instance; and
encapsulating the first data message with the overlay-network encapsulation header and sending the encapsulated first data message to the second datacenter.
1 Assignment
0 Petitions
Accused Products
Abstract
Some embodiments provide a method, for a first cluster manager (CM), for adding an application instance (AI) to a cluster operating across several datacenters. The method identifies a first AI to add to the cluster and a second AI that already belongs to the cluster, and sends a request to add the first AI to a second CM that operates on a same machine as the second AI. The request includes an address for the first AI and a datacenter identifier that indicates a datacenter in which the first AI operates. From the second CM, the method receives a cluster topology that identifies several AIs of the cluster within the several datacenters. The topology includes a datacenter identifier for each of the identified AIs. The method processes data sent between the first AI and other AIs of the cluster according to an overlay network defined by the received topology.
42 Citations
20 Claims
-
1. A method for allowing a first application instance operating in a first datacenter to send data to a second application instance operating in a second datacenter, the method comprising:
at a first cluster manager that manages the first application instance and operates in the first datacenter; sending, to a second cluster manager, a request to add the first application instance to an application cluster that includes the second application instance operating in the second datacenter; from the second cluster manager, receiving a cluster topology that identifies a plurality of application instances of the application cluster within a plurality of datacenters, wherein the plurality of application instances comprises the first and the second application instances, wherein the cluster topology comprises information for defining an overlay-network encapsulation header for sending data messages from the first application instance to the second datacenter; receiving, from the first application instance a first data message that is for the second application instance; and encapsulating the first data message with the overlay-network encapsulation header and sending the encapsulated first data message to the second datacenter. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 20)
-
10. A non-transitory machine readable medium storing a first cluster manager for execution by at least one processing unit, the first cluster manager for allowing a first application instance operating in a first datacenter to send data to a second application instance operating in a second datacenter, the first cluster manager comprising sets of instructions for:
-
sending, to a second cluster manager, a request to add the first application instance to an application cluster that includes the second application instance operating in the second datacenter; from the second cluster manager, receiving a cluster topology that identifies a plurality of application instances of the application cluster within a plurality of datacenters, wherein the plurality of application instances comprises the first and the second application instances, wherein the cluster topology comprises information for defining an overlay-network encapsulation header for sending data messages from the first application instance to the second datacenter; receiving, from the first application instance, a first data message that is for the second application instance; and encapsulating the first data message with the overlay-network encapsulation header and sending the encapsulated first data message to the second datacenter. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18, 19)
-
Specification