CPC H04L 67/34 (2013.01) | 13 Claims |
1. A method for migrating containers, the method comprising:
identifying relationships between containers on a first device, wherein each container of the containers comprises at least one relationship, wherein the relationship comprises a HAS-A relationship or an IS-A relationship;
receiving a request to migrate at least a portion of the containers;
identifying a second device and a third device suitable for migration based on the request;
splitting the portion of the containers into a first group and a second group based on identifying the second device and the third device;
identifying the second device as a first target device to migrate the first group of containers based on the relationships, wherein the first group comprises a first container having the HAS-A relationship and a second container having the IS-A relationship;
identifying the third device as a second target device to migrate the second group of containers based on the relationships, wherein the second group comprises a third container having the HAS-A relationship;
migrating the first group to the second device by:
migrating the first container to the second device;
migrating, after migrating the first container, the second container to the second device; and
migrating the second group to the third device by migrating the third container to the third device.
|