wiki:Tutorials/EdgeComputing/ServiceMigration

Version 6 (modified by sumitece87, 5 years ago) ( diff )

This wiki page contains tutorials for container migration for edge cloud applications using ORBIT and COSMOS testbed. The following citation can be used for this work.

Maheshwari, Sumit, Shalini Choudhury, Ivan Seskar, and Dipankar Raychaudhuri. "Traffic-aware dynamic container migration for real-time support in mobile edge clouds." In 2018 IEEE International Conference on Advanced Networks and Telecommunications Systems (ANTS), pp. 1-6. IEEE, 2018.

Last updated: May 2020

Container Service Migration

Description

Containers run at the user-space process over the Kernel and have better bandwidth and CPU performance as compared to VMs. The shared resource dynamic container migration approach, therefore, can be used to address deteriorating application QoS, arising from the processing latency (system load) and/or the network latency (user mobility).

This tutorial demonstrates how to accomplish service migrations using containers.

Prerequisites

In order to access the testbed, create a reservation, and have it approved by the reservation service. Access to the resources is granted after the reservation is confirmed.

Resources required

Three nodes are required to run this experiment.

Topology

The following topology is used in this experiment. The container is migrated from the source to the destination. The node information and the results can be collected from the console.

Tutorial

Set Up

Before you can access the testbed, you need to make a reservation and get it approved. After receiving the reservation's confirmation (approval) email:

  • Login into reserved domain: ssh -X username@console.sb5.orbit-lab.org (the -X option is for enabling the X11 tunneing)
  • Load the most updated container migration image (conmig.ndz released) on at least two nodes (this process can take about a few minutes so please be patient): omf load -i conmig.ndz -t node1-1,node1-2
  • Turn on the node: omf tell -a on -t system:topo:images
  • Ping to the nodes to check their status: ping node1-1 and ping node1-2
  • Login into the nodes: ssh -X root@node1 and ssh -X root@node2. The files required for this experiment are already loaded in the image. You can also download the full code used in the ShareOn paper from the GitHub repository.
  • On the console, create a directory, migration and download the migration script [conmig.sh].

Attachments (4)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.