a component framework for building web science gateways and portals mehmet nacar indiana university...

50
A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department [email protected] Advisor: Prof Geoffrey C. Fox

Upload: darcy-rice

Post on 28-Dec-2015

218 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department mnacar@cs.indiana.edu Advisor:

A Component Framework for Building Web Science Gateways and Portals

Mehmet NacarIndiana University

Computer Science [email protected]

Advisor: Prof Geoffrey C. Fox

Page 2: A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department mnacar@cs.indiana.edu Advisor:

Outline

MotivationBackgroundScience gatewaysCase studiesResearch Objectives Grid Portlet ComponentsWorkflows and DAGsContributions

2

Page 3: A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department mnacar@cs.indiana.edu Advisor:

IntroductionProblem statement

“A novel approach to build a better component model for Grid portals that can enable Grid operations all-in-one application”

Better component model of Grid portals that can enable portlet applications with tags.Integrating workflow execution and monitoring in science gateways by using session management and persistencyCase studies to research and generalize science gateway needs for different disciplinesWe introduce Grid tag libraries framework to support reusable Grid operations portable among Grid portals

3

Page 4: A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department mnacar@cs.indiana.edu Advisor:

MotivationA new approach to science gateway building

Fine grained and modular Grid operations

There are other approaches to build science gateways

Open Grid Computing Environments (OGCE) propose separate portlets for each Grid capabilities

GridSphere proposes additional services and portlets for Grid

We need to find a way to collect separate Grid operations in one portlet (e.g. multi-staging)

VLab and QuakeSim portlets

In addition to Grid operations, the framework should provide user session management

Session: user sessions on Web browsers

We need an extensible component framework to add new capabilities

4

Page 5: A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department mnacar@cs.indiana.edu Advisor:

Definitions: Portal, portlet, portlet container

Portal is a Web application provides Personalization, single sign on and content aggregation Web, Grid and educational portals

Web -> Yahoo, Google Grid -> CIMA, VLAB and QuakeSim Education -> OneStart and Oncourse

Portlets are building blocks of portals Generic portlets are calendar, chat, file transfer, weather and news. Grid portlets are MyProxy (credential manager), job submission and GridFtp

Portlet container Provides lifecycle management of portlets Defines window states and portlet modes Equips packaging and deployment descriptors JSR 168/286 specification defines

Portlet container Portlet API

5

Page 6: A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department mnacar@cs.indiana.edu Advisor:

The Grid and TeraGrid

Grid Computing Environments (GCE) Virtual organizations (VO) for Grid

The Coordinated TeraGrid Software and Services (CTSS) represents a common software/middleware stack on TeraGrid machines.CTSS give a common programming environment for remotely interacting with TeraGrid resources. Grid services include GRAM: resource access GridFTP: data management MyProxy: remote authentication infrastructure

GSI security (public/private keys) Information Services (GPIR, MDS, SRB) OGSA-DAI: data service Condor: resource management

Page 7: A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department mnacar@cs.indiana.edu Advisor:

Science Portals and GatewaysScience Gateways and Web portals are built on the CTSS stack.

TeraGrid Science Gateway Open Science Grid (OSG)

Many Java-based gateways are based on the portlet component model.Portlets are reusable portal parts that can be shared between development groups.

OGCE: collection of portlets and tools for building portals

What makes a portal Grid-enabled? Accessing to Grid services

Providing file management, job submission and metadata portlets

Managing Grid credentials to access Grid services Myproxy (e.g., X.509 certificates)

Page 8: A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department mnacar@cs.indiana.edu Advisor:

Science portals: Technologies

What tools and services are available to build Grid portals?

Java COG: Globus Grid client programming API Birdbath: Condor Grid web service

Birdbath clients provide Java API for Condor MyProxy: credential management service GAMA: Grid Account Management Architecture PURSe: Portal-based User Registration System

We examined three Grid portals VLAB: traditional job submission portal for material science QuakeSim: Earthquake science portal (computation and

data) Big Red: Generic job submission portal on TeraGrid

8

Page 9: A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department mnacar@cs.indiana.edu Advisor:

Case Study: VLAB Portal

9

Page 10: A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department mnacar@cs.indiana.edu Advisor:

VLAB: The Virtual Laboratory for Earth and Planetary Materials

Primarily a traditional job submission, monitoring, and management portal.

In case of OGCE all capabilities are portlets

Collaborative Grid services and portals support computational material science.Component based Grid portlet development makes application development easier.VLAB Challenges:

Grid Portlets must be easy to develop using component libraries.

HTML <form> actions in Grid portals typically have several steps:

Stage data files in and out of the desired remote host. Run one or more executables. Keep track of job progress Store all of the information as “job archive” for reproducibility.

10

Page 11: A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department mnacar@cs.indiana.edu Advisor:

Case Study: Grid Portlets for QuakeSim

QuakeSim portlets in production Initial effort was to build the portal Web services Portlets invoke the services and then execute simple

workflows built in Ant scripts

Problem: Portlets should also work with other TeraGrid resources.

TeraGrid restricts the services run on their resources.

Solution: We have described Grid portlets to QuakeSim portal. Described the process for creating Grid portlets using Grid

Tag Libraries and Beans (GTLAB). We gained rapid development by using reusable

components QuakeSim portlets enabled to utilize IU, SDSC, NCSA and

other TeraGrid resources11

Page 12: A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department mnacar@cs.indiana.edu Advisor:

QuakeSim portlets with TeraGrid allocation

12

• Disloc is used to calculate surface displacements from earthquake faults. • 1994 Northridge earthquake• 2003 San Simeon Earthquake• 2004 Great Sumatran Earthquake. 

Page 13: A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department mnacar@cs.indiana.edu Advisor:

Research Issues

Fine grained portlet componet model Grid portlets typically wrap each single Grid capability in a

separate portlet Issue is that Grid portlets need to combine these operations

Session management Keep repositories for submitted jobs Provides persistency Long term job information archiving Metadata access for resubmitting or searching capabilities

Worfklow and DAG components Issue with managing Directed Acyclic Graph (DAG) and

workflows Keeps handlers for DAGs Process DAGs and create stubs for tasks and bind their

dependency Follow-up the progress

Page 14: A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department mnacar@cs.indiana.edu Advisor:

Solution: Grid Tag Libraries and Beans (GTLAB)

GTLAB provides common components for building portlets using reusable tags.The goal of GTLAB is to simplify Grid portlet development Enable rapid developmentGTLAB capabilities include Grid operations with XML based tags within Java Server Faces (JSF) framework.Grid tags attributes map with Grid beans methods End users pass values to Grid beans by using tag

attributes.Workflow tags provide DAG integrationsSession manager deals with job handlers Handlers and job metadata are stored on WS-Context

server14

Page 15: A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department mnacar@cs.indiana.edu Advisor:

ArchitectureOverview• Grid portals are client to backend codes through Web/Grid services.• Grid tags are part of user interface tier and embedded into portlet container. • Grid tags uses local services in Apache Tomcat to manage sessions and handlers.• Grid tags implement a layer on top of Grid client APIs such as Java CoG

15

Page 16: A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department mnacar@cs.indiana.edu Advisor:

Grid Tag Libraries (introductory example)

Grid tags simplify association of composite Grid actions increase reuse of code

There are associated custom JSF tag extensions we’ve developed:

<o:submit/>, <o:myproxy/>, <o:multitask/>, <o:jobsubmit/>, and <o:dependency/>

Two Grid operations with no dependency

April 19, 2023 16

<html> <body> <f:form> <o:submit id=”test” action=”next_page” />

<o:myproxy id=”pr” hostname=”gf1.ucs.indiana.edu” port=”7512” lifetime=”2” username=“mnacar” password=”***” />

<o:jobsubmit id=”task” hostname=”cobalt.ncsa.teragrid.org” provider=”GT4”executable=”/bin/ls” stdout=”tmp/result stderr=”tmp/error” />

</o:submit> </f:form> </body></html>

Page 17: A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department mnacar@cs.indiana.edu Advisor:

Component Builder Bean (CBB) handles user requests using JSF form pagesCBB parses custom components embedded into JSF view page.

· Parse Grid tags· Create Grid beans· Create multitask· Register bean table· Register listener table· Submit multitask

Component Builder BeanUser form page

Submit

n times

CoG layer

Myproxy GRAM GridFTP

Register

t1

t2

tn

h1

h2

hn

Bean Table Listener Table

Stored in session memory

Constructs the workflow by using Multitask bean with dependencies Maintains task handlers and task objects with persistency Submit multitasks to Grid services

Architecture of GTLAB

Page 18: A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department mnacar@cs.indiana.edu Advisor:

Grid Tags Associated Grid Beans Features

<submit/> ComponentBuilderBean Creating components, job handlers, submitting jobs

<handler/> MonitorBean Handling monitoring page actions

<multitask/> MultitaskBean Constructing simple workflow

<dependency/> MultitaskBean Defining dependencies among sub jobs

<myproxy/> MyproxyBean Retrieving myproxy credential

<fileoperation/> FileOprationBean Providing Gridftp operations

<jobsubmission/> JobSubmitBean Providing GRAM job submissions

<filetransfer/> FileTransferBean Providing Gridftp file transfer

Other JSF tags ResourceBean Describes common properties among all tags and beans. Passing values given by standard visual JSF components. 18

Page 19: A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department mnacar@cs.indiana.edu Advisor:

Session management

GTLAB session management can handle multiple job submissionsBatch jobs should not block portlet pages

Need to manage job sessions

GTLAB handlers follows the progress, even the session expires

Job handlers are stored, when user re-login handlers update job metadata

Metadata information is stored on WS-Context server

Job status can be updated when it progress

Page 20: A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department mnacar@cs.indiana.edu Advisor:

Managing Metadata RepositoriesJob metadata are stored in metadata repositories Metadata includes: submission parameters and files,

execution host and information, output parameters, files and their location

Job data is stored on the specified servers. As a result data files are transferred by using GridFtpMetadata of the data files such as URL location or GridFtp locations are saved in the metadata repositoryPortal users see the job metadata that has links to the exact location of the dataMetadata repository is built by using WS-Context repository Users see job metadata with the time stamped

hierarchical repository labels /vlab/userA/sessionC/08-08-07/12:22/jobD

Page 21: A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department mnacar@cs.indiana.edu Advisor:

Workflows and DAGs

GTLAB can be used to associate multiple Grid tasks with a single <form> action click. We call this a “multitask”

This is a form of workflow (DAG) We build on top of CoG workflow capabilities. Then abstracted this to use other workflow engines.

Condor DAGMan, Taverna

Each multitask should be associated with a submit button. This allows many multitasks in a portlet page. It’s useful in some cases to bind relatively different

multitask with the same user input parameters.

Page 22: A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department mnacar@cs.indiana.edu Advisor:

22

Encoding DAGs to portlets

depends

depends

Input

Multi-staged task

Task DFile Transfer

Task AFile Operation

(mkdir)

Task BFile Transfer

Task CJob Submission

Output

depends

Multitask provides a simple DAGThis example demonstrates a composite Grid job using multi-staged multitaskGTLAB handles lifecycle of DAG within JSF application

Page 23: A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department mnacar@cs.indiana.edu Advisor:

<o:submit id=”test” action=”next_page” /> <o:multitask id=”mytask” taskname=”test” persistent=”true” > <o:myproxy id=”pr” hostname=”gf1.ucs.indiana.edu” port=”7512” lifetime=”2” username=“manacar” password=”***” /> <o:fileoperation id=”taskA” command=”mkdir” hostname=”cobalt.ncsa.teragrid.org” path=”/home/manacar/tmp/” /> <o:filetransfer id=”taskB” from=”gridftp://gf1.ucs.indiana.edu:2811/home/manacar/input_file” to=”gridftp://cobalt.ncsa.teragrid.org:2811/home/manacar/tmp/input_file” /> <o:jobsubmit id=”taskC” hostname=”cobalt.ncsa.teragrid.org” provider=”GT4” executable=”/bin/execute” stdin=”tmp/input_file” stdout=”tmp/result” stderr=”tmp/error” /> <o:filetransfer id=”taskD” from=”gridftp://cobalt.ncsa.teragrid.org:2811/home/manacar/tmp/result” to=” gridftp://gf1.ucs.indiana.edu:2811/home/manacar/result” /> <o:dependency id=”dep1” task=”taskB” dependsOn=”taskA” /> <o:dependency id=”dep2” task=”taskC” dependsOn=”taskB” /> <o:dependency id=”dep3” task=”taskD” dependsOn=”taskC” /> </o:multitask></o:submit>

DAG Example JSF Page

Note the specific values would typically come from the user’s form inputs through bean methods.

Page 24: A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department mnacar@cs.indiana.edu Advisor:

DAG extensions: Condor DAGMan, Birdbath

We extend GTLAB to support Condor capabilitiesCondor DAGMan is a tool for complex application workflows on CondorBirdbath is Web services provider of Condor capabilitiesGrid tags integrate DAGMan with the following tags:

<o:condorDagman/> and <o:condorSubmit/>

Composing DAGMan workflow is out of scope.GTLAB executes and monitors DAGs by CondorGTLAB tags for DAGMan use Birdbath service to create client stubs.

24

Page 25: A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department mnacar@cs.indiana.edu Advisor:

Taverna workflowsGTLAB abstracts workflow support.

We studied Taverna as use case. We investigate Kepler and BPEL as future extensions

Workflows can be handled in different categories: Composing Enacting Monitoring

GTLAB supports Taverna enactment and monitoring.GTLAB imports well studied built-in workflows collected by the community

Bioinformatics workflows and their metadata is available

Workflow composition is out of scope of this dissertation There are ongoing researches in this area

April 19, 2023 Mehmet Nacar 25

Page 26: A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department mnacar@cs.indiana.edu Advisor:

Testing setupJSF applications use web forms. Applying request/response paradigm.There are two testing case:

Tform : Turnaround time for requests are initiated from browser client by submitting web forms.

Tportal : Turnaround time for requests first comes to the tomcat server and responses leaves the tomcat server.

26

Page 27: A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department mnacar@cs.indiana.edu Advisor:

GTLABOverhead

Test results have shown that GTLAB framework has negligible overhead.

Overhead = Tsubmit-Trequest

Average overhead of GTLAB is less than 100 msecGTLAB does not add up significant delay on processing the requests.

27

GTLAB tests are conducted on TeraGrid nodes including IU, NCSA and TACC

Page 28: A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department mnacar@cs.indiana.edu Advisor:

Performance results INetwork latency = Tform - Tportal

28

Page 29: A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department mnacar@cs.indiana.edu Advisor:

Performance results II

29

Round trip time of request/responses (Tform)

Delay interval is 10 msec Machine

P4 3.4 Ghz, 1Gb memory Dell Dimension DM051

OS Windows XP Service Pack 2 Tomcat 5.0.28

Tomcat ThreadsmaxThreads="500" minSpareThreads="75" maxSpareThreads="200"

JAVA_OPTS JAVA_OPTS=-Xms16m -Xmx256m

Page 30: A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department mnacar@cs.indiana.edu Advisor:

Performance evaluationThis test includes a simple multitask with Grid operations below.

<o:multitask id="multi" persistent="true" taskname="#{resource.taskname}"> <o:myproxy id="mypr" hostname="gf1" lifetime="2" password="manacar"

port="7512" username="manacar"/> <o:jobsubmit id="js" arguments="-l" executable="/bin/ls"

hostname="gf1.ucs.indiana.edu" provider="#{resource.provider}" stdout="/home/manacar/tmp/out-test2"/> <o:jobsubmit id="js2" executable="/bin/ps" hostname="gf1.ucs.indiana.edu" provider="#{resource.provider}" stdout="/home/manacar/tmp/out-test3"/> <o:dependency id="dep" dependsOn="js" task="js2"/> </o:multitask>

We address the issue of overloading of the server.Changing the server heap size helps to increase processing time

30

Page 31: A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department mnacar@cs.indiana.edu Advisor:

Contributions: System Research

Simplification of software stack of portals for Grid applications through reusable libraries.

Tag libraries for portlets are “fine-grained” components.

Aggregating DAG and workflow capabilities within GTLAB architectureManaging multiple sessions and monitoring the jobs across the sessionsPersistently storing job metadataAccessing to the archived data with metadata services.Defining an access control policy of portlet contents

31

Page 32: A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department mnacar@cs.indiana.edu Advisor:

Contributions: System SoftwareDesign, development and application of GTLAB architecture

Extends the current field Limited by coarse-grained portlet components

Our approach provides a natural way to implement Grid portlets Case studies are VLab and QuakeSim portals

VLab portalQuakeSim portlets

CIMA portalOGCE portletsGridShell project

32

Page 33: A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department mnacar@cs.indiana.edu Advisor:

Related Work

Grid Portlets 1.3 of GridSphere Now they are trying to decouple with GridSphere. It’s called

Vine (Portlet Vine) as separate project Grid Portlets 1.3 provide API and UI tags to build Grid portlets

OGCE portlets Packages Velocity, JSP and JSF portlets Provides portlet package for several Grid applications such as

Globus, Condor, SRB and GPIRmyGrid Portal Interface (MPI) portlets

Implements interfaces for enacting and monitoring Taverna workflows

Provides programming interfaces of Taverna enactment and monitoring services

Page 34: A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department mnacar@cs.indiana.edu Advisor:

Software

GTLAB v1.0 release available at http://grids.ucs.indiana.edu/users/manacar/GTLAB-web

site

See link from main OGCE web site http://www.collab-ogce.org

Vlab portal http://pedro.msi.umn.edu:6080/gridsphere

CIMA portal http://156.56.94.164:8080/gridsphere

QuakeSim portal http://gf7.ucs.indiana.edu:8080/gridsphere/gridsphere

34

Page 35: A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department mnacar@cs.indiana.edu Advisor:

Thanks !

35

Page 36: A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department mnacar@cs.indiana.edu Advisor:

Selected Publications1. Nacar, Mehmet.A., M. Pierce, and G. Fox. GTLAB:Grid Tag Libraries Supporting

Workflows within Science Gateways. in SKG 2007. 2007. Xian, China: IEEE Proceedings.2. Mehmet A. Nacar, M.S.A., Marlon Pierce, Zhenyu Lu and Gordon Erlebacher, Dan

Kigelman, Evan F. Bollig, Cesar De Silva, Benny Sowell, and David A. Yuen, VLab: Collaborative Grid Services and Portals to Support Computational Material Science Concurrency and Computation: Practice and Experience, 2007. 19(12): p. 1717-1728.

3. Mehmet Nacar, MarlonPierce, Gordon Erlebacher, Geoffrey Fox, Designing Grid Tag Libraries and Grid Beans, in Second International Workshop on Grid Computing Environments GCE06 at SC06. 2006: Tampa, FL.

4. Jay Alameda, Marcus Christie Geoffrey Fox Joe Futrelle Dennis Gannon Mihael Hategan Gopi Kandaswamy Gregor von Laszewski Mehmet A. Nacar Marlon Pierce Eric Roberts Charles Severance Mary Thomas.The Open Grid Computing Environments collaboration: portlets and services for science gateways. Concurrency and Computation: Practice and Experience, 2007. 19(6): p. 22.

5. Bollig, Evan F. Jensen, Paul A. Lyness, Martin D. Nacar, Mehmet A. da Silveira, Pedro R. C. Kigelman, Dan Erlebacher, Gordon Pierce, Marlon Yuen, David A. da Silva, Cesar R. S. VLAB: Web Services, Portlets, and Workflows for Enabling Cyber-infrastructure in Computational Mineral Physics. Physics of The Earth and Planetary Interiors. 2007. 163(1-4): p. 333-346.

6. Hao Yin, Donald F.Mcmullen, Mehmet A. Nacar, Marlon Pierce, Kianosh Huffman, Geoffrey Fox and Yu Ma, Providing Portlet-Based Client Access to CIMA-Enabled Crystallographic Instruments, Sensors, and Data, in 7th IEEE/ACM International Conference on Grid Computing (GRID 2006). 2006: Barcelona, Spain.

7. Mehmet A. Nacar, J.Y.C., Marlon E. Pierce, and Geoffrey C. Fox. Building a Grid Portal for Teragrid’s Big Red. in TeraGrid 2007. 2007. Madison, WI.

8. Nacar, Mehmet A., M. Pierce, and G.C. Fox, Developing a secure grid computing environment shell engine: containers and services. Neural, Parallel & Scientific Computations, 2004. 12(3): p. 379-390.

April 19, 2023 Mehmet Nacar 36

Page 37: A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department mnacar@cs.indiana.edu Advisor:

Backup Slides

April 19, 2023 Mehmet Nacar 37

Page 38: A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department mnacar@cs.indiana.edu Advisor:

CIMA Crystallography portal

CIMA picture snapshot

April 19, 2023 Mehmet Nacar 38

Page 39: A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department mnacar@cs.indiana.edu Advisor:

CIMA (Common Instrument Middleware Architecture)

Primarily a data portal to online instrumentsCrystallographers collect data in participating laboratories and collaborate on samples.Portlets have to access data with group privileges.

April 19, 2023 Mehmet Nacar 39

Page 40: A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department mnacar@cs.indiana.edu Advisor:

Research issue: Access control of portlets

April 19, 2023 Mehmet Nacar 40

Mehmet

User

Guest

Super

Admin

User

Crystallographer

Mindiola

Bob

Huffman

Terry

GroupsUsers

Roles

Crystalprovider

Page 41: A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department mnacar@cs.indiana.edu Advisor:

Continue

Portal users have roles and groups RBAC provides this for portlets in portal framework

We need to have access control over portlet dataWe need to map identities between portal and data manager serviceWe have used an additional database to map portal users and service usersCIMA sample portlets are customized to work with user groupsThis customization is done by adding new database tables to the existing portal framework

April 19, 2023 Mehmet Nacar 41

Page 42: A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department mnacar@cs.indiana.edu Advisor:

Taverna use case

A user interacts with a workflow portlet to utilize Taverna enactor. User provides parameters by submitting a web form that start the chain of events in order.

April 19, 2023 Mehmet Nacar 42

JSF XMLGrid tags Scufl document

load scufl document

JSF Action Taverna bean

Taverna enactor

execute

execute

submit

load input parameters

extract grid tags

provide input parametersHTTP

(1)

(3)

(2) (4)

(4)

(5)

Page 43: A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department mnacar@cs.indiana.edu Advisor:
Page 44: A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department mnacar@cs.indiana.edu Advisor:

Big Red PortalBig Red supercomputer is part of TeraGrid at Indiana University

2048 cluster nodes, 4 terabyte memory

We have developed several portlets for Big Red portal submission

MEME job submission Interactive and batch Includes both GridFTP and GRAM clients Job tracking.

MOAB queue monitoring for both entire machine and the specific user.

Although utilizing Big Red, the portlets can be used with any other gateway in TeraGrid

We tested across IU and NCSA resources.

April 19, 2023 Mehmet Nacar 44

Page 45: A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department mnacar@cs.indiana.edu Advisor:

Results of Tform

April 19, 2023 Mehmet Nacar 45

Machine P4 3.4 Ghz, 1Gb memory Dell Dimension DM051 OS Windows XP Service Pack 2 Tomcat 5.0.28

Tomcat Threads(default) maxThreads="150" minSpareThreads="25" maxSpareThreads="75"

JAVA_OPTS (default) Machine Conditions Other applications run simultaneously

Page 46: A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department mnacar@cs.indiana.edu Advisor:

Results of Tform

April 19, 2023 Mehmet Nacar 46

Machine P4 3.4 Ghz, 1Gb memory Dell Dimension DM051 OS Windows XP Service Pack 2 Tomcat 5.0.28 Tomcat Threads maxThreads="500" minSpareThreads="75" maxSpareThreads="200"JAVA_OPTS JAVA_OPTS=-Xms16m -Xmx256m Machine Conditions Other applications run simultaneously

Page 47: A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department mnacar@cs.indiana.edu Advisor:

ConclusionsWe have found out the problem of portlet specification has two major drawbacks

The level of components should be fine-grained It does not enforce access control over portlet contents

We showed our solutions to components which is Grid tag librariesWe also showed a stovepipe solution to portlet access control As future work, PERMIS or GridShib authorization frameworks can be adapted.We showed that how we integrate different DAG and workflows to Grid portal in a generic way.We also showed that accessing user metadata and reusing them.

April 19, 2023 Mehmet Nacar 47

Page 48: A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department mnacar@cs.indiana.edu Advisor:

Research issues: Grid components

Grid portlet applications require dynamic interaction and fine-grained components.

Portlets themselves need to be built out of components

Grid services mostly use request/response paradigm Grid portlets use web forms heavily

Compared to wikis, blogs, RSS-driven news portals, which have a different problem of content management.

Grid widgets can provide components for: Proxy credential GridFtp operations Job submissions, multi-staged jobs

Using widgets as tag libraries help to encapsulate reusable Grid components

April 19, 2023 Mehmet Nacar 48

Page 49: A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department mnacar@cs.indiana.edu Advisor:

49

Page 50: A Component Framework for Building Web Science Gateways and Portals Mehmet Nacar Indiana University Computer Science Department mnacar@cs.indiana.edu Advisor:

Portal page aggregation

50

Portlet modes

• H--> Help

• E--> Edit

Window states

• M--> Maximize

• m-->Minimize