+ All Categories
Home > Documents > GridSphere’s Grid Portlets A Grid Portal Development Framework

GridSphere’s Grid Portlets A Grid Portal Development Framework

Date post: 02-Jan-2016
Category:
Upload: xander-bray
View: 24 times
Download: 3 times
Share this document with a friend
Description:
GridSphere’s Grid Portlets A Grid Portal Development Framework. Jason Novotny Lawrence Berkeley National Laboratory Jason Novotny, Michael Russell, Oliver Wehrens The GridSphere Project www.gridsphere.org. The Purpose Of This Talk. - PowerPoint PPT Presentation
43
2004 1 Michael Russell <[email protected]> GridSphere’s Grid Portlets A Grid Portal Development Framework Jason Novotny Lawrence Berkeley National Laboratory Jason Novotny, Michael Russell, Oliver Wehrens The GridSphere Project www.gridsphere.org
Transcript
Page 1: GridSphere’s Grid Portlets A Grid Portal Development Framework

2004 1Michael Russell <[email protected]>

GridSphere’s Grid PortletsA Grid Portal Development Framework

Jason Novotny

Lawrence Berkeley National Laboratory

Jason Novotny, Michael Russell, Oliver WehrensThe GridSphere Project

www.gridsphere.org

Page 2: GridSphere’s Grid Portlets A Grid Portal Development Framework

2004 2Michael Russell <[email protected]>

The Purpose Of This Talk

The purpose of this talk is to provide a brief overview of the Grid Portlets web application.

We will describe the basic ideas behind Grid Portlets, what functionality it currently provides and development plans

Page 3: GridSphere’s Grid Portlets A Grid Portal Development Framework

2004 3Michael Russell <[email protected]>

GridSphere’s Grid Portlets

The GridSphere portlet container is designed to be web application independent. Indeed, one of the key advantages of the Portlet API is the reuse of web applications.Thus, the GridSphere portlet container does not contain any support for using Grid technologies.Instead, GridSphere’s Grid related functionality is contained in a web application we call Grid Portlets.Grid Portlets, together with the GridSphere portlet container, offers a generic Grid portal and can be used to develop application-specific Grid portal applications.

Page 4: GridSphere’s Grid Portlets A Grid Portal Development Framework

2004 4Michael Russell <[email protected]>

The GridLab Project

Funded by the EU (5+ M€), January 2002 – December 2004Application and Testbed oriented

Cactus Code, Triana Workflow, all the other applications that want to be Grid-enabled

Main goal: to develop a Grid Application Toolkit (GAT) and set of grid services and tools...:

resource management (GRMS), data management,monitoring, adaptive components, mobile user support, security services,portals,

... and test them on a real testbed with real applications

Page 5: GridSphere’s Grid Portlets A Grid Portal Development Framework

2004 5Michael Russell <[email protected]>

GridLab Is An Architecture

Page 6: GridSphere’s Grid Portlets A Grid Portal Development Framework

2004 6Michael Russell <[email protected]>

And A Global Effort

PSNC (Poznan) - coordination AEI (Potsdam) ZIB (Berlin) Univ. of Lecce Cardiff University Vrije Univ. (Amsterdam) SZTAKI (Budapest) Masaryk Univ. (Brno) NTUA (Athens)

Sun MicrosystemsCompaq (HP)

ANL (Chicago, I. Foster) ISI (LA, C.Kesselman) UoWisconsin (M. Livny)

collaborating with:Users!

EU Astrophysics Network,

DFN TiKSL/GriKSL

NSF ASC Project

other Grid projectsGlobus, Condor,

GrADS,

PROGRESS,

GriPhyn/iVDGL,

Most of the other European Grid Projects (GRIDSTART)

GWEN

Page 7: GridSphere’s Grid Portlets A Grid Portal Development Framework

2004 7Michael Russell <[email protected]>

GridLab Testbed Snapshot

Page 8: GridSphere’s Grid Portlets A Grid Portal Development Framework

2004 8Michael Russell <[email protected]>

GridLab Goals

Get Computational Scientists using the “Grid” and Grid services for real, everyday, production work (AEI Relativists, EU Network, Grav Wave Data Analysis, Cactus User Community), all the other potential grid appsMake it easier for applications to make flexible, efficient, robust, use of the resources available to their virtual organizationsDream up, prototype, and test new application scenarios which make adaptive, dynamic, wild, and futuristic uses of resources.

Page 9: GridSphere’s Grid Portlets A Grid Portal Development Framework

2004 9Michael Russell <[email protected]>

What Do Our Users Need?

Application oriented environment

Flexible, easy-to-use, simple interfaces

Efficient and effective use of resources

Robustness, fail-safety, adapability

The ability to work in distributed teams

Support for mobile working environments

Page 10: GridSphere’s Grid Portlets A Grid Portal Development Framework

2004 10Michael Russell <[email protected]>

What Do Our Users Want?

Larger computational resources Memory/CPU

Faster throughputCleverer scheduling, configurable scheduling, co-scheduling, exploitation of un-used cycles

Easier use of resourcesPortals, grid application frameworks, information services, mobile devices

Remote interaction with simulations and dataNotification, steering, visualization, data management

Collaborative toolsNotification, visualization, video conferencing, portals

Dynamic applications, New scenariosGrid application frameworks connecting to services

Page 11: GridSphere’s Grid Portlets A Grid Portal Development Framework

2004 11Michael Russell <[email protected]>

Many Application Scenarios!

Dynamic Stagingmove to faster/cheaper/bigger machine

Multiple Universecreate clone to investigate steered parameter

Automatic Convergence Testingfrom initial data or initiated during simulation

Look Aheadspawn off and run coarser resolution to predict likely future

Spawn Independent/Asynchronous Taskssend to cheaper machine, main simulation carries on

Application Profilingbest machine/queuechoose resolution parameters based on queue

Dynamic Load Balancinginhomogeneous loads

multiple grids

Portal User/virtual organisation interface to the grid.

Intelligent Parameter Surveysfarm out to different machines

Make use ofRunning with management tools such as Condor, Entropia, etc.

Scripting thorns (management, launching new jobs, etc)Dynamic use of eg MDS for finding available resources

Page 12: GridSphere’s Grid Portlets A Grid Portal Development Framework

2004 12Michael Russell <[email protected]>

Where Grid Portals Fit In

GridLab needs an effective way to deliver its tools and services to its target users.

We want to avoid having to develop new client-side technologies and methods for deploying them.

Given the ubiquitous Web browser and the evolution of Grid standards and technologies, a Grid portal provides an obvious solution to this problem.

Page 13: GridSphere’s Grid Portlets A Grid Portal Development Framework

2004 13Michael Russell <[email protected]>

Developing Grid Portals

Grid web application development still remains a tedious task with little in the way of reusable components, forcing developers to constantly “re-invent” the wheel.

Often difficult and hard to maintain glue code must be written connecting the portal to Grid services, due to lack of/evolving standards.

Lack of real usability has made it difficult to test and evaluate user interfaces.

A portal is only as good as the underlying deployed infrastructure…. portal development often involves debugging underlying middleware

Page 14: GridSphere’s Grid Portlets A Grid Portal Development Framework

2004 14Michael Russell <[email protected]>

What is a Grid Portal?

“A portal is a web based application that commonly provides personalization, single sign on, content aggregation from different sources and hosts the presentation layer of Information Systems”(JSR 168)

Grid Portals build upon the familiar Web portal model, such as Yahoo or Amazon, to deliver the benefits of Grid computing to virtual communities of users, providing a single access point to Grid services and resources.

Page 15: GridSphere’s Grid Portlets A Grid Portal Development Framework

2004 15Michael Russell <[email protected]>

Early Grid Portal Projects

Grid-Port: Perl based framework developed by Mary Thomas and Steve Mock at San-Diego Supercomputing Center (SDSC)

Grid Portal Development Toolkit (GPDK):Developed by Jason Novotny at Lawrence Berkeley National Laboratories (LBNL)

Astrophysics Simulation Collaboratory (ASC):Developed by Michael Russell at University of Chicago

Page 16: GridSphere’s Grid Portlets A Grid Portal Development Framework

2004 16Michael Russell <[email protected]>

Grid Portals Work Package

Within the GridLab Project, the Grid Portals Work Package (WP4) is responsible for developing a Grid portal for the GridLab Project.

The GridSphere Project was created by WP4 as it saw a need in the general community for a Grid portal framework.

WP4 is both developing and deploying GridSphere to serve target user communities in the GridLab Virtual Organization.

Page 17: GridSphere’s Grid Portlets A Grid Portal Development Framework

2004 17Michael Russell <[email protected]>

GridSphere 2.0

Page 18: GridSphere’s Grid Portlets A Grid Portal Development Framework

2004 18Michael Russell <[email protected]>

Personalized Environment

Page 19: GridSphere’s Grid Portlets A Grid Portal Development Framework

2004 19Michael Russell <[email protected]>

Single Sign-On Capabilities

Page 20: GridSphere’s Grid Portlets A Grid Portal Development Framework

2004 20Michael Russell <[email protected]>

Submit Jobs

Page 21: GridSphere’s Grid Portlets A Grid Portal Development Framework

2004 21Michael Russell <[email protected]>

Perform File Transfers

Page 22: GridSphere’s Grid Portlets A Grid Portal Development Framework

2004 22Michael Russell <[email protected]>

Manage Resources

Page 23: GridSphere’s Grid Portlets A Grid Portal Development Framework

2004 23Michael Russell <[email protected]>

Grid Portal Design Requirements

We require a portal that is generic and not tied to any particular set of Grid technologies. The GridLab Testbed, for example, is Globus 2.X based although integartion with OGSA well under way

Develop a set of portlets and portlet services that provide a higher level model of Grid concepts.The Grid portlet services should provide a generic API to which the Grid portlets are written.

Page 24: GridSphere’s Grid Portlets A Grid Portal Development Framework

2004 24Michael Russell <[email protected]>

Grid Portlets API

Our Grid Portlets API attempts to provide a high-level model of Grid concepts that

Abstracts the developer from particular Grid technologies and infrastructure.

Is extensible, can build upon its concepts to provide more complex services, resources and tasks.

Supports multiple implementations of the API.

Configurable at run-time via administrative interfaces

The Grid Portlets API builds from basic concepts to more advanced ones…

Page 25: GridSphere’s Grid Portlets A Grid Portal Development Framework

2004 25Michael Russell <[email protected]>

Basic Concepts

UsersUsers should get a personalized a view of the Grid based upon their access rights to resources and their preferences.

CredentialsCredentials are required to authenticate users to resources and authorize their rights to utilize them.

ResourcesResources are anything that can be “utilized” (by users, portlet services and other resources).

TasksMany operations are quite naturally modeled as tasks. Workflow is not provided yet, but is desired in future releases.

Page 26: GridSphere’s Grid Portlets A Grid Portal Development Framework

2004 26Michael Russell <[email protected]>

More Advanced Concepts

JobsJob submission to LSF, PBS, etc…

Job migration from one resource to another

Files & Related TasksPhysical file browsing (list, transfer, etc.)

Logical and replica file browsing

Information ResourcesLDAP/MDS information providers

Web service based providers

Other types…

Page 27: GridSphere’s Grid Portlets A Grid Portal Development Framework

2004 27Michael Russell <[email protected]>

Simple Resource Diagram

Page 28: GridSphere’s Grid Portlets A Grid Portal Development Framework

2004 28Michael Russell <[email protected]>

Hardware Resource Model

Hardware resources are utilized for performing computations, storing files, etc….Hardware resources contain…

Service resources (such as a Grid FTP resource)Software resources (such as Globus client tools)Hardware accounts (allowing people to login and perform operations in a shell).

Page 29: GridSphere’s Grid Portlets A Grid Portal Development Framework

2004 29Michael Russell <[email protected]>

Job Resource Model

Job resources (such as Globus Gatekeepers) are service resources that enable the remote clients to submit jobs on computing resources.Job resources provide access to job schedulers (such as PBS).Job schedulers contain queues with different resource capabilities and usage policies.

Page 30: GridSphere’s Grid Portlets A Grid Portal Development Framework

2004 30Michael Russell <[email protected]>

Some Job Resources

In Grid Portlets, we’ve modeled two types of service resources as job resources, both of which have different capabilities for supporting job submission.GTX Gatekeepers provide the ability to submit jobs directly to job managers running on hardware resources using the GRAM protocol.GridLab Resource Manager Services (GRMS)s are web services that provide resource brokering capabilities and support job submission with GRAM as well as Condor.

Page 31: GridSphere’s Grid Portlets A Grid Portal Development Framework

2004 31Michael Russell <[email protected]>

Simple Task Diagram

Page 32: GridSphere’s Grid Portlets A Grid Portal Development Framework

2004 32Michael Russell <[email protected]>

How Portlets Are Developed

In Grid Portlets, the presentation layer is made up of portlets which contain reusable UI components.

The business logic layer is implemented as a collection of portlet services which provide some high-level capabilities and make use of external resources.

Page 33: GridSphere’s Grid Portlets A Grid Portal Development Framework

2004 33Michael Russell <[email protected]>

Job Submission Portlet

For example, the job submission portlet uses a number of UI components, including file browser components (i.e. for specifying locations of an executable).

These JSP components utilize a number of portlet services which provide access to job resources, file resources and so on…

Page 34: GridSphere’s Grid Portlets A Grid Portal Development Framework

2004 34Michael Russell <[email protected]>

Current Status

Grid Portlets is still in prototype development mode.

Most of what is their works, but API is still evolving.

Documentation is still poor… Mike promises to improve it

Source code is available via anonymous CVS.

Will move towards a regular development and release cycle in the coming months.

Mike in Brazil ;-) but plans on continuing to enhance grid portlets

Page 35: GridSphere’s Grid Portlets A Grid Portal Development Framework

2004 35Michael Russell <[email protected]>

Current Functionality

Credential Retrieval & ManagementSupport for retrieval & storing with MyProxy

Resource Registry & ManagementResources can be described in XML and online

Resource Information ProviderResource discovery and update with MDS2

Job Submission & MigrationGRAM job submission with Java CoG 1.1GRMS 1.9 job submission and migration

File Browsing & TransferringSupport for GridFTP with Java CoG 1.1

Page 36: GridSphere’s Grid Portlets A Grid Portal Development Framework

2004 36Michael Russell <[email protected]>

What’s Next?

Enhancements to UI component model… These enhancements may be incorporated into GridSphere portlet container, but we are still reviewing JSF.

Many enhancements planned to existing portlets, including better integration among portlets and reuse of UI components.

Progress already underway to make JSR 168 compliant

Please submit feature requests and additions to bugtracker and mail list

Page 37: GridSphere’s Grid Portlets A Grid Portal Development Framework

2004 37Michael Russell <[email protected]>

Planned Development

Support for logical files & replica managementSupport for GridLab Data Management Services

Support for Globus Replica Catalogue

Enhancements to information gatheringPortlets for managing use of information providers

More resource information providersSupport for GridLab Adaptive Information Service

Support for Network Weather Service

Page 38: GridSphere’s Grid Portlets A Grid Portal Development Framework

2004 38Michael Russell <[email protected]>

How To Obtain Grid Portlets

Grid Portlets can be obtained from CVS….

Required Software:GridSphere 2.0.2 or higher.

Tomcat 4.1.29 or higher (Tomcat 5.X supported)

OGSA 3.0.2 (Plan to move OGSA 3.2)

MyProxy

cvs -d :pserver:[email protected]:/home/rep

ository co gridportlets

Page 39: GridSphere’s Grid Portlets A Grid Portal Development Framework

2004 39Michael Russell <[email protected]>

Configuring Grid Portlets

Configuration amounts to specifying what resources Grid Portlets makes available to users.

The first thing you should do is specify what MyProxy resource your portal will use for retrieving / storing Grid credentials.

If want to use our MDS2 information provider, then you should specify what GIIS resource you want to use.

Otherwise, you should make sure to specify the hardware and service resources that make up your Grid…

Page 40: GridSphere’s Grid Portlets A Grid Portal Development Framework

2004 40Michael Russell <[email protected]>

How To Specify Resources

There are 2 ways to add resources to Grid PortletsOnline with the Resource Registry Portlet

Offline with Resources.xml

Page 41: GridSphere’s Grid Portlets A Grid Portal Development Framework

2004 41Michael Russell <[email protected]>

How To Get Involved

Join one of gridsphere mail lists. Ask questions, provide feedback / comments.

Submit bugs and feature requests to http://bugs.gridsphere.org.

Because we are a small group, getting involved as a developer means demonstrating some knowledge / commitment to the project. Best way is to email ideas / patches to the list. If you’re loud enough, we’ll probably give you commit access and a few tasks!

Page 42: GridSphere’s Grid Portlets A Grid Portal Development Framework

2004 42Michael Russell <[email protected]>

Projects Using Grid Portlets

AEI Numerical Relativity Portal

CCT Numerical Relativity Portal

NRC Portal

Unversity of Melborne, Australia

SDSC…

Page 43: GridSphere’s Grid Portlets A Grid Portal Development Framework

2004 43Michael Russell <[email protected]>

Conclusion

Grid Portlets contains the Grid functionality in the GridSphere Project. It provides a framework for developing Grid portals.

It is still in prototype development mode, but we are already using it in the GridLab Project and in several other projects with which we are affiliated.

We will make announcements on our website at www.gridsphere.org as the status of Grid Portlets changes.

Feel free to try it out and send us comments.


Recommended