kbaxx / fogframe

Open Source Fog Computing Framework
Apache License 2.0
9 stars 4 forks source link

fogframe

This repository embodies a set of microservices developed in Java together forming a researched fog computing framework. The project consists of the cloud-fog middleware, fog control node, fog cell, hostmonitor, and the fog data.

Software Specs

Tested with the following software versions:

Hardware Specs

Tested with the following hardware:

Install

To get the framework up and running, all Raspberrys need to be connected to the same WiFi and the different projects need to be built using mvn install. After that, the resulting JAR files and the corresponding run scripts in the folder run_scripts can be transferred to the Raspberry Pi. If both required JAR files (component and hostmonitor), the Dockerfile, and the run.sh script are transferred successfully, the components can be started.

In case of cloud usage, the cloud-fog middleware needs to be set up on a computer in the same network as the other fog devices. In order to get CFM running, a Redis database needs to be started using the startDB.sh script. After the db is online, the project can be started.

Usage

To start the different components the run.sh script needs to be executed.

$ sh run.sh

When all devices are paired successfully, the task requests can be sent to the fog control nodes. The required API endpoints can be checked in the code or in the online version of the thesis.

License

Apache 2.0 © Kevin Bachmann

Sources

Cloud graphic by Yannick from Flaticon is licensed under CC BY 3.0. Made with Logo Maker