System and method for joining containers running on multiple nodes of a cluster
First Claim
1. A computer-implemented method for joining containers running on a cluster of hardware nodes, the method comprising:
- on a plurality of nodes connected into the cluster, where each node hosts at least one container, executing a plurality of real processes in the containers, where each real process is executed on a single container and other containers execute fake processes corresponding to the real process, andwherein the fake process includes interfaces identical to interfaces of a corresponding real process;
for at least one container, executing a backup process that represents a state of the corresponding real process on each node, andwherein the node on which the backup process executes has no other fake processes corresponding to the real process of that backup process;
determining the real process on a source container to be migrated and a target container where the real process is to be migrated;
for the target container, replacing the fake process with the real process and replacing the real process with the fake process on the source container; and
re-launching a process on the same hardware node with settings from another node;
wherein interfaces of real processes are connected to corresponding interfaces of the corresponding fake process to establish data flow of the interfaces of fake processes identical to the data flow outputted by interfaces of a corresponding real process.
3 Assignments
0 Petitions
Accused Products
Abstract
Method for joining containers. On a plurality of nodes connected into a cluster, where each node hosts at least one container, executing real processes in the containers, where each real process is executed on a single container and other containers execute fake process corresponding to the real process; the fake process includes interfaces identical to interfaces of a corresponding real process; determining the real process on a source container to be migrated; for the target container, replacing the fake process with the real process and replacing the real process with the fake process on the source container; re-launching a process on the same hardware node with settings from another node. Interfaces of real processes are connected to interfaces of fake processes to establish data flow of fake process identical to the data flow outputted by interfaces of a real process. Interfaces of the fake process receive data from conjugated interfaces.
33 Citations
17 Claims
-
1. A computer-implemented method for joining containers running on a cluster of hardware nodes, the method comprising:
-
on a plurality of nodes connected into the cluster, where each node hosts at least one container, executing a plurality of real processes in the containers, where each real process is executed on a single container and other containers execute fake processes corresponding to the real process, and wherein the fake process includes interfaces identical to interfaces of a corresponding real process; for at least one container, executing a backup process that represents a state of the corresponding real process on each node, and wherein the node on which the backup process executes has no other fake processes corresponding to the real process of that backup process; determining the real process on a source container to be migrated and a target container where the real process is to be migrated; for the target container, replacing the fake process with the real process and replacing the real process with the fake process on the source container; and re-launching a process on the same hardware node with settings from another node; wherein interfaces of real processes are connected to corresponding interfaces of the corresponding fake process to establish data flow of the interfaces of fake processes identical to the data flow outputted by interfaces of a corresponding real process. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer-implemented method for joining containers running on a cluster of hardware nodes, the method comprising:
-
on a plurality of nodes connected into the cluster, where each node hosts at least one container, executing a plurality of real processes in the containers, where each real process is executed on a single container and other containers execute fake processes corresponding to the real process, wherein the fake process includes interfaces identical to interfaces of a corresponding real process; determining the real process on a source container to be migrated and a target container where the real process is to be migrated; for the target container, replacing the fake process with the real process and replacing the real process with the fake process on the source container; and re-launching a process on the same hardware node with settings from another node; wherein interfaces of real processes are connected to corresponding interfaces of the corresponding fake process to establish data flow of the interfaces of fake processes identical to the data flow outputted by interfaces of a corresponding real process, and wherein interfaces of the fake processes are configured to receive data from conjugated interfaces. - View Dependent Claims (10, 11, 12, 13, 14, 15)
-
-
16. A system for joining containers running on a cluster of hardware nodes, the system comprising:
-
a plurality of nodes connected into a cluster, each node having a processor; a plurality of containers running on the nodes, wherein each node hosts at least one container; a plurality of real processes executing in the containers, wherein each real process is executed on a single container and other containers execute fake processes corresponding to the real process on their respective processors; wherein the system determines the real process on a source container to be migrated and a target container where the real process is to be migrated; at least one container executing a backup process that represents a state of the corresponding real process on each node, and wherein the node on which the backup process executes has no other fake processes corresponding to the real process of that backup process; for the target container, the system replaces the fake process with the real process and replaces the real process with the fake process on the source container; and the system re-launches a process on the same hardware node with live settings from another node, wherein the fake process includes interfaces identical to interfaces of a corresponding real process, and wherein interfaces of real processes are connected to a corresponding interfaces of the corresponding fake processes so as to establish output data flow of the corresponding interfaces of corresponding fake processes identical to the data flow outputted by interfaces of a corresponding real process. - View Dependent Claims (17)
-
Specification