1 application specific module for p-grade portal 2.7 application specific module overview akos...

26
1 Application Specific Module for P-GRADE Portal 2.7 Application Specific Module overview Akos Balasko MTA-SZTAKI LPDS 21-04-2009

Upload: carmella-marsh

Post on 23-Dec-2015

215 views

Category:

Documents


0 download

TRANSCRIPT

1

Application Specific Module for P-GRADE Portal 2.7

Application Specific Module overviewAkos BalaskoMTA-SZTAKI LPDS21-04-2009

2

Application Specific Module Overview

Contents : 1. Gridification in general

2. Goal

3. Assumptions

4. Basic idea

5. Concept

6. Terminology

7. Detailed Scenario

8. Requirements

9. Conclusion

3

Application Specific Module Overview

Contents : 1. Gridification in general

2. Goal

3. Assumptions

4. Basic idea

5. Concept

6. Terminology

7. Detailed Scenario

8. Requirements

9. Conclusion

4

1. Gridification in general1. Gridification in general

• Developers of Grid must support new users the modify application of them to be able to run on grid Infrastructure.

• GASuC : Grid Application Support Centre to help users on gridifying.

• How? – Contact phase– Analysis phase– Planning phase– Prototyping phase– Testing phase– Execution phase– Feedback phase

Application Specific Module can be used in this phase

5

Application Specific Module Overview

Contents : 1. Gridification in general

2. Goal

3. Assumptions

4. Basic idea

5. Concept

6. Terminology

7. Detailed Scenario

8. Requirements

9. Conclusion

6

2. Goal2. Goal• A grid application developer has developed a new application that must

be offered for other people through a Web-based portal which is highly customised for the application and the user community.

• People being offered with this service do not know grids but they should be able to execute the grid application with their own custom inputs through the graphical interface of the Web portal.

Application specific portalGrid application developer End users

7

Application Specific Module Overview

Contents : 1. Gridification in general

2. Goal

3. Assumptions

4. Basic idea

5. Concept

6. Terminology

7. Detailed Scenario

8. Requirements

9. Conclusion

8

3. 3. AssumptionsAssumptions

• Grid application developer would like to have a Portal customized for the application and end user community

• He knows how to develop a grid application in P-GRADE or how to port a legacy application to the grid with P-GRADE

• He knows the Java language and JSP (Java Server Pages)

• He does not need to know the source code of P-GRADE • He and also the end users have user certificates to access

the grid

9

Application Specific Module Overview

Contents : 1. Gridification in general

2. Goal

3. Assumptions

4. Basic idea

5. Concept

6. Terminology

7. Detailed Scenario

8. Requirements

9. Conclusion

10

4. 4. Basic ideaBasic idea

• A new module called “Application specific module” has been developed for P-GRADE Portal that ease the creation of Application Specified Portlets – The module provides programming API to control P-GRADE portal

applications– The module provides programming API to access P-GRADE Portal services

• Any kind of Graphical interface can be developed on top of this module – GUI written in JSP, JSTL (Java Servlet Tag Library ) and Java– GUI can be customized for the grid application– GUI can be customized for end users– GUI can benefit from all the P-GRADE Portal services

11

Application Specific Module Overview

Contents : 1. Gridification in general

2. Goal

3. Assumptions

4. Basic idea

5. Concept

6. Terminology

7. Detailed Scenario

8. Requirements

9. Conclusion

12

5. 5. ConceptConcept

Custom user interface (Written in Java, JSP, JSTL)

Application specific module

Web browser

EGEE and Globus Grid services (gLite WMS, LFC,…; Globus GRAM, …)

Client

P-GRADEPortalserver

Grid

Services of P-GRADE Portal(workflow management, parameter study management, fault tolerance, …)

13

Application specific module

5. 5. ConceptConcept

Custom user interface (Written in Java, JSP, JSTL)

Web browser

EGEE and Globus Grid services (gLite WMS, LFC,…; Globus GRAM, …)

Client

P-GRADEPortalserver

Grid

Services of P-GRADE Portal(workflow management, parameter study management, fault tolerance, …)

Additional module for P-GRADE

Core P-GRADE Portal

You develop it

14

Application Specific Module Overview

Contents : 1. Gridification in general

2. Goal

3. Assumptions

4. Basic idea

5. Concept

6. Terminology

7. Detailed Scenario

8. Requirements

9. Conclusion

15

6. 6. TerminologyTerminologyPortal Administrator:

• installs P-GRADE Portal 2.7

Grid Application Developer• develops a grid application with P-GRADE Portal 2.7• sends the application to the grid portal developer

End Users• executes the published application with custom input parameters by creating application instances using the published application as a template

Grid Portal Developer•Creates new classes from the Application Specific Module for P-GRADE by changing the names of the classes•develops a Gridsphere portlet that fits to the application I/O pattern and the end users’ needs• connects the GUI to P-GRADE Portal using the programming API of P-GRADE Application Specific Module• using the Application Specific Module he publishes the grid application and its GUI for end users

16

Application Specific Module Overview

Contents : 1. Gridification in general

2. Goal

3. Assumptions

4. Basic idea

5. Concept

6. Terminology

7. Detailed Scenario

8. Classes of Application Specific Module

9. Requirements

10. Conclusion

17

P-GRADE PORTAL 2.7 server

Services of P-GRADE Portal(workflow management, parameter study management, fault tolerance, …)

7. 7. DetailedDetailed Scenario Scenario

Publisher Part of Applicationspecificmodule

Portlet to publish applications

Registry of published applications

EGEE and Globus Grid services (gLite WMS, LFC, …; Globus GRAM, GridFTP, …)

Portal Administrator installs the P-GRADE portal 2.7.

Then adjusts the portlet to publish applications, and installs the Application Specific Module for a special application. He/She has to know some information about the application eg. ProjectName, hierarchy of the packages ...

Then creates a new role for the Application. It has to be the same as the Name of the Project!

Finally sends the modified source files to the Application Developer

18

P-GRADE PORTAL 2.7 server

Services of P-GRADE Portal(workflow management, parameter study management, fault tolerance, …)

7. 7. DetailedDetailed Scenario Scenario

Publisher Part and the modifiedApplicationspecificmodule

Portlet to publish applications

Registry of published applications

Grid Application

EGEE and Globus Grid services (gLite WMS, LFC, …; Globus GRAM, GridFTP, …)

Grid Application Developer creates own Grid Application.

Warning : Grid Application Developer has to be in role „Admin” too!!

19

P-GRADE PORTAL 2.7 server

Services of P-GRADE Portal(workflow management, parameter study management, fault tolerance, …)

7. 7. DetailedDetailed Scenario Scenario

Publisher Part and the modifiedApplicationspecificmodule

Portlet to publish applications

Registry of published applications

Application specific portlet

Grid Application

EGEE and Globus Grid services (gLite WMS, LFC, …; Globus GRAM, GridFTP, …)

Then develops a Application specific portlet using modified Application specific module sent by the Portal Administrator

20

P-GRADE PORTAL 2.7 server

Services of P-GRADE Portal(workflow management, parameter study management, fault tolerance, …)

7. 7. DetailedDetailed Scenario Scenario

Publisher Part and the modifiedApplicationspecificmodule

Portlet to publish applications

Registry of published applications

Application specific portlet

Grid ApplicationGrid Application

(Template)

EGEE and Globus Grid services (gLite WMS, LFC, …; Globus GRAM, GridFTP, …)

Finally creates Grid Application Template from the Grid Application by publishing it.

21

P-GRADE PORTAL 2.7 server

Services of P-GRADE Portal(workflow management, parameter study management, fault tolerance, …)

7. 7. DetailedDetailed Scenario Scenario

Publisher Part and the modifiedApplicationspecificmodule

Portlet to publish applications

Registry of published applications

Application specific portlet

Grid ApplicationGrid Application

(Template)Grid Application

EGEE and Globus Grid services (gLite WMS, LFC, …; Globus GRAM, GridFTP, …)

Grid Application

End users can create instance from a Published Grid Application Template.

Then they can adjust parameters, and run own instance in Grid via Application specific portlet!

22

Application Specific Module Overview

Contents : 1. Gridification in general

2. Goal

3. Assumptions

4. Basic idea

5. Concept

6. Terminology

7. Detailed Scenario

8. Requirements

9. Conclusion

23

8. Requirements8. Requirements

• Requirements in general– Knowledge of JSP, JSTL, Java

• Requirements for developing:– P-GRADE Portal 2.7 source-code (downloadable from here)

– Java Development Kit with a FrameWork (NetBeans or Eclipse)

• Requirements for testing: – Scientific Linux on machine, with portal installation.

– P-GRADE Portal 2.7 install Package ( downloadable from here)

24

Application Specific Module Overview

Contents : 1. Gridification in general

2. Goal

3. Assumptions

4. Basic idea

5. Concept

6. Terminology

7. Detailed Scenario

8. Requirements

9. Conclusion

25

9. Conclusion9. Conclusion

Grid Application Developer

Grid ApplicationCreating Grid Application via Workflow Editor

Publishing Grid Application via portlet

Grid Application Template

End User

Creating instance from Published Grid ApplicationsGrid Application Instance

Modifying parameters and run it!

Downloading Result files

26

Thank you for your attention!