P. Kacsuk MTA SZTAKI (Univ. of Westminster) · U1 U2 Un DG D1 D2 Donors Dj Cloud DG D1 D2 Donors Dk...

30
The EDGeS/EDGI projects receive Community research funding 1 Supporting scientific and Supporting scientific and Web 2.0 communities by Web 2.0 communities by desktop grids desktop grids P. Kacsuk MTA SZTAKI (Univ. of Westminster)

Transcript of P. Kacsuk MTA SZTAKI (Univ. of Westminster) · U1 U2 Un DG D1 D2 Donors Dj Cloud DG D1 D2 Donors Dk...

Page 1: P. Kacsuk MTA SZTAKI (Univ. of Westminster) · U1 U2 Un DG D1 D2 Donors Dj Cloud DG D1 D2 Donors Dk Universities can create local DGs (e.g. Univ. of Westminster, Univ. of Portsmouth,

The EDGeS/EDGI projects receive Community research funding1

Supporting scientific and Supporting scientific and Web 2.0 communities by Web 2.0 communities by

desktop grids desktop grids P. Kacsuk

MTA SZTAKI(Univ. of Westminster)

Page 2: P. Kacsuk MTA SZTAKI (Univ. of Westminster) · U1 U2 Un DG D1 D2 Donors Dj Cloud DG D1 D2 Donors Dk Universities can create local DGs (e.g. Univ. of Westminster, Univ. of Portsmouth,

2

The strength of The strength of communitiescommunities

•• Web 2.0 servicesWeb 2.0 services provide frameworks for communities to provide frameworks for communities to put together contentsput together contents

•• Volunteer computingVolunteer computing (VC) is a community activity to (VC) is a community activity to provide desktop resources for typically scientific provide desktop resources for typically scientific communities communities --> > Desktop Grids (Desktop Grids (DGsDGs))

•• Our goal is to bring together the two communities:Our goal is to bring together the two communities:– Web 2.0 communities can help scientific projects to advertise

their projects and attract volunteer donors– Web 2.0 communities can extend the scope of their applications

by using VC technology provided for science– Web 2.0 service providers can increase their services without

further resource investment

Page 3: P. Kacsuk MTA SZTAKI (Univ. of Westminster) · U1 U2 Un DG D1 D2 Donors Dj Cloud DG D1 D2 Donors Dk Universities can create local DGs (e.g. Univ. of Westminster, Univ. of Portsmouth,

3

Goals of the EDGI and Goals of the EDGI and Web2Grid projectsWeb2Grid projects

•• To support both To support both scientific and Web 2.0 scientific and Web 2.0 communities by desktop gridscommunities by desktop grids

•• EDGI: enables scientific communities to EDGI: enables scientific communities to extend the existing service grids (extend the existing service grids (SGsSGs) ) with DG resourceswith DG resources

•• Web2Grid enables Web 2.0 communities Web2Grid enables Web 2.0 communities to create large computing infrastructure as to create large computing infrastructure as community effortcommunity effort

Page 4: P. Kacsuk MTA SZTAKI (Univ. of Westminster) · U1 U2 Un DG D1 D2 Donors Dj Cloud DG D1 D2 Donors Dk Universities can create local DGs (e.g. Univ. of Westminster, Univ. of Portsmouth,

4

Possible options to extend the Possible options to extend the infrastructure for communitiesinfrastructure for communities

Grid Web 2.0Community Service

U1 U2 Un U1 U2 Um

Cloud DG

D1 D2 Dj

Cloud DG

D1 D2 Dk

Faster, more reliable but more expensive

Less expensive since uses the free cycles of existing PCs

Scientific Community Users

Web 2.0 Community Users

Donors Donors

Page 5: P. Kacsuk MTA SZTAKI (Univ. of Westminster) · U1 U2 Un DG D1 D2 Donors Dj Cloud DG D1 D2 Donors Dk Universities can create local DGs (e.g. Univ. of Westminster, Univ. of Portsmouth,

5

EDGI: Extending the grid EDGI: Extending the grid infrastructure for scientific infrastructure for scientific

communitiescommunities

EDGeSscope only for compute intensive applications for EGEE (gLite)

EDGI scope for both compute and data intensive applications for EMI/EGI (gLite, ARC, Unicore)

Extend Desktop Grids with Clouds for QoS

Page 6: P. Kacsuk MTA SZTAKI (Univ. of Westminster) · U1 U2 Un DG D1 D2 Donors Dj Cloud DG D1 D2 Donors Dk Universities can create local DGs (e.g. Univ. of Westminster, Univ. of Portsmouth,

6

Extending the grid infrastructure Extending the grid infrastructure for scientific communitiesfor scientific communities

Grid

U1 U2 Un

Cloud DG

D1 D2 Dj

Faster, more reliable but more expensive Donors

Scientific Community Users

Cloud

Provides reliable donors from dedicated cloud resources

Page 7: P. Kacsuk MTA SZTAKI (Univ. of Westminster) · U1 U2 Un DG D1 D2 Donors Dj Cloud DG D1 D2 Donors Dk Universities can create local DGs (e.g. Univ. of Westminster, Univ. of Portsmouth,

7

Extending the grid infrastructure Extending the grid infrastructure for scientific communitiesfor scientific communities

Grid

U1 U2 Un

DG

D1 D2 Dj

Scientific Community Users

Donors Cloud

Provides reliable donors from dedicated cloud resources

Page 8: P. Kacsuk MTA SZTAKI (Univ. of Westminster) · U1 U2 Un DG D1 D2 Donors Dj Cloud DG D1 D2 Donors Dk Universities can create local DGs (e.g. Univ. of Westminster, Univ. of Portsmouth,

8

Steps of the technical Steps of the technical solutionsolution

gLite grid

submit

Volunteer/InstitutionalResources

DG client

DGPro‐ject

The starting stateThe starting state

Page 9: P. Kacsuk MTA SZTAKI (Univ. of Westminster) · U1 U2 Un DG D1 D2 Donors Dj Cloud DG D1 D2 Donors Dk Universities can create local DGs (e.g. Univ. of Westminster, Univ. of Portsmouth,

9

Security issuesSecurity issues•• SG SG --> DG direction> DG direction

– In DG projects• Applications are trusted• DG server is trusted• Clients are not trusted

– Therefore any SG application that is intended to run in a DG should be validated to make it trusted

– Therefore EDGI provides:• Application validation service• Application repository (AR) where trusted applications are

stored• EDGI bridge transfers only those applications to DGs that are

stored in the AR

Page 10: P. Kacsuk MTA SZTAKI (Univ. of Westminster) · U1 U2 Un DG D1 D2 Donors Dj Cloud DG D1 D2 Donors Dk Universities can create local DGs (e.g. Univ. of Westminster, Univ. of Portsmouth,

10

Step 1: Providing Step 1: Providing application repositoryapplication repository

•• metadata templates metadata templates describe applications and describe applications and their their implementationsimplementations to to supportsupportbrowse and search browse and search operationsoperations

•• access without registration access without registration for for all users to browse all users to browse and and search the repositorysearch the repository

•• APIAPI to enable to enable reporepo access access for for modified modified CEsCEs

10

Page 11: P. Kacsuk MTA SZTAKI (Univ. of Westminster) · U1 U2 Un DG D1 D2 Donors Dj Cloud DG D1 D2 Donors Dk Universities can create local DGs (e.g. Univ. of Westminster, Univ. of Portsmouth,

11

Step 2: Submit job from Step 2: Submit job from gLitegLite to DG projectto DG project

gLite grid

DGPro‐ject

submit

Volunteer/InstitutionalResources

DG client

3GBridgedown‐load

Page 12: P. Kacsuk MTA SZTAKI (Univ. of Westminster) · U1 U2 Un DG D1 D2 Donors Dj Cloud DG D1 D2 Donors Dk Universities can create local DGs (e.g. Univ. of Westminster, Univ. of Portsmouth,

Generic GridGeneric Grid--Grid (3G) Bridge to Grid (3G) Bridge to integrate integrate SGsSGs and and DGsDGs

Job

Han

dler

Inte

rfac

e

Job Database

Queue Manager

Grid

Han

dler

Inte

rfac

eXt

rem

We

bPl

ugin Xtrem

Web

DC

-API

Plug

in

BOINC

WSinterface

SG

3G Bridge

Page 13: P. Kacsuk MTA SZTAKI (Univ. of Westminster) · U1 U2 Un DG D1 D2 Donors Dj Cloud DG D1 D2 Donors Dk Universities can create local DGs (e.g. Univ. of Westminster, Univ. of Portsmouth,

13

Step 3: Submit job from Step 3: Submit job from ARC to DG projectARC to DG project

gLite grid

DGPro‐ject

submit

Volunteer/InstitutionalResources

DG client

3GBridgedown‐load

ARC grid

submit

Page 14: P. Kacsuk MTA SZTAKI (Univ. of Westminster) · U1 U2 Un DG D1 D2 Donors Dj Cloud DG D1 D2 Donors Dk Universities can create local DGs (e.g. Univ. of Westminster, Univ. of Portsmouth,

14

Step 4: Support for DataStep 4: Support for Data--intensive applicationsintensive applicationsARC grid

gLite grid

3GBridgeDGPro‐ject

submit

down‐load

submit

Volunteer/InstitutionalResources

DG client

attic

attic

Attic FS

UI

upload

Page 15: P. Kacsuk MTA SZTAKI (Univ. of Westminster) · U1 U2 Un DG D1 D2 Donors Dj Cloud DG D1 D2 Donors Dk Universities can create local DGs (e.g. Univ. of Westminster, Univ. of Portsmouth,

15

Usage of Attic P2P File Usage of Attic P2P File System in EDGISystem in EDGI

Page 16: P. Kacsuk MTA SZTAKI (Univ. of Westminster) · U1 U2 Un DG D1 D2 Donors Dj Cloud DG D1 D2 Donors Dk Universities can create local DGs (e.g. Univ. of Westminster, Univ. of Portsmouth,

16

Step 5: Step 5: QoSQoS Support by Support by CloudsClouds

ARC grid

gLite grid

3GBridge

attic

Attic FS

UI

DGPro‐ject

submit

upload

down‐load

submit

Volunteer/InstitutionalResources

DG client

attic

OpenNebula/Amazon

DG client

attic

cloud

Page 17: P. Kacsuk MTA SZTAKI (Univ. of Westminster) · U1 U2 Un DG D1 D2 Donors Dj Cloud DG D1 D2 Donors Dk Universities can create local DGs (e.g. Univ. of Westminster, Univ. of Portsmouth,

17

Host A

3G‐Bridge

BOINCPlugin

Cloud Plugin

Queue 1

……

Queue 2

……

BOINC Master

Cloud Resource 2 (BOINC Worker)

Cloud Resource N (BOINC Worker)

Scheduler

Amazon/ Eucalyptus Cloud Interface

Cloud Resource 1 (BOINC Worker) Legend

InformationCommandJob

1. Job is submitted from MCE to 3G Bridge.

2. 3G Bridge submits the job to a BOINC DG using the BOINC Plugin

3. The Scheduler keeps track of the number of jobs in the BOINC queue (Queue 1) and of the number of the running Cloud Resources (workers).

4. If the BOINC DG is overloaded, the Scheduler starts new workers by submitting a job to the queue of the Cloud Plugin (Queue 2).

5. Each job in Queue 2 launches a new BOINC Worker in the Cloud.

6. If the cluster is underutilized, the Scheduler stops some workers (cloud resources) by sending cancel jobs into Queue 2.

3G Bridge Extension for3G Bridge Extension for supporting supporting CloudsClouds

Page 18: P. Kacsuk MTA SZTAKI (Univ. of Westminster) · U1 U2 Un DG D1 D2 Donors Dj Cloud DG D1 D2 Donors Dk Universities can create local DGs (e.g. Univ. of Westminster, Univ. of Portsmouth,

18

Step 6: MonitoringStep 6: MonitoringARC grid

gLite grid

OpenNebula/Amazon

3GBridge

attic

monitor

Attic FS DG client

attic

Monitor

UI

UI

DGPro‐ject

submit

down‐load

submit

inspect

upload

cloud

Volunteer/InstitutionalResources

DG client

attic

Page 19: P. Kacsuk MTA SZTAKI (Univ. of Westminster) · U1 U2 Un DG D1 D2 Donors Dj Cloud DG D1 D2 Donors Dk Universities can create local DGs (e.g. Univ. of Westminster, Univ. of Portsmouth,

19

Appl. name Last day Last week Last month

EDGeS@home

Page 20: P. Kacsuk MTA SZTAKI (Univ. of Westminster) · U1 U2 Un DG D1 D2 Donors Dj Cloud DG D1 D2 Donors Dk Universities can create local DGs (e.g. Univ. of Westminster, Univ. of Portsmouth,

20

EDGI business modelEDGI business model

Grid

U1 U2 Un

DG

D1 D2 Dj

SC Users can ask QoS support (cloud resources) if they have collected credits

Donors Cloud

EDGI provides reliable donors from dedicated cloud resources

After EDGI, IDGFmembers or cloud providers can provide cloud resources

Institutes of SC users can donate DG resources and can collect credits (by BOINC mechanism)

Students and public can support universities by offering their credits

Page 21: P. Kacsuk MTA SZTAKI (Univ. of Westminster) · U1 U2 Un DG D1 D2 Donors Dj Cloud DG D1 D2 Donors Dk Universities can create local DGs (e.g. Univ. of Westminster, Univ. of Portsmouth,

21

EDGI business modelEDGI business model

Grid

U1 U2 Un

DG

D1 D2 DjDonors Cloud

DG

D1 D2 DkDonors

Universities can create local DGs (e.g. Univ. of Westminster, Univ. of Portsmouth, Univ. of Szeged, etc.)

University level DG could be connected to the EDGI DG and collect credit for the univ. researchers

Page 22: P. Kacsuk MTA SZTAKI (Univ. of Westminster) · U1 U2 Un DG D1 D2 Donors Dj Cloud DG D1 D2 Donors Dk Universities can create local DGs (e.g. Univ. of Westminster, Univ. of Portsmouth,

22

WEB2GRID ProjeWEB2GRID Projecctt

22

Building comm.

Collect resources

Applications

Services for comm.

Watermark appl.

Media appl.

New community appls

Existing community appl1

Existing community appl2

Page 23: P. Kacsuk MTA SZTAKI (Univ. of Westminster) · U1 U2 Un DG D1 D2 Donors Dj Cloud DG D1 D2 Donors Dk Universities can create local DGs (e.g. Univ. of Westminster, Univ. of Portsmouth,

23

FacebookFacebook interface for interface for watermarking photoswatermarking photos

• To prevent the illegal use of unprotected photos

• Use of steganographic methods, embedding hidden watermarks into the photos

• Protected images can be found by a search-bot

• Cryptography (timestamp and digital signature) is used to show the ownership rights

Page 24: P. Kacsuk MTA SZTAKI (Univ. of Westminster) · U1 U2 Un DG D1 D2 Donors Dj Cloud DG D1 D2 Donors Dk Universities can create local DGs (e.g. Univ. of Westminster, Univ. of Portsmouth,

2424

GRID feladatkezelőWeb2alkalmazás

Web 2.0 felhasználóiinterfész (Facebook/Orkut)

Megrendelési modul

Eredmény validátor

Regisztrációs modul

Elszámoló rendszer

Koordinációs modul

Elszámoló modul

gUSE middleware

GRID

gUSEWS

interfész

WS-PGRADE

Fizető rendszer

Abaqoos

gUSE repository

Boinc kliens szoftverí0

BOINC szerver

Boinc kliens szoftverBoinc kliens szoftver

Boinc kliens szoftver

Boinc kliens szoftver

Boinc kliens szoftver

BOINC donor regiszter

BOINC jelentés generátor és

validátor interfész3GBridge

Munkacsomag

Eredmény

Új workflow

Workflowállapot

Meg‐rendelő általi fizetés

Donormunka‐végzéskifizetése

Elszámolás munkavégzésről

Donorregisztráció

Új workflow

Workflowállapot

Workfloweredmények

Eredményekvalidálása

gUSEworkf low

BOINC alkalmazás

interface

BOINC report and

validator interface

Coordinator Module

Accounting Module

Registrator Module

Web 2.0 UserInterface (e.g. Facebook)

Order Module

Result Validator Module

Grid Task Handler

Payment System

Accounting System

Application

BOINC clientsoftware

Appl.

Architecture of Architecture of WWebeb2G2Gridrid systemsystem

Results of Web2Grid

Results ofEDGeS and

EDGI

Page 25: P. Kacsuk MTA SZTAKI (Univ. of Westminster) · U1 U2 Un DG D1 D2 Donors Dj Cloud DG D1 D2 Donors Dk Universities can create local DGs (e.g. Univ. of Westminster, Univ. of Portsmouth,

2525

GRID feladatkezelőWeb2alkalmazás

Web 2.0 felhasználóiinterfész (Facebook/Orkut)

Megrendelési modul

Eredmény validátor

Regisztrációs modul

Elszámoló rendszer

Koordinációs modul

Elszámoló modul

gUSE middleware

GRID

gUSEWS

interfész

WS-PGRADE

Fizető rendszer

Abaqoos

gUSE repository

Boinc kliens szoftverí0

BOINC szerver

Boinc kliens szoftverBoinc kliens szoftver

Boinc kliens szoftver

Boinc kliens szoftver

Boinc kliens szoftver

BOINC donor regiszter

BOINC jelentés generátor és

validátor interfész3GBridge

Munkacsomag

Eredmény

Új workflow

Workflowállapot

Meg‐rendelő általi fizetés

Donormunka‐végzéskifizetése

Elszámolás munkavégzésről

Donorregisztráció

Új workflow

Workflowállapot

Workfloweredmények

Eredményekvalidálása

gUSEworkf low

BOINC alkalmazás

interface

BOINC report and

validator interface

Coordinator Module

Accounting Module

Registration Module

Web 2.0 UserInterface (e.g. Facebook)

Order Module

Result Validator Module

Grid Task Handler

Payment System

Accounting System

Application

BOINC clientsoftware

Appl.

Web 2.0 applicationinterfaces

Web 2.0 Application

SupportServices

Paymentmodule

Accounting System

Grid

Gridresources

Architecture of Architecture of WWebeb2G2Gridrid systemsystem

Page 26: P. Kacsuk MTA SZTAKI (Univ. of Westminster) · U1 U2 Un DG D1 D2 Donors Dj Cloud DG D1 D2 Donors Dk Universities can create local DGs (e.g. Univ. of Westminster, Univ. of Portsmouth,

26

26

Desktop Grid

Watermark App

Media App

3G Bridge

Client

Client

Client

Client

Grid applications

Watermark Workflow

Media Workflow…

Job 1

Job 2

Job 3 Mic

ropa

ymen

t(A

baqo

os)

“Cre

dit”

Digital signature

Example Example WWebeb2G2Gridrid application: application: watermarking photoswatermarking photos

Page 27: P. Kacsuk MTA SZTAKI (Univ. of Westminster) · U1 U2 Un DG D1 D2 Donors Dj Cloud DG D1 D2 Donors Dk Universities can create local DGs (e.g. Univ. of Westminster, Univ. of Portsmouth,

27

Possible business modelsPossible business models

•• Service provider provides the whole frameworkService provider provides the whole framework•• Supplier model: Supplier model:

– Service provider invites trusted individuals to connect clients

– Pays for the collected credits

•• Volunteer model:Volunteer model:– Web 2.0 community members provide the clients– They collect credits– Credits are transferred to real money and offered to

charity organizations

Page 28: P. Kacsuk MTA SZTAKI (Univ. of Westminster) · U1 U2 Un DG D1 D2 Donors Dj Cloud DG D1 D2 Donors Dk Universities can create local DGs (e.g. Univ. of Westminster, Univ. of Portsmouth,

28RI-261561 WP4

version: 3.0IntroductionAuthor: Robert Lovas, Ad Emmen

International International Desktop Grid Federation (IDGF)Desktop Grid Federation (IDGF)

Support those Support those NGIsNGIs that want to extend their that want to extend their VO with volunteer or local VO with volunteer or local DGsDGsSupport those universities, institutes, companies Support those universities, institutes, companies who want to set up local DGwho want to set up local DGRun dissemination campaign to attract more Run dissemination campaign to attract more volunteers to donate their computer resourcesvolunteers to donate their computer resourcesFederation is open for organisations and Federation is open for organisations and individuals in research and industry. Current individuals in research and industry. Current members: members:

>100 individuals> 30 organizations (including companies)

Page 29: P. Kacsuk MTA SZTAKI (Univ. of Westminster) · U1 U2 Un DG D1 D2 Donors Dj Cloud DG D1 D2 Donors Dk Universities can create local DGs (e.g. Univ. of Westminster, Univ. of Portsmouth,

29

SummarySummary

• Volunteer DG resources can be provided for scientific and Web 2.0 communities as an inexpensive alternative to cloud resources

• EDGI and Web2Grid projects have developed the required technical solutions

• They also show possible business models• Future task: to implement the business

models

Page 30: P. Kacsuk MTA SZTAKI (Univ. of Westminster) · U1 U2 Un DG D1 D2 Donors Dj Cloud DG D1 D2 Donors Dk Universities can create local DGs (e.g. Univ. of Westminster, Univ. of Portsmouth,

30

For more information please visit the EDGeSand EDGI Websites:

http://www.edges-grid.eu/http://edgi-project.eu

and/or send e-mail to me:[email protected]

Thank you for your attention …Thank you for your attention …

Anyquestions?