Скачать презентацию Vis Portal Project developer s experience C E Siegerist Скачать презентацию Vis Portal Project developer s experience C E Siegerist

2b261748cb77a6e0af02dc779ba03c58.ppt

  • Количество слайдов: 27

Vis. Portal Project developer’s experience C. E. Siegerist, J. Shalf, E. W. Bethel NERSC/LBNL Vis. Portal Project developer’s experience C. E. Siegerist, J. Shalf, E. W. Bethel NERSC/LBNL Visualization Group T. J. Jankun-Kelley, O. Kreylos, K. L. Ma CIPIC/UC Davis

Overview • Grid Introduction • Portal Architecture/Software components. • Visportal Services/Example Pages • User’s Overview • Grid Introduction • Portal Architecture/Software components. • Visportal Services/Example Pages • User’s perspective • Conclusions/Future/Caveats • References

The Grid • The Grid is an abstraction that allows transparent use of distributed The Grid • The Grid is an abstraction that allows transparent use of distributed computing resources. • The problem that underlies the Grid concept is coordinated resource sharing and problem solving in dynamic, multiinstitutional virtual organizations.

Vis. Portal Project • The LBNL/NERSC Vis. Portal effort explores ways to deliver Grid-based Vis. Portal Project • The LBNL/NERSC Vis. Portal effort explores ways to deliver Grid-based advanced visualization and data analysis capabilities through a Web Portal interface. • Using standard Globus Grid middleware and off the shelf web automation, the Vis. Portal hides the underlying complexity of resource selection and distributed application management.

Vis. Portal Services Motivation: simplify remote visualization, offer point an click solutions for complex Vis. Portal Services Motivation: simplify remote visualization, offer point an click solutions for complex distributed applications • File Management • Vis Applications: Visapult, AMR Renderer, Web Vis. Sheet. • One button Mpeg • …

Globus • The Globus Project provides software tools (Globus toolkit) that make it easier Globus • The Globus Project provides software tools (Globus toolkit) that make it easier to build computational grids and gridbased applications.

Globusrun Example of a file conversion RSL script % globusrun –r escher. nersc. gov Globusrun Example of a file conversion RSL script % globusrun –r escher. nersc. gov –f convert. rsl -w & (executable=$GLOBUSRUN_GASS_URL # “/home/cristina/convertscript”) (enviroment=(GLOBUSRUN_GASS_URL $(GLOBUS_GASS_URL))

#!/sbin/sh GLOBUS_LOCATION=/usr/local/globus export GLOBUS_LOCATION PATH=$GLOBUS_LOCATION/bin: $GLOBUS_LOCATION/sbin export PATH LD_LIBRARY_PATH=$GLOBUS_LOCATION/lib export LD_LIBRARY_PATH IMAGE_MAGICK=/usr/freeware/bin export IMAGE_MAGICK #!/sbin/sh GLOBUS_LOCATION=/usr/local/globus export GLOBUS_LOCATION PATH=$GLOBUS_LOCATION/bin: $GLOBUS_LOCATION/sbin export PATH LD_LIBRARY_PATH=$GLOBUS_LOCATION/lib export LD_LIBRARY_PATH IMAGE_MAGICK=/usr/freeware/bin export IMAGE_MAGICK globus-gass-server -t -u -r -w -c > $mytmpgassfile & sleep 3 set remote_gass_server_url=`cat $mytmpgassfile` rm $mytmpgassfile $GLOBUS_LOCATION/bin/globus-url-copy $GLOBUSRUN_GASS_URL/home/cristina/file. jpg file: /tmp/file. jpg $IMAGE_MAGICK/convert /tmp/file. jpg /tmp/file. bmp $GLOBUS_LOCATION/bin/globus-url-copy file: /tmp/file. bmp $GLOBUSRUN_GASS_URL/home/cristina/file. bmp globus-gass-server-shutdown $remote_gass_server_url rm /tmp/file. bmp rm /tmp/file. jpg

GPDK • The Grid Portal Development Kit (GPDK) is a set of modular, reusable GPDK • The Grid Portal Development Kit (GPDK) is a set of modular, reusable components for accessing Grid services in the form of Java Beans. It derives most of its functionality from the Globus Java Commodity Grid (Java Co. G) toolkit. • Other toolkits: Grid. Port, Grid. Sphere

Portal Architecture Portal Architecture

Portal Architecture (thick client) Thick Client Resources | Users Portal Architecture (thick client) Thick Client Resources | Users

Internal Architecture Web Server Tomcat GPDK Portal Engine Application Logic (Servlets) Presentation (JSP) User Internal Architecture Web Server Tomcat GPDK Portal Engine Application Logic (Servlets) Presentation (JSP) User Grid Service Beans Profiles Security Information Job Data Services Submission Transfer Grid Middleware Libraries (e. g. Co. G) globus

Software Components • Apache 1. 3. 27 • Tomcat 3. 3. 1 • gpdk Software Components • Apache 1. 3. 27 • Tomcat 3. 3. 1 • gpdk cvs version • Java Co. G v 1. 0 a • mod_jk 1. 3 • mod_ssl 2. 8. 12 • • • openssl 0. 9. 6 h globus 2. x java 1. 4. x My. Proxy 1. 0 log 4 j_1. 2. 7

GPDK Demo Portal GPDK Demo Portal

Login Page • Myproxy: username and password of delegated credential • Local: load from Login Page • Myproxy: username and password of delegated credential • Local: load from credential file (gridproxy-init)

Profile • Update user’s resources job history email address Profile • Update user’s resources job history email address

File Mgmt. • Foreground transfers • Background transfers • Globus File Yanker(Shreyas Cholia) File Mgmt. • Foreground transfers • Background transfers • Globus File Yanker(Shreyas Cholia)

Launch Applications Visapult Launch Applications Visapult

Launch Applications AMR Renderer Launch Applications AMR Renderer

Visportal Web. Sheet Visportal Web. Sheet

MPEG Generator • Example of a user driven service: the user connects to our MPEG Generator • Example of a user driven service: the user connects to our Onyx to run an IDL batch job to produce a movie with data that he has in an IBM SP • The portal provides an interface to select the data file and the mpeg parameters. It transfers the file, launches the IDL job and sends an email to the user with a URL to retrieve the movie.

The portal is running (most of the time) https: // frost. lbl. gov/visportal/servlet/visportal The portal is running (most of the time) https: // frost. lbl. gov/visportal/servlet/visportal

User’s perspective • Accounts in all the resources. • Request a user certificate: http: User’s perspective • Accounts in all the resources. • Request a user certificate: http: //www. doegrids. org/pages/cert-request. html • Be in the grid-map files of the resources (automated through NIM). • Create a proxy certificate and login.

Challenges • • • Difficult GUI Implementation Error Recovery Support Middleware is a moving Challenges • • • Difficult GUI Implementation Error Recovery Support Middleware is a moving target Resource management

Future • Deploying a subset of services to NERSC users. • Implementing specific user Future • Deploying a subset of services to NERSC users. • Implementing specific user workflows. • Upgrade to OGSA/GT 3. 0 • Explore Gridlab/Gridsphere, portlets.

Soon: visportal. nersc. gov Soon: visportal. nersc. gov

References • • • The anatomy of the Grid: Enabling Scalable Virtual Organizations, Intl. References • • • The anatomy of the Grid: Enabling Scalable Virtual Organizations, Intl. J. Supercomputer Applications, 2001. The Grid Portal Development Kit, J. Novotny, Cuncurrency: Pract. Exper. 2000; 00: 1 -7 How the Grid will affect the Architecure of Future Visualization Systems, J. Shalf and W. Bethel, http: //www-vis. lbl. gov/Publications Building a Portal Using GPDK: A Developers Tutorial, J. Novotny, http: //doesciencegrid. org//public/events/GPDW/slides/gpdk-dev. pdf Globus, A Metacomputing Infrastructure Toolkit. I. Foster, C. Kessselman, Internation Journal of Supercomputing applications, 1997. Deploying Web-based Visual Exploratin Tools on the Grid. T. J. Jankun. Kelly, O. Kreylos, J. Shalf, K-L. Ma, B. Hammann, K. Joy, E. W. Bethel. IEEE Computer Graphics and Applications, march/april 2003. Vis. Portal, Deploying grid-enabled visualization tools through a webportal interface. http: //wwwlibrary. lbl. gov/library/docs/LBNL/529/40/PDF/LBNL-52940. pdf Globus: www. globus. org GPDK: www. doesciencegrid. org