TUTORIAL TUTORIAL Rebecca Breu, Bastian Demuth, Andr Giesler, - - PowerPoint PPT Presentation

tutorial tutorial
SMART_READER_LITE
LIVE PREVIEW

TUTORIAL TUTORIAL Rebecca Breu, Bastian Demuth, Andr Giesler, - - PowerPoint PPT Presentation

TUTORIAL TUTORIAL Rebecca Breu, Bastian Demuth, Andr Giesler, Bastian Tweddell (FZ Jlich) {r.breu, b.demuth, a.giesler, b.tweddell}@fz-juelich.de September 2006 Outline Outline Motivation & History Production UNICORE 5


slide-1
SLIDE 1

TUTORIAL TUTORIAL

September 2006 Rebecca Breu, Bastian Demuth, André Giesler, Bastian Tweddell (FZ Jülich)

{r.breu, b.demuth, a.giesler, b.tweddell}@fz-juelich.de

slide-2
SLIDE 2

2

Outline Outline

Motivation & History Production UNICORE 5

Features Recent Developments Architecture

UNICORE 6

Grid Standards Architecture

Summary

slide-3
SLIDE 3

3

Motivation: Why UNICORE? Motivation: Why UNICORE?

Scientists need computational and storage related resources

slide-4
SLIDE 4

4

Supercomputers are managed by Resource Management Systems (RMSs) that handle the scheduling But: There are many RMSs available A proprietary way of job submitting

IBM Loadleveler llsubmit… Torque Resource Manager qsub…

Different job description languages (# of nodes, memory requirements…)

Motivation: Why UNICORE? Motivation: Why UNICORE?

Resource Management System

slide-5
SLIDE 5

5

Solution: Grid System UNICORE Define job workflows in abstract manner Immediate portability of job definitions for other systems with

  • ther architectures

No ‘learn overhead’ if a new RMS is used Applications across multiple supercomputers/clusters ‘going meta’

Motivation: Why UNICORE? Motivation: Why UNICORE?

slide-6
SLIDE 6

6

Initial UNICORE Initial UNICORE developments developments

UNICORE 08/1997-12/1999 UNICORE Plus 01/2000-12/2002 EUROGRID 11/2000-01/2004 GRIP 01/2002-02/2004 OpenMolGRID 09/2002-02/2005

slide-7
SLIDE 7

7 2008 2007 2006 2005 2004 2003 2002 2009 UniGrids DGI VIOLA OMII-Europe EGEE-II A-WARE GRIP GRIDSTART OpenMolGRID Chemomentum eDEISA DEISA

UNICORE in (mostly) European Projects UNICORE in (mostly) European Projects

slide-8
SLIDE 8

8

UNICORE Features UNICORE Features

slide-9
SLIDE 9

9

OGSA-based and WSRF-compliant UNICORE 6 alpha Interactive access UNICORE-SSH plugin High-level API for programming Grids DRMAA-based access to RMSs Comfortable configuration tool UNIX-like command line interface

Recent Developments Recent Developments

slide-10
SLIDE 10

10

UNICORE Live CD UNICORE Live CD

Complete “out-of-the-box” usage of UNICORE 5 Bootable Linux OS with UNICORE 5 pre-installed Does not harm your system sandbox scenario For testing, evaluating, …

AVAILABLE HERE AND AS ISO-IMAGE ON SOURCEFORGE

slide-11
SLIDE 11

11

Usite Usite Vsite Vsite

UNICORE Architecture Overview UNICORE Architecture Overview

TSI NJS RMS TSI NJS

Authorization

Gateway

Authentication

  • pt. Firewall

Gateway

  • pt. Firewall

Client

Multi-Site Jobs

UUDB

SSL Abstract Non- Abstract

Disc RMS Disc Vsite TSI NJS RMS UUDB Disc IDB IDB IDB

Incarnation

  • pt. Firewall

Authorization

slide-12
SLIDE 12

12

Usite Usite Vsite Vsite

UNICORE Architecture Overview UNICORE Architecture Overview

TSI NJS RMS TSI NJS

Authorization

Gateway

Authentication

  • pt. Firewall

Gateway

  • pt. Firewall

Client

Multi-Site Jobs

UUDB

SSL Abstract Non- Abstract

Disc RMS Disc Vsite TSI NJS RMS UUDB Disc IDB IDB IDB

Incarnation

  • pt. Firewall

Authorization

Workflow-Engine Resource Management Job-Monitoring File Transfer User Management Application Support

slide-13
SLIDE 13

13

Usite Usite Vsite Vsite

UNICORE Architecture Overview UNICORE Architecture Overview

TSI NJS RMS TSI NJS

Authorization

Gateway

Authentication

  • pt. Firewall

Gateway

  • pt. Firewall

Client

Multi-Site Jobs

UUDB

SSL Abstract Non- Abstract

Disc RMS Disc Vsite TSI NJS RMS UUDB Disc IDB IDB IDB

Incarnation

  • pt. Firewall

Authorization

similar to Globus jobmanager fork LoadLeveler, (Open)PBS(Pro),

CCS, LSF, NQE/NQS, ...

CONDOR, GT 2.4

slide-14
SLIDE 14

14

Usite Usite Vsite Vsite

UNICORE Architecture Overview UNICORE Architecture Overview

TSI NJS RMS TSI NJS

Authorization

Gateway

Authentication

  • pt. Firewall

Gateway

  • pt. Firewall

Client

Multi-Site Jobs

UUDB

SSL Abstract Non- Abstract

Disc RMS Disc Vsite TSI NJS RMS UUDB Disc IDB IDB IDB

Incarnation

  • pt. Firewall

Authorization

similar to /etc/grid-security/grid-mapfile

slide-15
SLIDE 15

15

Usite Usite Vsite Vsite

UNICORE Architecture Overview UNICORE Architecture Overview

TSI NJS RMS TSI NJS

Authorization

Gateway

Authentication

  • pt. Firewall

Gateway

  • pt. Firewall

Client

Multi-Site Jobs

UUDB

SSL Abstract Non- Abstract

Disc RMS Disc Vsite TSI NJS RMS UUDB Disc IDB IDB IDB

Incarnation

  • pt. Firewall

Authorization

slide-16
SLIDE 16

16

UNICORE Client UNICORE Client

Job Preparation Job Monitoring Workflow Management Usites Vsites

slide-17
SLIDE 17

17

UNICORE Architecture: Client UNICORE Architecture: Client

Definition of abstract Jobs (not machine-specific) Creation of complex workflows (e.g.multi-site jobs for geographically dispersed supercomputers)

Usite B Vsite Y Vsite Z client tier UNICORE CLI UNICORE Client AJO and UPL over SSL Non-abstract Jobs Resource Management System Target System Interface target system tier Gateway authentication server tier

  • ptional firewall

submit and / or execution server tier IDB UUDB authorization and incarnation Network Job Supervisor Scientific Applications Abstract Jobs scheduling and resource management Usite C Vsite X Multi-site Jobs Usite A

slide-18
SLIDE 18

18

UNICORE Architecture: Client UNICORE Architecture: Client

Client extensions via application-specific plugins Various plugins have been developed over the last years: Car-Parrinello Molecular Dynamics Plugin (speed up quantum chemical computations) Fluent, Gaussian, MSC Nastran Plugins OpenMolGrid Plugins (Molecular Science) PovRay Plugin

Usite B Vsite Y Vsite Z client tier UNICORE CLI UNICORE Client AJO and UPL over SSL Non-abstract Jobs Resource Management System Target System Interface target system tier Gateway authentication server tier

  • ptional firewall

submit and / or execution server tier IDB UUDB authorization and incarnation Network Job Supervisor Scientific Applications Abstract Jobs scheduling and resource management Usite C Vsite X Multi-site Jobs Usite A

slide-19
SLIDE 19

19

UNICORE Architecture: Client UNICORE Architecture: Client

Based upon the Arcon Client API (Java-API)

Usite B Vsite Y Vsite Z client tier UNICORE CLI UNICORE Client AJO and UPL over SSL Non-abstract Jobs Resource Management System Target System Interface target system tier Gateway authentication server tier

  • ptional firewall

submit and / or execution server tier IDB UUDB authorization and incarnation Network Job Supervisor Scientific Applications Abstract Jobs scheduling and resource management Usite C Vsite X Multi-site Jobs Usite A

slide-20
SLIDE 20

20 Virtual Organization

UNICORE Architecture: Gateway UNICORE Architecture: Gateway

Gateway Single entry-point for UNICORE Sites (Usites) Contains n Virtual Sites (Vsites) (e.g. provides access to n supercomputers) Only ONE OPEN PORT in firewall Authentication of users via X.509 certificates Perfect base to group resources and access within Virtual Organizations (VOs)

G A T E W A Y

Usite B Vsite Y Vsite Z client tier UNICORE CLI UNICORE Client AJO and UPL over SSL Non-abstract Jobs Resource Management System Target System Interface target system tier Gateway authentication server tier

  • ptional firewall

submit and / or execution server tier IDB UUDB authorization and incarnation Network Job Supervisor Scientific Applications Abstract Jobs scheduling and resource management Usite C Vsite X Multi-site Jobs Usite A

slide-21
SLIDE 21

21

UNICORE Architecture: NJS UNICORE Architecture: NJS

Network Job Supervisor (NJS) Analyse defined Workflows (workflow engine)

Multi-site, multi-step Jobs Directed Acyclic Graphs

Submit of sub-jobs to other sites over Gateway Job Incarnation via Incarnation Database (IDB)

translate abstract-jobs into machine-specific jobs E.g. location of preinstalled software packages

Authorization via Unicore User Database (UUDB)

turn X.509 user certs to users xlogin of machine The complete certificate is checked (not only DN )

Usite B Vsite Y Vsite Z client tier UNICORE CLI UNICORE Client AJO and UPL over SSL Non-abstract Jobs Resource Management System Target System Interface target system tier Gateway authentication server tier

  • ptional firewall

submit and / or execution server tier IDB UUDB authorization and incarnation Network Job Supervisor Scientific Applications Abstract Jobs scheduling and resource management Usite C Vsite X Multi-site Jobs Usite A

slide-22
SLIDE 22

22

UNICORE Architecture: TSI UNICORE Architecture: TSI

Target System Interface Represents a real Target System (e.g. a supercomputer or storage server) Interaction with Resource Management Systems

Torque, PBS Pro, Load Leveler, (UNIX fork), … Job submit to Resource Management System Scheduling via Resource Management System Retrieve job results and job output Manage workspace

Usite B Vsite Y Vsite Z client tier UNICORE CLI UNICORE Client AJO and UPL over SSL Non-abstract Jobs Resource Management System Target System Interface target system tier Gateway authentication server tier

  • ptional firewall

submit and / or execution server tier IDB UUDB authorization and incarnation Network Job Supervisor Scientific Applications Abstract Jobs scheduling and resource management Usite C Vsite X Multi-site Jobs Usite A

slide-23
SLIDE 23

23

UNICORE Architecture: TSI UNICORE Architecture: TSI

Target System Interface

Each supported RMS is used in conjunction with a target system-specific TSI impl. in perl Perl TSI implementations are stateless daemons Statically configured before startup (RMS admin) Various TSI implementations PBS TSI (Linux), LSF TSI (SGI), PBS-Pro (HP- UX), NQS (IRIX), LoadLeveler TSI (AIX), …

Usite B Vsite Y Vsite Z client tier UNICORE CLI UNICORE Client AJO and UPL over SSL NJS-TSI protocol Gateway authentication server tier

  • ptional firewall

server tier IDB UUDB authorization and incarnation Network Job Supervisor Scientific Applications Abstract Jobs Usite C Vsite X Multi-site Jobs Usite A Text-based submit and / or execution scheduling and resource management Resource Management System target system tier PBS Pro TSI (HP-UX) PBS TSI (Linux) perl CCS TSI LoadLeveler TSI (AIX) ... TSI NQS TSI (IRIX) NoBatch TSI Target System Interfaces LSF TSI (SGI) Resource Management System Commands

slide-24
SLIDE 24

24

TSI Framework using DRMAA TSI Framework using DRMAA

Based upon Open Source SUN Grid Engine DRMAA impl.

Java Bindings of DRMAA specification are used

Java-Based Target System Interface Core

Only one layer of UNICORE is exchanged protocols still the same

Platform & RMS command independent DRMAA - API “only” provides Interfaces for job submission & management

Additional DRMAA Extensions for file transfer Transfer over Unicore Protocol Layer (UPL) Optional transfer over GridFTP

UNICORE 5/6

slide-25
SLIDE 25

25

Internet

Firewall UNICORE Gateway

Compute Resources

Network Job Supervisor (NJS) VO=DGI DRMAA-based Java Target System Interface (TSI) Core DRMAA-compliant Globus TSI GRAM Client GridFTP Client Globus 2 GRAM Gatekeeper GRAM Job- Manager Resource Management System UNICORE GridFTP Server

Uspace

MDS

UUDB IDB

Initial Interoperability Initial Interoperability UNICORE & UNICORE & Globus Globus 2.4 2.4

UNICORE-Client

Standardization necessary Proprietary Protocols UNICORE AJO/UPL, Globus RSL

slide-26
SLIDE 26

26

Next generation of UNICORE Based on OGSA (Open Grid Services Architecture) Compliant with WS-RF (Web Services Resource Framework) Thus interoperability with other Grid middlewares (e.g. Globus 4) Available as alpha release on Sourceforge Beta release in July 2007, final release in end 2007

UNICORE 6 UNICORE 6

slide-27
SLIDE 27

27

OGSA and WS OGSA and WS-

  • RF

RF

OGSA (Open Grid Services Architecture): All components of a grid (storage, compute nodes,…) are represented by Grid Services One implementation of OGSA: WS-RF (Web Services Resource Framework) Services are standardized, they know how they can interact Interoperability over a heterogeneous network

slide-28
SLIDE 28

28

WS WS-

  • RF (Web Services Resource Framework)

RF (Web Services Resource Framework)

Web Services themselves are stateless: they retain no data between invocations But: Grid Services need to keep track of available storage and CPUs, submitted and running jobs,… WS-RF defines a standard for stateful Web Services

Web Services communicate with Resource Services which store data Clients talking to a Web Services have to specify the Resource Services to be used

slide-29
SLIDE 29

29

UNICORE 6 Architecture UNICORE 6 Architecture

Client

RMS Disc

Gateway UNICORE 6.0

Higher

Level

Service GridBean Service Target System Service Job Mgmt. Service Storage Mgmt. Service File Transfer Service Target System Factory

Atomic Services

Globus, OGSA-based Middleware

Higher

Level

Service GridBean Service Target System Service Job Mgmt. Service Storage Mgmt. Service File Transfer Service Target System Factory

Atomic Services RMS Disc Registry Security Service

Services APIS GridBean GridBean API

slide-30
SLIDE 30

30

UniGrids UniGrids Atomic Atomic Services Services

Interoperability between OGSA based Grid systems Cross–authentication for UNICORE and Globus Enable cross–Grid resource brokering Workflows over different Grid Systems

UNICORE Globus OGSA Server Grid Client Grid Portal Target System Service Job Management Service Storage Management Service File Transfer Service Target System Factory

UniGrids Atomic Services

slide-31
SLIDE 31

31

Grid Programming Environment (GPE) Clients Grid Programming Environment (GPE) Clients

Interoperable client framework

Expert Client with full access to the Grid Lightweight client with application specific interface Portal Client which can be integrated in UPortal, GridSphere, Jetspeed, …

Expert Client

Application Client Portal Client

slide-32
SLIDE 32

32

Portable Clients and GridBeans Portable Clients and GridBeans

GPE Clients work on top of UNICOR 6, GTK4 or ChinaGrid

Only requirement: Atomic Service interfaces

GridBeans as client plugins

are portable without modifications Client API hides underlying infrastructure details

slide-33
SLIDE 33

33

Open Source under BSD license Ready-to-use for research and industry Strong security and intuitive GUI Easy installation and configuration

www.unicore.eu