PGRADE Portal tutorial - PowerPoint PPT Presentation

1 / 51
About This Presentation
Title:

PGRADE Portal tutorial

Description:

User can download proxys and allocate to grids. User can use simultaneously as many proxys as many grids are connected to the portal ... – PowerPoint PPT presentation

Number of Views:88
Avg rating:3.0/5.0
Slides: 52
Provided by: SIP78
Category:

less

Transcript and Presenter's Notes

Title: PGRADE Portal tutorial


1
P-GRADE Portal tutorial
Peter Kacsuk and Gergely Sipos kacsuk_at_sztaki.hu
MTA SZTAKI www.portal.p-grade.hu pgportal_at_lpds.szt
aki.hu
2
Agenda
  • Basics of P-GRADE Portal (45 minute)
  • Workflow hands-on (45 minute)
  • Break
  • Advanced applications with P-GRADE Portal (45
    minute)
  • Demo (10 minute)
  • Hands-on contd workflows, parameter studies
    (25 minute)
  • Next steps with P-GRADE (10 minute)

3
P-GRADE overview and introduction workflows
parameter sweeps(Basics)
4
Introduction of LPDS(Lab of Parallel and Distr.
Systems)
  • Research division of MTA SZTAKI from 1998
  • Head Peter Kacsuk, Prof.
  • 22 research fellows
  • Foundation member
  • Central European Grid Consortium (2003)
  • Hungarian Grid Competence Center (2003)
  • Participant or coordinator in many European and
    national Grid research, infrastructure, and
    educational projects (from 2000)
  • FP5 GridLab, DataGrid
  • FP6 EGEE I-II, SEE-GRID I-II, CoreGrid, ICEAGE,
    CancerGrid
  • FP7 EGEE III, SEE-GRID-SCI, EDGeS
    (coordinator), ETICS, S-CUBE
  • Central European Grid Training Center in EGEE
    (from 2004)

www.lpds.sztaki.hu
5
Short History of P-GRADE portal
  • Parallel Grid Application and Development
    Environment
  • Initial development started in the Hungarian
    SuperComputing Grid project in 2003
  • It has been continuously developed since 2003
  • Detailed information
  • http//portal.p-grade.hu/
  • Open Source community development since January
    2008
  • https//sourceforge.net/projects/pgportal/

6
Download of OSS P-GRADE portal
130 downloads within the first month
100 downloads/ month until now
7
P-GRADE related projects
  • UK e-science project on GT-3 investigation
    (2003-2004)
  • Extension of the portal with GEMLCA legacy code
    architecture
  • P-GRADE became a recognized UK NGS portal
  • EU SEE-GRID-1 (2004-2006)
  • Official portal of the South East European Grid
  • Integration with LCG-2 and gLite
  • EU SEE-GRID-2 (2006-2008)
  • Parameter sweep extension
  • EU CoreGrid (2005-2008)
  • To solve grid interoperation for job submission
  • Integration with a meta-broker
  • To solve grid interoperation for data handling
  • Integration with SRB
  • Integration with OGSA-DAI

8
P-GRADE related projects
  • GGF GIN (2006)
  • Providing the GIN Resource Testing portal
  • EGEE 2,3 (2006-2010)
  • Respect program tool used for training and
    application development
  • ICEAGE (2006-2008)
  • P-GRADE portal is used for training as official
    portal of the GILDA training infrastructure
  • EU CancerGrid (2007-2009)
  • Development of new generation P-GRADE (gUSE and
    WS-PGRADE)
  • Integration with desktop grids
  • EU EDGeS (2008-2009)
  • Transparent access to any SG and DG systems

9
References
  • P-GRADE Portal service is available for
  • SEE-GRID infrastructure
  • Central European VO of EGEE
  • GILDA Training VO of EGEE
  • Many national Grids (UK National Grid Service,
    GridIreland, Turkish Grid, Croatian Grid, etc.)
  • US Open Science Grid
  • Economy-Grid, Swiss BioGrid, Bio and Biomed EGEE
    VOs, BioInfoGrid, BalticGrid
  • GIN VO of OGF
  • EGEE Respect program tool

10
(No Transcript)
11
Multi-Grid service portal
12
Layers in a Grid system
Graphical interface
P-GRADE Portal
Command line tools
Grid middleware
13
Current situation and trends in Grid computing
  • Fast evolution of Grid middleware
  • GT2, OGSA, GT3 (OGSI), GT4 (WSRF), LCG-2, gLite,
  • Many production Grid systems are built with them
  • EGEE (LCG-2 ? gLite), UK NGS (GT2), Open Science
    Grid (GT2 ? GT4), NorduGrid (GT2)
  • Although the same set of core services are
    available everywhere, they are implemented in
    different ways
  • Data services
  • Computation services
  • Security services (single sign-on)
  • (Brokers)

14
E-scientists concerns
  • How to concentrate on my own research if the
    middleware I would like to use is in continuous
    change?
  • How can I learn and understand the usage of the
    Grid?
  • How can I develop Grid applications?
  • How can I execute grid applications?
  • How to tackle performance issues?
  • How to use several Grids at the same time?
  • How to migrate my application from one grid to
    another?
  • How can I collaborate with fellow researchers?

The P-GRADE Grid Portal gives you the answers!
15
Motivations for developing P-GRADE portal
  • P-GRADE portal should
  • Give an answer for all the questions of an
    e-scientist
  • Hide the complexity of the underlying grid
    middlewares
  • Provide a high-level graphical user interface
    that is easy-to-use for e-scientists
  • Support many different grid programming
    approaches (see Morris Riedels talk)
  • Simple Scripts Control (sequential and MPI job
    execution)
  • Scientific Application Plug-ins (based on GEMLCA)
  • Complex Workflows
  • Parameter sweep applications both on job and
    workflow level
  • Interoperability transparent access to grids
    based on different middleware technology
  • Support three levels of parallelism

16
Design principlesof P-GRADE portal
  • P-GRADE Portal is not only a user interface, it
    is a
  • General purpose
  • Workflow-level
  • Multi-Grid
  • Application Development and Execution Environment
  • P-GRADE Portal includes a high-level middleware
    layer for orchestrating grid resources
  • inside a grid
  • among several different grids
  • P-GRADE Portal is grid-neutral
  • Unlike many existing grid portals it is not
    tailored to any particular grid type
  • Can be connected to various grids based on
    different grid middleware
  • LCG-2, gLite, GT2, GT4, ARC, Unicore, etc.
  • Implements the high-level grid middleware
    services on top of the existing grid middleware
    services
  • The workflow interface is the same no matter
    which type of grid is connected to it

17
What is a P-GRADE Portal workflow?
  • a directed acyclic graph where
  • Nodes represent jobs (batch programs to be
    executed on a computing element)
  • Ports represent input/output files the jobs
    expect/produce
  • Arcs represent file transfer operations
  • semantics of the workflow
  • A job can be executed if all of its input files
    are available

18
Three Levels of parallelism
Multiple instances of the same workflow process
different data files
  • Job level Parallel execution inside a workflow
    node (MPI job as workflow component)
  • Workflow level Parallel execution among
    workflow nodes (WF branch parallelism)
  • PS workflow level Parameter study execution of
    the workflow

Multiple jobs run parallel
Each job can be a parallel program
19
Ultra-short range weather forecast (Hungarian
Meteorology Service)
Forecasting dangerous weather situations (storms,
fog, etc.), crucial task in the protection of
life and property
25 x
Processed information surface level
measurements, high-altitude measurements, radar,
satellite, lightning, results of previous
computed models
10 x
5 x
25 x
  • Requirements
  • Execution time lt 10 min
  • High resolution (1km)

20
Grid interoperation by P-GRADE Acccessing Globus,
gLite and ARC based grids/VOs simultaneously
P-GRADE portal
21
Typical user scenarioWorkflow development phase
Certificate servers
Gridservices
Portal server
Client
OPEN EDIT WORKFLOW
22
Typical user scenarios Workflow execution phase
Certificate servers
Gridservices
Portal server
Client
23
Accessing local and remote files
Your jobs can access storage files directly too!
Gridservices
Storage elements
Portal server
Computing elements
24
P-GRADE Portal structural overview
Java Webstartworkflow editor
Web browser
Client
User interface layer Presents the user interface
Internal layer Represents the internal concepts
P-GRADEPortalserver
Grid layer Interfacing with grid services
EGEE and Globus Grid services (gLite WMS, LFC,
Globus GRAM, )
Grid
25
Interface layer
Java Webstartworkflow editor
Web browser
Client
User interface layer
Web server
Gridpshere Web portal framework
P-GRADEPortalserver
Gridsphere portlets
P-GRADE portlets
Workflow monitor Java applet generator
Workflow editor Java webstart application
26
Interface layer functionalities
  • Workflow portlet
  • Workflow manager, Storage, Upload
  • Certificate portlet
  • Upload, download and other operations
  • Settings portlet
  • Grid settings, Quota settings
  • File management
  • Manage files in the grid
  • Compiler portlet
  • Compile jobs on portal server

Java Webstartworkflow editor
Web browser
Client
  • Login
  • Welcome
  • ...

User interface layer
Web server
Gridpshere Web portal framework
P-GRADEPortalserver
Gridsphere portlets
P-GRADE portlets
Workflow monitor Java applet generator
Workflow editor Java webstart application
27
P-GRADE vs. Non-P-GRADE portlets
GridSphere 2.x Grid Portal framework
P-GRADE Portal portlets
28
Interface layer
Java Webstartworkflow editor
Web browser
Client
User interface layer
Web server
Gridpshere Web portal framework
P-GRADEPortalserver
Gridsphere portlets
P-GRADE portlets
Workflow monitor Java applet generator
Workflow editor Java webstart application
29
Interface layer
Java Webstartworkflow editor
Web browser
Client
User interface layer
Web server
Gridpshere Web portal framework
P-GRADEPortalserver
Gridsphere portlets
P-GRADE portlets
Workflow monitor Java applet generator
Workflow editor Java webstart application
30
Internal layer
Gridsphere portlets
P-GRADE portlets
Workflow monitor Java applet generator
Workflow editor Java webstart application
Internal layer
  • Tracefile Java package
  • Parses workflow monitoring information
  • Workflow editor server (Java servlet)
  • Workflow retrieval, upload
  • Workflow state publication
  • Szupergrid Java package
  • Workflow representation
  • Resources configuration
  • Quota management
  • Certificate management
  • Java interfaces

P-GRADEPortalserver
Grid layer Interfacing with grid services
31
Grid layer
Gridsphere portlets
P-GRADE portlets
Workflow monitor Java applet generator
Workflow editor Java webstart application
Szupergrid Java package
Tracefile Java package
Workflow editor server (Java servlet)
Grid layer
  • Grid middleware clients
  • gLite User Interface
  • Globus client packages

Workflow manager (Condor DAGMan)
P-GRADEPortalserver
shell scripts
EGEE and Globus Grid services (gLite WMS, LFC,
Globus GRAM, )
32
Grid layer
Gridsphere portlets
P-GRADE portlets
Workflow monitor Java applet generator
Workflow editor Java webstart application
Client side command line tools and programming
APIs to interact with gLite and Globus Grid
Services
Szupergrid Java package
Tracefile Java package
Workflow editor server (Java servlet)
Grid layer
  • Grid middleware clients
  • gLite User Interface
  • Globus client packages

Workflow manager (Condor DAGMan)
P-GRADEPortalserver
shell scripts
EGEE and Globus Grid services (gLite WMS, LFC,
Globus GRAM, )
33
Portlets/functionalities of P-GRADE portal
  • Settings (portlet)
  • Certificate and proxy management (portlet)
  • Information system visualization (portlet)
  • Graphical workflow editing
  • Workflow manager (portlet)
  • SRM (EGEE) file management (portlet)
  • Compilation support (portlet)
  • Fault-tolerance support

34
Settings
  • Portal administrator can
  • connect the portal to several grids
  • register the basic resources of the connected
    grids

35
Settings
  • User can customize the connected grids by adding
    and removing resources

36
Certificate and proxy management
  • User can upload his certificates of various grids
    to the MyProxy server
  • User can download proxys and allocate to grids
  • User can use simultaneously as many proxys as
    many grids are connected to the portal
  • As a result parallel branches of a workflow can
    be executed simultaneously in several grids

37
Solving Grid interoperation by P-GRADE Portal
EGEE Grid
P-GRADE-Portal
Different jobs can be parallel executed in
different grids
UK NGS
London
Rome
Athens
38
Information system visualization
39
Graphical workflow editing
  • The aim is to define a DAG of batch jobs
  • Drag drop componentsjobs and ports
  • Define their properties
  • Connect ports by channels (no cycles, no loops,
    no conditions)
  • Automatically generates JDL file

40
Workflow EditorProperties of a job
  • Properties of a job
  • Binary executable
  • Type of executable
  • Number of required processors
  • Command line parameters
  • The resource to be used for the execution
  • Grid/VO
  • (Computing element)

41
Workflow EditorDefining broker jobs
Select a Grid with broker! (_BROKER)
Ignore the resource field!
If default JDL is not sufficient use the built-in
JDL editor!
42
Workflow EditorDefining input-output files
File properties Type input the job reads
output the job generates File type local
comes from my desktop remote comes from an
SE File location of the file Internal file
name Executable reads the file in
this name fopen(file.in, ) File storage type
(output files only) Permanent final result
Volatile only data channel
43
How to refer to an I/O file?
Input file
Output file
Local file
  • Client side location
  • result.dat
  • LFC logical file name(LFC file catalog is
    required EGEE VOs) lfn/grid/gilda/sipos/11-04_-
    _result.dat
  • GridFTP address (in Globus Grids)
  • gsiftp//somengshost.ac.uk/mydir/result.dat
  • Client side location
  • c\experiments\11-04.dat
  • LFC logical file name(LFC file catalog is
    required EGEE VOs) lfn/grid/gilda/sipos/11-04.d
    at
  • GridFTP address (in Globus Grids)
  • gsiftp//somengshost.ac.uk/mydir/11-04.dat

Remote file
44
Local vs. remote files
Your jobs can access storage files directly too!
Gridservices
Storage elements
Portal server
Computing elements
45
Workflow manager
  • Lists available workflows
  • Enables
  • Submitting
  • Aborting
  • Deleting
  • existing workflows
  • Shows status, logs and results of workflow
    executions
  • Orchestrates job executions inside a workflow

46
Portlets/functionalities of P-GRADE portal
  • Settings (portlet)
  • Certificate and proxy management (portlet)
  • Information system visualization (portlet)
  • Graphical workflow editing
  • Workflow manager (portlet)
  • SRM (EGEE) file management (portlet)
  • Compilation support (portlet)
  • Fault-tolerance support

47
SRM (EGEE) file management
48
Compilation support
49
Fault-tolerance support
  • Utilizing
  • Condor DAGMans rescue mechanism
  • EGEE job resubmission mechanism of WMS
  • If the EGEE broker leaves a job stuck in a CEs
    queue, the portal automatically
  • kills the job on this site and
  • resubmits the job to the broker by prohibiting
    this site.
  • As a result
  • the portal guarantees the correct submission of a
    job as long as there exists at least one matching
    resource
  • job submission is reliable even in an unreliable
    grid

50
Lessons learnt
  • P-GRADE portal provides
  • Easy-to-use but powerful workflow system
    (graphical editor, wf manager, etc.)
  • Three levels of parallelism
  • MPI job level
  • Workflow branch level
  • Parameter sweep at workflow level
  • Multi-grid/multi-VO access mechanism for various
    grids (LCG-2, gLite and GT2)
  • Simultaneous access
  • Transparent access
  • Migrating a workflow from one grid to another
    requires no modification in the workflow

51
Thank you!
Learn once, use everywhere Develop once, execute
anywhere
  • www.portal.p-grade.hu
  • pgportal_at_lpds.sztaki.hu
Write a Comment
User Comments (0)
About PowerShow.com