26
Congreso Cuidad, Spain May 15, 2007 GridWay 1/26 EGEE’07 Conference Budapest, Hungary October 1st – 5th, 2007 Uniform Grid Access with GridWay GridWay José Luis Vázquez-Poletti Distributed Systems Architecture Group Universidad Complutense de Madrid

Congreso Cuidad, Spain May 15, 2007 GridWay 1/26 EGEE’07 Conference Budapest, Hungary October 1st – 5th, 2007 Uniform Grid Access with GridWay GridWay

Embed Size (px)

Citation preview

Page 1: Congreso Cuidad, Spain May 15, 2007 GridWay 1/26 EGEE’07 Conference Budapest, Hungary October 1st – 5th, 2007 Uniform Grid Access with GridWay GridWay

CongresoCuidad, SpainMay 15, 2007GridWay

1/26

EGEE’07 ConferenceBudapest, Hungary

October 1st – 5th, 2007

Uniform Grid Access with GridWay

GridWay

José Luis Vázquez-PolettiDistributed Systems Architecture GroupUniversidad Complutense de Madrid

Page 2: Congreso Cuidad, Spain May 15, 2007 GridWay 1/26 EGEE’07 Conference Budapest, Hungary October 1st – 5th, 2007 Uniform Grid Access with GridWay GridWay

2/29

GridWay

DSA Group

GridWay

DSA Group

Contents

1. What is GridWay?

2. A Global Vision

3. The GridWay Project

4. Uniform Access Methods

Page 3: Congreso Cuidad, Spain May 15, 2007 GridWay 1/26 EGEE’07 Conference Budapest, Hungary October 1st – 5th, 2007 Uniform Grid Access with GridWay GridWay

3/29

GridWay

DSA Group

GridWay

DSA Group

What is GridWay?

GridWay is a Globus Toolkit component for meta-scheduling, creating a scheduler virtualization layer on top of Globus services (GRAM, MDS & GridFTP)

• For project and infrastructure directors• GridWay is an open-source community project, adhering to Globus philosophy

and guidelines for collaborative development.

• For system integrators • GridWay is highly modular, allowing adaptation to different grid infrastructures,

and supports several OGF standards.

• For system managers• GridWay gives a scheduling framework similar to that found on local LRM

systems, supporting resource accounting and the definition of state-of-the-art scheduling policies.

• For application developers• GridWay implements the OGF standard DRMAA API (C and JAVA bindings),

assuring compatibility of applications with LRM systems that implement the standard, such as SGE, Condor, Torque,...

• For end users • GridWay provides a LRM-like CLI for submitting, monitoring, synchronizing and

controlling jobs, that could be described using the OGF standard JSDL.

Page 4: Congreso Cuidad, Spain May 15, 2007 GridWay 1/26 EGEE’07 Conference Budapest, Hungary October 1st – 5th, 2007 Uniform Grid Access with GridWay GridWay

4/29

GridWay

DSA Group

GridWay

DSA Group

Contents

1. What is GridWay?

2. A Global Vision

3. The GridWay Project

4. Uniform Access Methods

Page 5: Congreso Cuidad, Spain May 15, 2007 GridWay 1/26 EGEE’07 Conference Budapest, Hungary October 1st – 5th, 2007 Uniform Grid Access with GridWay GridWay

5/29

GridWay

DSA Group

GridWay

DSA Group

Global Architecture of a Computational GridA

pp

licat

ion

-In

fras

tru

ctu

re d

eco

up

ling

PBS

GridWay

SGE

$>CLI

Results

.C, .java

DRMAA

.C, .java

Infrastructure

Gri

d M

idd

lew

are

Ap

plic

atio

ns

GlobusG

rid

Met

a-S

ched

ule

r

• Standard API (OGF DRMAA)• Command Line Interface

• open source• job execution management • resource brokering

• Globus services• Standard interfaces• end-to-end (e.g. TCP/IP)

• highly dynamic & heterogeneous• high fault rate

A Global Vision

Page 6: Congreso Cuidad, Spain May 15, 2007 GridWay 1/26 EGEE’07 Conference Budapest, Hungary October 1st – 5th, 2007 Uniform Grid Access with GridWay GridWay

6/29

GridWay

DSA Group

GridWay

DSA Group

Integration of non-interoperable computational platforms (Organization)

• Establishment of a uniform and flexible infrastructure

• Achievement of greater utilization of resources and higher application throughput

Support for the existing platforms and LRM Systems (Sys. Admin.)

• Allocation of grid resources according to management specified policies

• Analysis of trends in resource usage

• Monitoring of user behavior

Familiar CLI and standard APIs (End Users & Developers)

• High Throughput Computing Applications

• Workflows

Benefits

A Global Vision

Page 7: Congreso Cuidad, Spain May 15, 2007 GridWay 1/26 EGEE’07 Conference Budapest, Hungary October 1st – 5th, 2007 Uniform Grid Access with GridWay GridWay

7/29

GridWay

DSA Group

GridWay

DSA Group

Workload Management

• Advanced (Grid-specific) scheduling policies

• Fault detection & recovery

• Accounting

• Array jobs and DAG workflows

User Interface

• OGF standards: JSDL & DRMAA (C and JAVA)

• Analysis of trends in resource usage

• Command line interface, similar to that found on local LRM Systems

Integration

• Straightforward deployment as new services are not required

• Interoperability between different infrastructures

Features

A Global Vision

Page 8: Congreso Cuidad, Spain May 15, 2007 GridWay 1/26 EGEE’07 Conference Budapest, Hungary October 1st – 5th, 2007 Uniform Grid Access with GridWay GridWay

8/29

GridWay

DSA Group

GridWay

DSA Group

ExecutionManager

TransferManager

InformationManager

DispatchManager

RequestManager

Scheduler

Job Pool Host Pool

DRMAA library CLI

GridWay Core

GridFile Transfer

Services

GridExecutionServices

GridFTP RFTpre-WSGRAM

WSGRAM

GridInformation

Services

MDS2MDS2GLUE

MDS4

Resource DiscoveryResource MonitoringResource DiscoveryResource Monitoring

Job PreparationJob TerminationJob Migration

Job PreparationJob TerminationJob Migration

Job SubmissionJob MonitoringJob ControlJob Migration

Job SubmissionJob MonitoringJob ControlJob Migration

A Global Vision

GridWay Internals

Page 9: Congreso Cuidad, Spain May 15, 2007 GridWay 1/26 EGEE’07 Conference Budapest, Hungary October 1st – 5th, 2007 Uniform Grid Access with GridWay GridWay

9/29

GridWay

DSA Group

GridWay

DSA Group

A Tool for Interoperability

SGE Cluster

Users

Globus/WS

GridWay

Globus/WS gLite gLite

SGE ClusterPBS ClusterPBS Cluster

• Different Middlewares (e.g. WS and pre-WS)• Different Data/Execution architectures• Different Information models• Integration through adapters• Global DN’s• Demo in June 2007, TeraGrid07

Globus/WS Globus/WS

SGE ClusterPBS Cluster

A Global Vision

Page 10: Congreso Cuidad, Spain May 15, 2007 GridWay 1/26 EGEE’07 Conference Budapest, Hungary October 1st – 5th, 2007 Uniform Grid Access with GridWay GridWay

10/29

GridWay

DSA Group

GridWay

DSA Group

A Global Vision

Matching Resources for each job (user)PendingJobs

Grid Scheduling = Job + Resource Policies

Resource Policies

• Rank Expressions• Fixed Priority• User Usage History• Failure Rate

Job Policies

• Fixed Priority• Urgent Jobs• User Share• Deadline• Waiting Time

Page 11: Congreso Cuidad, Spain May 15, 2007 GridWay 1/26 EGEE’07 Conference Budapest, Hungary October 1st – 5th, 2007 Uniform Grid Access with GridWay GridWay

11/29

GridWay

DSA Group

GridWay

DSA Group

Contents

1. What is GridWay?

2. A Global Vision

3. The GridWay Project

4. Uniform Access Methods

Page 12: Congreso Cuidad, Spain May 15, 2007 GridWay 1/26 EGEE’07 Conference Budapest, Hungary October 1st – 5th, 2007 Uniform Grid Access with GridWay GridWay

12/29

GridWay

DSA Group

GridWay

DSA Group

• Started in 2002, first releases were only distributed on request in binary

format

• First open source release (v4.0) in January 2005 (Apache license v2.0)

• Adhering to Globus philosophy and guidelines for collaborative

development

• In June 2007 GridWay became part of the Globus Toolkit

• Since January 2005, more than 1000 downloads from 80 different countries, 25% are private companies and 75% are universities and research centers.

• Best-effort support provided (contract support is also available)

• Based on a strong open source community

History of the Project

The GridWay Project

Page 13: Congreso Cuidad, Spain May 15, 2007 GridWay 1/26 EGEE’07 Conference Budapest, Hungary October 1st – 5th, 2007 Uniform Grid Access with GridWay GridWay

13/29

GridWay

DSA Group

GridWay

DSA Group

• Community – Open Source Project. Globus Development Philosophy

• Development Infrastructure (thanks to Globus Project!)

• Mailing Lists

• Bugzilla

• CVS

• You are very welcome to contribute:

• Reporting Bugs ([email protected])

• Making feature requests for the next GridWay release ([email protected])

• Contributing your own developments (bug fixes, new features, documentation)

• Detailed Roadmap:

• GridWay Campaigns at bugzilla.mcs.anl.gov/globus/query.cgi

• www-unix.mcs.anl.gov/~bacon/cgi-bin/big-roadmap.cgi#Gridway

Development Process

The GridWay Project

Page 14: Congreso Cuidad, Spain May 15, 2007 GridWay 1/26 EGEE’07 Conference Budapest, Hungary October 1st – 5th, 2007 Uniform Grid Access with GridWay GridWay

14/29

GridWay

DSA Group

GridWay

DSA Group

• Life-Sciences

• Aerospace• Fusion Physics• Computational Chemistry

IRISGrid Politecnico di Torino CABGrid (Centro de Astrobiología) C2VO (Universidad de Castilla La Mancha) Grid en ESAC (Agencia Espacial Europea) CRO-GRID (Croacia) Sun Microsystems Solution Center World Grid Infraestructura EGEE Proyecto BeinGRID GridX1 (Canadian Grid for HEP applications) Universidade do Porto Madras Institute of Technology National Center for High-Performance Computing

More at:

http://www.gridway.org/

(Success Stories)

The GridWay Project

Some Projects and Infrastructures

Some Application Porting Areas

Page 15: Congreso Cuidad, Spain May 15, 2007 GridWay 1/26 EGEE’07 Conference Budapest, Hungary October 1st – 5th, 2007 Uniform Grid Access with GridWay GridWay

15/29

GridWay

DSA Group

GridWay

DSA Group

European Space Astronomy Center

• Data Analysis from space missions (DRMAA)

• Site-level meta-scheduler

• Several clusters

In Detail…

The GridWay Project

Page 16: Congreso Cuidad, Spain May 15, 2007 GridWay 1/26 EGEE’07 Conference Budapest, Hungary October 1st – 5th, 2007 Uniform Grid Access with GridWay GridWay

16/29

GridWay

DSA Group

GridWay

DSA Group

UABGrid, University of Alabama at Birmingham

• Bioinformatics applications

• Campus-level meta-scheduler

• 3 resources (PBS, SGE and Condor)

In Detail…

The GridWay Project

Page 17: Congreso Cuidad, Spain May 15, 2007 GridWay 1/26 EGEE’07 Conference Budapest, Hungary October 1st – 5th, 2007 Uniform Grid Access with GridWay GridWay

17/29

GridWay

DSA Group

GridWay

DSA Group

AstroGrid-D, German Astronomy Community Grid

• Collaborative management of supercomputing resources & astronomy-specific resources

• Grid-level meta-scheduler (GRAM interface)

• 22 resources @ 5 sites, 800 CPUs

In Detail…

The GridWay Project

Page 18: Congreso Cuidad, Spain May 15, 2007 GridWay 1/26 EGEE’07 Conference Budapest, Hungary October 1st – 5th, 2007 Uniform Grid Access with GridWay GridWay

18/29

GridWay

DSA Group

GridWay

DSA Group

SGE Cluster

Users

PBS Cluster PBS Cluster

gLite

GridWay

gLite gLite

• Services: BDII, GRAM, GridFTP• EGEE Resource Broker

• DRMAA interface• VO Schedulers

GridWay

Users

BiomedFusion

EGEE RB

Massive Ray Tracing CD-HIT workflow

In Detail…

The GridWay Project

Page 19: Congreso Cuidad, Spain May 15, 2007 GridWay 1/26 EGEE’07 Conference Budapest, Hungary October 1st – 5th, 2007 Uniform Grid Access with GridWay GridWay

19/29

GridWay

DSA Group

GridWay

DSA Group

Contents

1. What is GridWay?

2. A Global Vision

3. The GridWay Project

4. Uniform Access Methods

Page 20: Congreso Cuidad, Spain May 15, 2007 GridWay 1/26 EGEE’07 Conference Budapest, Hungary October 1st – 5th, 2007 Uniform Grid Access with GridWay GridWay

20/29

GridWay

DSA Group

GridWay

DSA Group

Uniform Grid Access Methods

• Similar to that found in LRM Systems– Easy to learn

– Intuitive

Example: List resources

Example: Check job status

Command Line Interface

HID PRIO OS ARCH MHZ %CPU MEM(F/T) DISK(F/T) N(U/F/T) LRMS HOSTNAME 0 1 Linux2.6.17-2-6 x86 3216 0 44/2027 76742/118812 0/0/2 Fork cygnus.dacya.ucm.es 1 1 0 0 0/0 0/0 0/0/0 orion.dacya.ucm.es 2 1 Linux2.6.18-4-a x86_6 2211 100 819/1003 77083/77844 0/2/4 PBS hydrus.dacya.ucm.es 3 1 Linux2.6.17-2-6 x86 3216 163 1393/2027 101257/118812 0/2/2 Fork draco.dacya.ucm.es 4 1 Linux2.6.18-4-a x86_6 2211 66 943/1003 72485/77844 0/5/5 SGE aquila.dacya.ucm.es

$ gwhost 0HID PRIO OS ARCH MHZ %CPU MEM(F/T) DISK(F/T) N(U/F/T) LRMS HOSTNAME 0 1 Linux2.6.17-2-6 x86 3216 0 50/2027 76393/118812 0/0/2 Fork cygnus.dacya.ucm.es

QUEUENAME SL(F/T) WALLT CPUT COUNT MAXR MAXQ STATUS DISPATCH PRIORITY

default 0/2 0 -1 0 -1 0 enabled NULL 0

$ gwpsUSER JID DM EM START END EXEC XFER EXIT NAME HOST gwtutorial00 0 done ---- 20:16:28 20:18:16 0:00:55 0:00:08 0 stdin aquila.dacya.ucm.es/SGE tinova 1 done ---- 12:26:46 12:31:15 0:03:55 0:00:08 0 stdin hydrus.dacya.ucm.es/PBS

tinova 2 pend ---- 12:38:38 --:--:-- 0:00:00 0:00:00 -- t.jt --

Page 21: Congreso Cuidad, Spain May 15, 2007 GridWay 1/26 EGEE’07 Conference Budapest, Hungary October 1st – 5th, 2007 Uniform Grid Access with GridWay GridWay

21/29

GridWay

DSA Group

GridWay

DSA Group

Uniform Grid Access Methods

OGF DRMAA

Distributed Resource Management Application API– http://www.drmaa.org/

Open Grid Forum Standard

Homogeneous interface to different Distributed Resource Managers (DRM):– SGE

– Condor

– PBS/Torque

– GridWay–C

–JAVA

–Perl (coming soon!)

–Ruby (coming soon!)

–Python (coming soon!)

Page 22: Congreso Cuidad, Spain May 15, 2007 GridWay 1/26 EGEE’07 Conference Budapest, Hungary October 1st – 5th, 2007 Uniform Grid Access with GridWay GridWay

22/29

GridWay

DSA Group

GridWay

DSA Group

Uniform Grid Access Methods

Application Widgets (i.e. Microsoft Excel)

Page 23: Congreso Cuidad, Spain May 15, 2007 GridWay 1/26 EGEE’07 Conference Budapest, Hungary October 1st – 5th, 2007 Uniform Grid Access with GridWay GridWay

23/29

GridWay

DSA Group

GridWay

DSA Group

Uniform Grid Access Methods

SGE Transfer Queues

Page 24: Congreso Cuidad, Spain May 15, 2007 GridWay 1/26 EGEE’07 Conference Budapest, Hungary October 1st – 5th, 2007 Uniform Grid Access with GridWay GridWay

24/29

GridWay

DSA Group

GridWay

DSA Group

Uniform Grid Access Methods

GridGateWay

SGE Cluster

Users

Globus

GridWay

Infrastructure

PBS Cluster

Applications

Globus Middleware

SGE ClusterPBS Cluster

GridWay

Globus

gLitegLite

• Access to different infrastructures with the same adapters

• EGEE managed as other resource

• Delegate identity/ “VO” certificates

• In-house/provider gateway

• Regional infrastructure

Page 25: Congreso Cuidad, Spain May 15, 2007 GridWay 1/26 EGEE’07 Conference Budapest, Hungary October 1st – 5th, 2007 Uniform Grid Access with GridWay GridWay

25/29

GridWay

DSA Group

GridWay

DSA Group

Uniform Grid Access Methods

GridWay provides many easy ways to access the Grid but…

… no web portal access system has been developed yet.

Some portal solutions have shown interest in GridWay:• GridSphere

• P-Grade

• EngineFrame

We offer:Collaboration for implementation/integration of GridWay based web portal

“Our two Forint Cents”

Look for us atDemo Booths!

Page 26: Congreso Cuidad, Spain May 15, 2007 GridWay 1/26 EGEE’07 Conference Budapest, Hungary October 1st – 5th, 2007 Uniform Grid Access with GridWay GridWay

26/29

GridWay

DSA Group

GridWay

DSA Group

Thank you for your attention!

Uniform Grid Access with GridWay