Top Banner
1 www.lpds.sztaki.hu/pgportal pgportal@lpds.sztaki.hu Advanced features of the P-GRADE portal Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA SZTAKI Tamás Kiss University of Westminster
50

1 [email protected] Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA.

Jan 03, 2016

Download

Documents

Alvin Lynch
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: 1  pgportal@lpds.sztaki.hu Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA.

1

www.lpds.sztaki.hu/[email protected]

Advanced features of the P-GRADE Advanced features of the P-GRADE portalportal

Peter Kacsuk, Gergely SiposPeter Kacsuk, Gergely Sipos MTA SZTAKI

Tamás KissUniversity of Westminster

Page 2: 1  pgportal@lpds.sztaki.hu Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA.

2

ContentsContents

• Solving Grid interoperability

• Supporting collaborative Grid application development

• Classification of Grid portals

Page 3: 1  pgportal@lpds.sztaki.hu Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA.

3

Grid Grid interoperabilitinteroperabilityy

Page 4: 1  pgportal@lpds.sztaki.hu Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA.

4

Grid interoperability 1Grid interoperability 1

• P-GRADE portal supports job submission in 2nd generation Grids: – LCG – EGEE– GT2 – UK NGS and US OSG– NorduGrid

• P-GRADE Portal enables:– Connecting 2nd generation production Grids

Page 5: 1  pgportal@lpds.sztaki.hu Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA.

5

User

P-GRADE Portal

v2.3

SZTAKI Portal Server

Connecting 2Connecting 2ndnd generation production Grids generation production Grids

LCG-2broker

Certificate server

Proxy

Workflow

Manchester

Leeds

UK NGS GT2

EGEE-VOCE LCG-2

Job

Job

Job

Job

Budapest

Poznan

Brno

Supports both direct and brokered job submission

Page 6: 1  pgportal@lpds.sztaki.hu Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA.

6

Grid interoperability 2Grid interoperability 2

• P-GRADE Portal with GEMLCA supports legacy code service invocation in 2nd and 3rd generation Grids:– LCG, gLite – EGEE– GT2, GT4 – UK NGS

• Combination of jobs and legacy code services enables P-GRADE Portal to support:– Extending 2nd generation Grids with legacy code

services

Page 7: 1  pgportal@lpds.sztaki.hu Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA.

7

Extending 2Extending 2ndnd generation Grids with generation Grids with legacy code serviceslegacy code services

Job Repository Job Repository (GEMLCA)(GEMLCA)

ManchesterUser

Leeds

GEMLCAP-GRADE

Portal

UoW Portal Server

Executable

NGS GT2

Poznan

Budapest

EGEE/VOCEExecutable

Executable

Page 8: 1  pgportal@lpds.sztaki.hu Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA.

8

Grid interoperability 3Grid interoperability 3

• Combination of jobs and legacy code services enables P-GRADE Portal to support:– Transition from 2nd generation Grids to 3rd

generation Grids:• Extending 2nd generation production Grids with 3rd

generation volunteer Grid sites

• Connecting 2nd generation production Grids with 3rd generation volunteer Grids

– Connecting 2nd generation and 3rd generation production Grids

Page 9: 1  pgportal@lpds.sztaki.hu Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA.

9

GEMLCA GEMLCA RepositoryRepository

Manchester

Westminster

User

Oxford

P-GRADE NGS

GEMLCA

Portal

UoW Portal Server

UoW site – GT4 with GEMLCA Service

Service Invocation

Executable

Executable

Executable

Extending 2Extending 2ndnd generation Grids with generation Grids with 33rdrd generation volunteer Grid sites generation volunteer Grid sites

UK NGS GT2

Page 10: 1  pgportal@lpds.sztaki.hu Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA.

10

Extending the NGS with legacy code services Extending the NGS with legacy code services and GT4 Resourcesand GT4 Resources

GT2 Job submission to Rutherford

GT4 Service Invocation at UoW

GEMLCA Legacy code submitted

to Oxford

GT2 Job submission to Manchester

Page 11: 1  pgportal@lpds.sztaki.hu Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA.

11

GEMLCA GEMLCA RepositoryRepository

Manchester

User

Leeds

P-GRADE NGS

GEMLCA

Portal

UoW Portal ServerNGS GT2 Grid

WestFocus GT4 Grid

UoW

Brunel

ServiceInvocation

Extending 2Extending 2ndnd generation production Grids generation production Grids with 3with 3rdrd generation volunteer Grids generation volunteer Grids

Executable

Executable

Page 12: 1  pgportal@lpds.sztaki.hu Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA.

12

Connecting 2Connecting 2ndnd generation and generation and 33rdrd generation production Grids generation production Grids

Job Repository Job Repository (GEMLCA)(GEMLCA)

ManchesterUser

Leeds

GEMLCAP-GRADE

Portal

UoW Portal Server

Executable

NGS GT2

WestFocus GT4 Grid

UoW

Brunel

Poznan

Budapest

EGEE LCG/gLite

Executable

Executable

ServiceInvocation

Executable

Page 13: 1  pgportal@lpds.sztaki.hu Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA.

13

Plan: Connecting major Grids by GEMLCA and the P-GRADE Portal

P-GRADE

GEMLCA

Portal

GEMLCA GEMLCA RepositoryRepository

In test phase Available

Page 14: 1  pgportal@lpds.sztaki.hu Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA.

14

Regional coverage of Regional coverage of using P-GRADE Portalusing P-GRADE Portal

+ GILDAFor education & training

Page 15: 1  pgportal@lpds.sztaki.hu Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA.

15

Conclusion:Conclusion:Easy-to-use, technology-neutral Easy-to-use, technology-neutral

Grid portal for e-ScientistsGrid portal for e-Scientists

• The P-GRADE Portal hides differences of Grids• Globus 2 and 4 – LCG2 – gLite Grid interoperability• Transparent switching between Grid technologies

• Graphical tools for application development, execution and monitoring

• Sequential & parallel components can be integrated into large Grid applications

• Direct or broker-based resource allocation• Your code does not have to contain grid specific calls

Page 16: 1  pgportal@lpds.sztaki.hu Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA.

16

Collaborative work Collaborative work supportsupport

Page 17: 1  pgportal@lpds.sztaki.hu Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA.

17

Grid usageGrid usage

Grid

Grid middleware and resources

Portal

Browser Special client

Grid portal

Executeapplication

Get results

Defineapplication

Gridapp.

Page 18: 1  pgportal@lpds.sztaki.hu Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA.

18

The problemThe problem

• Grids have been designed for highly complex applications (The overhead is too big to execute small programs…)

• How can a single person define highly complex applications?

Page 19: 1  pgportal@lpds.sztaki.hu Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA.

19

The solution today…The solution today…

Grid

Portal

Browser Special client

Executeapplication

Get results

Defineapplication

Gridapp.

E-mail, phone, skype, MSN, …

Page 20: 1  pgportal@lpds.sztaki.hu Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA.

20

The solution today…The solution today…

Grid

Portal

Browser Special client

Executeapplication

Get results

Defineapplication

Gridapp.

E-mail, phone, skype, MSN, …

How can I integrate the How can I integrate the knowledge of many people knowledge of many people into a single and consistent into a single and consistent entity in the shortest time?entity in the shortest time?

Page 21: 1  pgportal@lpds.sztaki.hu Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA.

21

Similar problems Similar problems have been already solved…have been already solved…

• Concurrent editing of Web pages: WIKI, MediaWiki

• Concurrent editing of documents: Online collaboration tool in MS Word

• Concurrent editing of tables: Online collaboration tool in MS Excel

• …

Page 22: 1  pgportal@lpds.sztaki.hu Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA.

22

The solution: The solution: collaborative Grid portalscollaborative Grid portals

• Grid portals that support – concurrent engineering of applications

– concurrent management of application execution

Grid

Portal

Gridapplication

Page 23: 1  pgportal@lpds.sztaki.hu Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA.

23

The CollaborativeThe Collaborative P-GRADE Portal P-GRADE Portal

Grid

P-GRADE Portal

Browser Special client Browser Special client

submitresults results

edit edit

Page 24: 1  pgportal@lpds.sztaki.hu Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA.

24

The CollaborativeThe Collaborative P-GRADE Portal P-GRADE Portal

Grid

P-GRADE Portal

Browser Special client Browser Special client

submitresults results

edit edit

No No time-consuming time-consuming communicationcommunication

…………only efficient, only efficient,

workflow-workflow-oriented oriented

collaboration!collaboration!

Page 25: 1  pgportal@lpds.sztaki.hu Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA.

25

Collaborative Grid Collaborative Grid workflowsworkflows

Collaborative workflow

Collaborative workflow

• Integrate knowledge – development phase• Generate and distribute results – execution phase

Page 26: 1  pgportal@lpds.sztaki.hu Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA.

26

An e-Science exampleAn e-Science example

Collaborative workflow

Collaborative workflow

Topology of the graph

Input protein molecules

Experiment results

Protein folding

algorithm

Page 27: 1  pgportal@lpds.sztaki.hu Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA.

27

A business exampleA business example

Collaborative workflow

Collaborative workflow

Graph topology

Input for the market

prediction application

Results of the

prediction workflow

Market prediction

model

Page 28: 1  pgportal@lpds.sztaki.hu Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA.

28

Collaborative workflow Collaborative workflow developmentdevelopment

– The portal has to guarantee that the result is a consistent workflow

– Protect against data loss locking mechanisms– As real-time as possible! to increase parallelism

during development

Page 29: 1  pgportal@lpds.sztaki.hu Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA.

29

Workflow development Workflow development modelmodel

• Locking workflow components (jobs) exclusively• First come first served• Only the owner can edit the component

Page 30: 1  pgportal@lpds.sztaki.hu Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA.

30

Workflow development Workflow development modelmodel

• Locking workflow components (jobs) exclusively• First come first served

Page 31: 1  pgportal@lpds.sztaki.hu Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA.

31

Workflow development Workflow development modelmodel

• Locking workflow components (jobs) exclusively• First come first served

Page 32: 1  pgportal@lpds.sztaki.hu Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA.

32

ScreenshotScreenshot

Locked Locked for mefor me

Locked for Locked for somebody somebody

elseelse

UnlockedUnlocked

Page 33: 1  pgportal@lpds.sztaki.hu Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA.

33

Portal server

Workflow editor #2

Requesting a lockRequesting a lock

Workflow editor #1

Lockrequest

Lockaccepted

Page 34: 1  pgportal@lpds.sztaki.hu Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA.

34

Portal server

Synchronizing the Synchronizing the different viewsdifferent views

Workflow editor #1

Push updatedlocal view

Workflow editor #2

Pull global view

Page 35: 1  pgportal@lpds.sztaki.hu Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA.

35

Result of the collaborative Result of the collaborative developmentdevelopment

Job

Job Job

JobJob

data data

datadata data

Job

data

Grid resource

Grid resourceGrid resource

Grid resource

Grid resource

Grid resource

Page 36: 1  pgportal@lpds.sztaki.hu Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA.

36

Executing collaborative Executing collaborative workflowsworkflows

1. Concurrent control requestsIt can happen in single-user case too (multiple browsers are opened)

2. Different users’ proxies to be used to execute different workflow nodes

Grid 1Grid 1

Grid 2Grid 2

Grid 3Grid 3

P

1

P

3

P

2

Page 37: 1  pgportal@lpds.sztaki.hu Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA.

37

ConclusionsConclusions

• Extend the single-user version of the P-GRADE Portal:– Concurrent engineering of workflow-based

grid applications– Application execution by multiple users in a

concurrent fashion– Prototype version already available

Page 38: 1  pgportal@lpds.sztaki.hu Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA.

38

Classification of Classification of Grid portalsGrid portals

Page 39: 1  pgportal@lpds.sztaki.hu Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA.

39

Two orthogonal aspects of Grid Two orthogonal aspects of Grid portals usage portals usage

• Number of accessible Grids– Single isolated Grid (SI)– Multiple isolated Grids (MI)– Multiple collaborative Grids (MC)

• Collaborative vice not collaborative usage– Multiple isolated users (MI)– Multiple collaborative users (MC)

Page 40: 1  pgportal@lpds.sztaki.hu Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA.

40

Portal classificationPortal classification

Multiple Isolated users

(MIxx)

Multiple Collaborative users

(MCxx)

Single Isolated Grid(xxSI)

MISI portals (current portals)

MCSI portals

Multiple Isolated Grids(xxMI) MIMI portals MCMI portals

Multiple Collaborative Grids (xxMC) MIMC portals MCMC portals

Page 41: 1  pgportal@lpds.sztaki.hu Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA.

41

LCG-2

P-GRADE-Portal

LondonRome

Athens

MISI Portal: P-GRADE portal 1.0MISI Portal: P-GRADE portal 1.0

Page 42: 1  pgportal@lpds.sztaki.hu Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA.

42

Portal classificationPortal classification

Multiple Isolated users

(MIxx)

Multiple Collaborative users

(MCxx)

Single Isolated Grid(xxSI)

MISI portals (current portals)

MCSI portals

Multiple Isolated Grids(xxMI) MIMI portals MCMI portals

Multiple Collaborative Grids (xxMC) MIMC portals MCMC portals

Multi-Grid portals

Page 43: 1  pgportal@lpds.sztaki.hu Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA.

43

GridLab

SEE-Grid

P-GRADE-Portal

MIMI Portal: P-GRADE portal (2.1)MIMI Portal: P-GRADE portal (2.1)

London Rome

Athens

Page 44: 1  pgportal@lpds.sztaki.hu Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA.

44

Portal classificationPortal classification

Multiple Isolated users

(MIxx)

Multiple Collaborative users

(MCxx)

Single Isolated Grid(xxSI)

MISI portals (current portals)

MCSI portals

Multiple Isolated Grids(xxMI) MIMI portals MCMI portals

Multiple Collaborative Grids (xxMC) MIMC portals MCMC portals

Page 45: 1  pgportal@lpds.sztaki.hu Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA.

45

GridLab

SEE-Grid

P-GRADE-Portal

London Rome

Athens

MIMC Portal: P-GRADE portal (2.1)MIMC Portal: P-GRADE portal (2.1)

Page 46: 1  pgportal@lpds.sztaki.hu Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA.

46

Portal classificationPortal classification

Multiple Isolated users

(MIxx)

Multiple Collaborative users

(MCxx)

Single Isolated Grid(xxSI)

MISI portals (current portals)

MCSI portals

Multiple Isolated Grids(xxMI) MIMI portals MCMI portals

Multiple Collaborative Grids (xxMC) MIMC portals MCMC portals

Page 47: 1  pgportal@lpds.sztaki.hu Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA.

47

SEE-Grid

P-GRADE-Portal

MCMC Portal: P-GRADE portal (3.0)MCMC Portal: P-GRADE portal (3.0)

GridLab

LondonRome

Athens

Page 48: 1  pgportal@lpds.sztaki.hu Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA.

48

MI users WF GUI MC users WF GUI

SI GridWF

manager

MI Grids WF

manager

MC Grids WF

manager

Summary of classificationSummary of classification

.

.

.User

Grid

.

.

.

User

User

.

.. Grid

Grid

Grid

.

..

.

..

.

.

.User

.

.

.

User

User

.

..Grid

Grid

.

..

.

..

.

.

.

Grid

Grid

.

..

.

..

User

.

.

.

User

User

.

..Grid

Grid

.

..

.

..

P-GRADE 2.3P-GRADE 3.0+

Page 49: 1  pgportal@lpds.sztaki.hu Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA.

49

ConclusionsConclusions

• xxMC portals: execute a workflow simultaneously in many Grids

• P-GRADE portals 2.1 - 2.3 already work as xxMC portal providing service for several production Grids:

– HunGrid– SEE-Grid– VOCE– UK NGS

www.lpds.sztaki.hu/pgportal

• MCxx portal: Enables to collaborate through workflow applications!

• Collaborative P-GRADE Portal: Prototype was demonstrated at SC05 exhibition

Page 50: 1  pgportal@lpds.sztaki.hu Advanced features of the P-GRADE portal Peter Kacsuk, Gergely Sipos Peter Kacsuk, Gergely Sipos MTA.

50

Thank you for the attention! Thank you for the attention! Questions…Questions…

kacsukkacsuk@@sztaki.husztaki.hu www.lpds.sztaki.huwww.lpds.sztaki.hu