Introduzione Grid1 Introduzione ai Sistemi Grid. Introduzione Grid2 Generalità Un sistema Grid...
-
Upload
eligio-carlini -
Category
Documents
-
view
219 -
download
0
Transcript of Introduzione Grid1 Introduzione ai Sistemi Grid. Introduzione Grid2 Generalità Un sistema Grid...
![Page 1: Introduzione Grid1 Introduzione ai Sistemi Grid. Introduzione Grid2 Generalità Un sistema Grid permette allutente di richiedere lesecuzione di un servizio.](https://reader033.fdocuments.net/reader033/viewer/2022052821/5542eb58497959361e8c41e2/html5/thumbnails/1.jpg)
Introduzione Grid 1
Introduzione ai Sistemi Grid
![Page 2: Introduzione Grid1 Introduzione ai Sistemi Grid. Introduzione Grid2 Generalità Un sistema Grid permette allutente di richiedere lesecuzione di un servizio.](https://reader033.fdocuments.net/reader033/viewer/2022052821/5542eb58497959361e8c41e2/html5/thumbnails/2.jpg)
Introduzione Grid 2
Generalità• Un sistema Grid permette all’utente di
richiedere l’esecuzione di un servizio computazionale, che verrà offerto in modo trasparente da una o più risorse distribuite
• Esistono diverse definizioni, ciascuna che mette in evidenza aspetti diversi
![Page 3: Introduzione Grid1 Introduzione ai Sistemi Grid. Introduzione Grid2 Generalità Un sistema Grid permette allutente di richiedere lesecuzione di un servizio.](https://reader033.fdocuments.net/reader033/viewer/2022052821/5542eb58497959361e8c41e2/html5/thumbnails/3.jpg)
Introduzione Grid 3
Definizione• Per gli scopi del corso, una Grid è un
insieme di unità computazionali indipendenti, distribuite e cooperanti, in grado di raggiungere uno specifico obiettivo computazionale all’interno di organizzazioni virtuali dinamiche e multi-istituzionali (*)–(*) I. Foster, C. Kesselman, and S. Tuecke,
“The anatomy of the Grid: Enabling scalable virtual organizations”, Int. J. High Perform. Comput. Appl., vol. 15, n° 3, pp. 200-222, 2001
![Page 4: Introduzione Grid1 Introduzione ai Sistemi Grid. Introduzione Grid2 Generalità Un sistema Grid permette allutente di richiedere lesecuzione di un servizio.](https://reader033.fdocuments.net/reader033/viewer/2022052821/5542eb58497959361e8c41e2/html5/thumbnails/4.jpg)
Introduzione Grid 4
OGSA• OGSA = Open Grid Service Architecture
• Definisce un insieme di specifiche che documentano i requisiti delle componenti hw/sw di una Grid
![Page 5: Introduzione Grid1 Introduzione ai Sistemi Grid. Introduzione Grid2 Generalità Un sistema Grid permette allutente di richiedere lesecuzione di un servizio.](https://reader033.fdocuments.net/reader033/viewer/2022052821/5542eb58497959361e8c41e2/html5/thumbnails/5.jpg)
Introduzione Grid 5
Funzionalità secondo OGSA• OGSA identifica 6 principali funzionalità di
una Grid:–Execution Management Services (EMS);–Data Services;–Resource Management Services;–Security Services;–Self-Management Services;– Information Services
• Per gli scopi del corso è particolarmente interessante EMS
![Page 6: Introduzione Grid1 Introduzione ai Sistemi Grid. Introduzione Grid2 Generalità Un sistema Grid permette allutente di richiedere lesecuzione di un servizio.](https://reader033.fdocuments.net/reader033/viewer/2022052821/5542eb58497959361e8c41e2/html5/thumbnails/6.jpg)
Introduzione Grid 6
EMS secondo OGSA• EMS address the job management and
execution capability of a grid system and it is concerned with the research of candidate locations for–execution–preparation for execution– initiating and managing the execution of jobs
until the end
![Page 7: Introduzione Grid1 Introduzione ai Sistemi Grid. Introduzione Grid2 Generalità Un sistema Grid permette allutente di richiedere lesecuzione di un servizio.](https://reader033.fdocuments.net/reader033/viewer/2022052821/5542eb58497959361e8c41e2/html5/thumbnails/7.jpg)
Introduzione Grid 7
Schema Generale
(1)
![Page 8: Introduzione Grid1 Introduzione ai Sistemi Grid. Introduzione Grid2 Generalità Un sistema Grid permette allutente di richiedere lesecuzione di un servizio.](https://reader033.fdocuments.net/reader033/viewer/2022052821/5542eb58497959361e8c41e2/html5/thumbnails/8.jpg)
Introduzione Grid 8
Schema Generale (2)
![Page 9: Introduzione Grid1 Introduzione ai Sistemi Grid. Introduzione Grid2 Generalità Un sistema Grid permette allutente di richiedere lesecuzione di un servizio.](https://reader033.fdocuments.net/reader033/viewer/2022052821/5542eb58497959361e8c41e2/html5/thumbnails/9.jpg)
Introduzione Grid 9
Schema Generale (3)
![Page 10: Introduzione Grid1 Introduzione ai Sistemi Grid. Introduzione Grid2 Generalità Un sistema Grid permette allutente di richiedere lesecuzione di un servizio.](https://reader033.fdocuments.net/reader033/viewer/2022052821/5542eb58497959361e8c41e2/html5/thumbnails/10.jpg)
Introduzione Grid 10
Tipi di Job• Sequenziali / Batch
• Paralleli
• CheckPoint
• Interattivi
• DAG (job con interdipendenze, che possono essere modellati da un Grafo Diretto Aciclico)
• Partizionabili
![Page 11: Introduzione Grid1 Introduzione ai Sistemi Grid. Introduzione Grid2 Generalità Un sistema Grid permette allutente di richiedere lesecuzione di un servizio.](https://reader033.fdocuments.net/reader033/viewer/2022052821/5542eb58497959361e8c41e2/html5/thumbnails/11.jpg)
Introduzione Grid 11
Stati di un Job (1)• SUBMITTED:
–the user has submitted the job via UI
• WAITING–the WMS has received the job
• READY–A CE, which matches job requirements, has
been selected, and the job is transferred to the JSS
• SCHEDULED–the JSS has sent the job to the CE
![Page 12: Introduzione Grid1 Introduzione ai Sistemi Grid. Introduzione Grid2 Generalità Un sistema Grid permette allutente di richiedere lesecuzione di un servizio.](https://reader033.fdocuments.net/reader033/viewer/2022052821/5542eb58497959361e8c41e2/html5/thumbnails/12.jpg)
Introduzione Grid 12
Stati di un Job (2)• RUNNING
–the job is running on the CE
• DONE this state has different meanings:- DONE (ok) : the execution has terminated on
the CE (WN) with success- DONE (failure) : the execution has terminated
on the CE (WN) with some problems- DONE (cancelled) : the job has been
cancelled with success
![Page 13: Introduzione Grid1 Introduzione ai Sistemi Grid. Introduzione Grid2 Generalità Un sistema Grid permette allutente di richiedere lesecuzione di un servizio.](https://reader033.fdocuments.net/reader033/viewer/2022052821/5542eb58497959361e8c41e2/html5/thumbnails/13.jpg)
Introduzione Grid 13
Stati di un Job (3)• OUTPUTREADY:
–the output sandbox is ready to be retrieved by the user
–reflects the time difference between end of computation on CE and the moment WMS got necessary notification about job termination.
• CLEARED:–the user has retrieved all output files
successfully, and the job bookkeeping information is purged some time after the job enters in this state.
![Page 14: Introduzione Grid1 Introduzione ai Sistemi Grid. Introduzione Grid2 Generalità Un sistema Grid permette allutente di richiedere lesecuzione di un servizio.](https://reader033.fdocuments.net/reader033/viewer/2022052821/5542eb58497959361e8c41e2/html5/thumbnails/14.jpg)
Introduzione Grid 14
Stati di un Job (4)• ABORTED:
–the job has failed–The job may fail for several reasons one of
them is external to its execution (no resource found).
![Page 15: Introduzione Grid1 Introduzione ai Sistemi Grid. Introduzione Grid2 Generalità Un sistema Grid permette allutente di richiedere lesecuzione di un servizio.](https://reader033.fdocuments.net/reader033/viewer/2022052821/5542eb58497959361e8c41e2/html5/thumbnails/15.jpg)
Introduzione Grid 15
Requisiti (1)• Req.1 A job can be submitted to the grid; if
there is no job, the system remains in a inactivity state.
• Req.2 The grid middleware checks the matchmaking between resources and job constraints before the execution; if there are problems (e.g. lack of memory or of devices, or slow CPU speed, etc.) the system reject the job.
![Page 16: Introduzione Grid1 Introduzione ai Sistemi Grid. Introduzione Grid2 Generalità Un sistema Grid permette allutente di richiedere lesecuzione di un servizio.](https://reader033.fdocuments.net/reader033/viewer/2022052821/5542eb58497959361e8c41e2/html5/thumbnails/16.jpg)
Introduzione Grid 16
Requisiti (2)• Req.3 After accepting the job the system
runs it.
• Req.4 If there are no failures the job is completed; on the other case the job fails.
• Req.5 A user can cancel a job every time.
![Page 17: Introduzione Grid1 Introduzione ai Sistemi Grid. Introduzione Grid2 Generalità Un sistema Grid permette allutente di richiedere lesecuzione di un servizio.](https://reader033.fdocuments.net/reader033/viewer/2022052821/5542eb58497959361e8c41e2/html5/thumbnails/17.jpg)
Introduzione Grid 17
Requisiti (3)• Req.6 At the end of the computation (job
completed or aborted for every reason) every resource is released.
• Req.7 If software or hardware errors occur the job is aborted.
• Req.8 At the end of every computation the result is communicated to the end user.
![Page 18: Introduzione Grid1 Introduzione ai Sistemi Grid. Introduzione Grid2 Generalità Un sistema Grid permette allutente di richiedere lesecuzione di un servizio.](https://reader033.fdocuments.net/reader033/viewer/2022052821/5542eb58497959361e8c41e2/html5/thumbnails/18.jpg)
Introduzione Grid 18
Diagramma degli StatiSUBMITTED
WAITING
READY
SCHEDULED
RUNNING
DONE(ok)DONE(failed)
OUTPUTREADY
CLEARED
ABORTEDDONE(cancelled)