Mimicking FogDirector Application Management Stefano Fort orti, - - PowerPoint PPT Presentation

mimicking fogdirector application management
SMART_READER_LITE
LIVE PREVIEW

Mimicking FogDirector Application Management Stefano Fort orti, - - PowerPoint PPT Presentation

Mimicking FogDirector Application Management Stefano Fort orti, Ahmad Ibrahim and Antonio Brogi Service-oriented, Cloud and Fog Computing Research Group Department of Computer Science University of Pisa, Italy 12th Symposium and Summer School


slide-1
SLIDE 1

Mimicking FogDirector Application Management

Stefano Fort

  • rti, Ahmad Ibrahim and Antonio Brogi

Service-oriented, Cloud and Fog Computing Research Group Department of Computer Science University of Pisa, Italy

12th Symposium and Summer School On Service-Oriented Computing, June 25 – June 29, 2018 in Crete, Greece

1

slide-2
SLIDE 2
slide-3
SLIDE 3

4

slide-4
SLIDE 4

IoT Deployment Models

M2M/ LAN/WAN

Cloud

Internet

IoT+ T+Edge

  • Low latencies, but
  • Limited capabilities,
  • Difficulties in sharing data

IoT+Clo loud

  • Huge computing power, but
  • Mandatory connectivity,
  • High latencies,
  • Bandwidth bottleneck.
  • Not sufficient per se to

support the IoT mo momentu tum alone.

  • There is a need for filt

lterin ing and pr proc

  • cessin

ing before the Cloud.

  • Processing should occur

wherever it is best-pla laced ed for any given IoT application

5

slide-5
SLIDE 5

Fog Computing

Fog

Cloud

Fog computing is a system-level horizontal

architecture that distributes resources and services

  • f computing, storage, control and

networking anywhere along the continuum from Cloud to Things, thereby accelerating the

velocity of decision making.

Fog-centric architecture serves a specific subset of business problems that cannot be successfully implemented using only traditional cloud based architectures or solely intelligent edge devices.

[OpenFog Reference Architecture, 2016.] 6

slide-6
SLIDE 6

Fog Director

A single pane of glass to manage ap appli lication lif lifec ecycle le

  • n Fog devices.

FogDirector

A P I

infrastructure

app admin

# management.py

publish(id,A) n = choose(get_info_N()) d = deploy(id,n) start(d)

  • n alert do

stop(d) undeploy(d); m = choose(get_info_N())) deploy(id, m)

# management.py

publish(id,A) n = choose(get_info_N()) d = deploy(id,n) start(d)

  • n alert do

stop(d) undeploy(d); m = choose(get_info_N())) deploy(id, m)

# management.py

publish(id,A) n = choose(get_info_N()) d = deploy(id,n) start(d)

  • n alert do

stop(d) undeploy(d); m = choose(get_info_N())) deploy(id, m)

RE REST API PI GU GUI

7

slide-7
SLIDE 7

The App

Steve, App Admin

SmartBuilding

8

slide-8
SLIDE 8

Problems

#1 #1 (quickly) un understand Fog

  • gDir

irector functioning #2 #2 write corr

  • rrect and

effect ctive management

9

slide-9
SLIDE 9

Problem #1

https://www.cisco.com/c/en/us/td/docs/routers/access/800/software/guides/iox/fog-director/reference-guide/1-6/fog_director_ref_guide.html

10

slide-10
SLIDE 10

Solution #1

  • Ope

peratio ional l sem semantic ics of all ba basi sic fun functionalit itie ies of FogDirector.

  • Com

Compact and un unambiguous reference.

11

slide-11
SLIDE 11

Anatomy of a rule

CLIENT MANAGEMENT PROGRAM OPERATION AND PARAMETERS CONDITIONS FOR

THE OPERATION TO BE SUCCESSFUL

ERROR CODE INFRASTRUCTURE STATE MANAGED APPS

12

slide-12
SLIDE 12

Problem #2

  • Corr

Correctness can be verified by using the semantics.

  • Effectiveness involves considering

variations in:

  • Fog node res

esources and

  • QoS of communication links
  • Wh

What the then? write corr

  • rrect and

effective management

13

slide-13
SLIDE 13

Problem #2

  • Corr

Correctness can be verified by using the semantics.

  • Effectiveness involves considering

variations in:

  • Fog node res

esources and

  • QoS of communication links
  • Wh

What the then? write corr

  • rrect and

effective management

14

slide-14
SLIDE 14

Solution #2

A P I

monitored infrastructure data

FogDirMime

# management.py

publish(id,A) n = choose(get_info_N()) d = deploy(id,n) start(d)

  • n alert do

stop(d) undeploy(d); m = choose(get_info_N())) deploy(id, m)

app admin

https://github.com/di-unipi-socc/FogDirMime

FogDirMime is the core of a simulator:

  • Infr

frastructure mgmt

  • App mgmt
  • Monitoring & Aler

erts (A2T, resource)

15

slide-15
SLIDE 15

The Big Picture

A P I

FogDirector

A P I

infrastructure monitored infrastructure data

# management.py

publish(id,A) n = choose(get_info_N()) d = deploy(id,n) start(d)

  • n alert do

stop(d) undeploy(d); m = choose(get_info_N())) deploy(id, m)

FogDirMime

app admin

probabilistic sampling of f latency & bandwidth and of f available node res esources varying network Qo QoS S and workload conditions

16

slide-16
SLIDE 16

App pp Infr fras astru ruct cture

A (simple) example

17

slide-17
SLIDE 17

A P I

FogDirMime

A (simple) example

18

slide-18
SLIDE 18

Conclusions

con

  • ncise and

una unambiguous s reference for FogDirector

validation of management scripts at desi esign time

perf perform rmance pr pred ediction and tuni tuning of management

19

slide-19
SLIDE 19

Future Work

include othe

  • ther

fun functionalit itie ies and QoS QoS-aware management consider sc scali ling and

  • sm
  • smotic com
  • mputing

for mul ulti-component ap appli lications implement a full- fledged sim simulatio ion en environment for FogDirector study other recent tools such as EdgeX Fou

  • undry

ryTM

20

slide-20
SLIDE 20

Q&A → Poster Session

21

slide-21
SLIDE 21

Mimicking FogDirector Application Management

Stefano Fort

  • rti, Ahmad Ibrahim and Antonio Brogi

Service-oriented, Cloud and Fog Computing Research Group Department of Computer Science University of Pisa, Italy

12th Symposium and Summer School On Service-Oriented Computing, June 25 – June 29, 2018 in Crete, Greece

22