Swarmlab docs

Application development in a distributed system

Development of Distributed Systems from Design to Application


You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

76 lines
1.9 KiB

3 years ago
= Data collector!
image::ROOT:swarmlab.png[swarmlab,150,float=right]
3 years ago
The "data collector" is a lightweight microservice application that collect and sends metadata, collected from a system, such as an IoT network, distributed system, data center, etc to a storage system.
3 years ago
* The data are transmitted, stored, and can be retrieved at any time.
3 years ago
*"data collector"* are developed with a platform agnostic"container-based application strategy
3 years ago
[NOTE]
====
3 years ago
A platform-agnostic approach offers many choices
* Can be seamlessly moved from local development machine to production deployments
3 years ago
3 years ago
* Flexibility, Reliability
** Avoiding Vendor Lock-In
3 years ago
* From Code to full-blown systems
** from a single container on your local machine
** to a running cloud native - container-based environment
====
3 years ago
== Start
You can start it in the same way as you start any other application.
3 years ago
TIP: You can find more information http://docs.swarmlab.io/SwarmLab-HowTos/swarmlab/docs/swarmlab/docs/hybrid/start-microservices.html[here^]
3 years ago
3 years ago
3 years ago
=== Open web interface
3 years ago
3 years ago
Find "webclient" Instance from menou:
3 years ago
3 years ago
* *Instances* - > click *more*
* *connect* -> "Click here to open the Web_App"
3 years ago
3 years ago
=== Open console
3 years ago
Find "webclient" Instance and *run*
3 years ago
3 years ago
[source,c]
----
docker exec ... Command
----
3 years ago
3 years ago
=== Source directory
The directory that contains the source is in "Directory Maps -> Local" column.
3 years ago
3 years ago
image::ROOT:swarmlab-connect.png[float=right]
* (1) Opens the info menu
* (2) Run a shell in a running container
* (3) Opens web interface
* (4),(5) Source directory - Directory Maps
3 years ago
*"Directory Maps"* are the preferred mechanism for persisting data generated and used by Docker containers. We use here "bind mounts" and they are dependent on the directory structure and OS of the host machine.
3 years ago
3 years ago
3 years ago
WARNING: Your local changes to the files will be overwritten by clicking the "Download" button. You should always *take a full backup* first (simple copy the directory tree)