Using Opal to deploy a real scientific application as a Web service Sriram Krishnan

Slides:



Advertisements
Similar presentations
NBCR Science Gateway: Transparent Access to Remote Resources Through Rich Desktop Clients NBCR Science Gateway: Transparent Access to Remote Resources.
Advertisements

Web Application Server Apache Tomcat Downloading and Deployment Guide.
1 Configuring Internet- related services (April 22, 2015) © Abdou Illia, Spring 2015.
ANT: Another Nice Tool Ali Beyad October 1, 2003.
ANT: Another Nice Tool Ali Beyad October 1, 2003.
Server-Side vs. Client-Side Scripting Languages
MC365 Ant. Today We Will Cover: Overview of Ant Installing Ant Using the Ant command line tool Various Ant commands available Using Ant in Eclipse.
Object-Oriented Enterprise Application Development Tomcat 3.2 Configuration Last Updated: 03/30/2001.
1 Configuring Web services (Week 15, Monday 4/17/2006) © Abdou Illia, Spring 2006.
Apache Tomcat Web Server MOHD NORFAIZI MIHSANY (A91391)
DT211/3 Internet Application Development Web Servers.
NetBeans IDE Downloading and Installation Guide. Downloading NetBeans IDE Installation Setup.
Java Servlets and JSP.
SERVLETS.
Installing Ricoh Driver. Items you need to know IP address of Printer Options that are installed And Paper Sizes To get all this information you can print.
Reproducible Environment for Scientific Applications (Lab session) Tak-Lon (Stephen) Wu.
Installing Tomcat on Windows  You may find the Tomcat install shield has some problems recognizing JSDK 1.4 beta installations.  You.
Tomcat Celsina Bignoli History of Tomcat Tomcat is the result of the integration of two groups of developers. – JServ, an open source.
Intro to Servlets Lec 26. Web-Based Enterprise Applications in Java Figure shows a simplified view of one application and its layers.
Using Ant to build J2EE Applications Kumar
DAT602 Database Application Development Lecture 15 Java Server Pages Part 1.
Introduction to ant Guy Rixon AstroGrid Consortium Meeting
Installing DSpace on Window Bharat M. Chaudhari School of Petroleum Management, PANDIT DEENDAYAL PETROLEUM UNIVERSIRY, GANDHINAGAR
Installing and Configuring Tomcat A quick guide to getting things set up on Windows.
Apache Tomcat Web Server SNU OOPSLA Lab. October 2005.
M. Taimoor Khan * Java Server Pages (JSP) is a server-side programming technology that enables the creation of dynamic,
Servlets Environment Setup. Agenda:  Setting up Java Development Kit  Setting up Web Server: Tomcat  Setting up CLASSPATH.
Building service testbeds on FIRE D5.2.5 Virtual Cluster on Federated Cloud Demonstration Kit August 2012 Version 1.0 Copyright © 2012 CESGA. All rights.
CSE 305 Theory of Database Tutorial on Connecting with Sybase from Java program and Developing GUI Jalal Mahmud, TA, CSE 305.
SchwartzGBIF Nodes III29 April 2003 DiGIR Portal Installation And Configuration.
Guidelines for Homework 6. Getting Started Homework 6 requires that you complete Homework 5. –All of HW5 must run on the GridFarm. –HW6 may run elsewhere.
Ext Environment Copyright © 2005 Liferay, LLC All Rights Reserved. No material may be reproduced electronically or in print without written permission.
SUSE Linux Enterprise Desktop Administration Chapter 12 Administer Printing.
Apache Web Server v. 2.2 Reference Manual Chapter 1 Compiling and Installing.
ATG Environment Setup In this session you will learn – Setting Up ATG environment – Creating new ATG application – Configuring Data Source – Configuring.
DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge.
Running Kuali: A Technical Perspective Ailish Byrne - Indiana University Jay Sissom - Indiana University Foundation.
Using Opal to deploy a real scientific application as a Web service Sriram Krishnan, Ph.D.
A Brief Documentation.  Provides basic information about connection, server, and client.
Wrapping Scientific Applications As Web Services Using The Opal Toolkit Wrapping Scientific Applications As Web Services Using The Opal Toolkit Sriram.
Software Architecture in Practice Practical Exercise in Performance Engineering.
 Load balancing is the process of distributing a workload evenly throughout a group or cluster of computers to maximize throughput.  This means that.
Running Kuali: A Technical Perspective Ailish Byrne (Indiana University) Jonathan Keller (University of California, Davis)
CSE 548 Advanced Computer Network Security Trust in MobiCloud using Hadoop Framework Updates Sayan Cole Jaya Chakladar Group No: 1.
Installing SPHINX by: COLLEGE OF ART & SCIENCE UNIVERSITI UTARA MALAYSIA STIW5023 ADVANCED PROGRAMMING.
Enabling Grids for E-sciencE Software installation and setup Viet Tran Institute of Informatics Slovakia.
CSE 548 Advanced Computer Network Security Trust in MobiCloud using Hadoop Framework Updates Sayan Kole Jaya Chakladar Group No: 1.
Field Trip #24 Setting Up a Web Server. Apache Apache is one of the most successful open source web servers In 1995 the most popular web server was the.
1 G52IWS: Example Web-services Chris Greenhalgh. 2 Contents Software requirements AXIS web service run-time components Getting started with Jetty & AXIS.
NJIT 1 Apache Tomcat (Version 6.0) THETOPPERSWAY.COM.
Lab 8 Overview Apache Web Server. SCRIPTS Linux Tricks.
® IBM Software Group © 2006 IBM Corporation Rational Asset Manager v7.2 Using Scripting Tutorial for using command line and scripting using Ant Tasks Carlos.
Installing RandoNode Starter Kit OPEN Development Conference September 17, 2008 Kasi Perumal Consultant.
Tomcat Setup BCIS 3680 Enterprise Programming. One-Click Tomcat Setup 2  This semester we’ll try to set up Tomcat with a PowerShell script.  Preparation.
Settings MySQL Database and JDBC configuration Instructor: Sergey Goldman.
INTERNET APPLICATIONS CPIT405 Install a web server and analyze packets.
CACI Proprietary Information | Date 1 PD² SR13 Client Upgrade Name: Semarria Rosemond Title: Systems Analyst, Lead Date: December 8, 2011.
Using Opal to deploy a real scientific application as a Web service Sriram Krishnan, Ph.D.
Upgrade on Windows 7. DownloadSoftware Download Software from link provided in Webliography: e/
CACI Proprietary Information | Date 1 Upgrading to webMethods Product Suite Name: Semarria Rosemond Title: Systems Analyst, Lead Date: December 8,
Fundamental of Databases
Hyrax Configuration.
Tomcat Celsina Bignoli
Deploying and Configuring SSIS Packages
By Dr. Kodge Bheemashankar G
Apache Tomcat Web Server
Configuring Internet-related services
Devops Jenkins as CI/CD tool Created By: Amrit Choudhary
Configuration Of A Pull Network.
Installing Tomcat.
Presentation transcript:

Using Opal to deploy a real scientific application as a Web service Sriram Krishnan

Downloads Opal Tutorial –This presentation JDK 1.5: – Apache Ant: – Apache Tomcat: – Opal 1.9 Distribution –From the Opal website

Goals Start off with a clean slate Install software prerequisites Install the Opal toolkit Deploy scientific application as Web service Access service via command-line client

Before we get started Should have JAVA and ANT already installed –And environment variables JAVA_HOME and ANT_HOME set correctly –Java: –Ant: Make sure that these can be accessed from the command prompt –Type “java” –Type “ant”

Download Software Prerequisites Create a new directory called “Tutorial” Download and Extract Tomcat – 5_0_30.ziphttp://nbcr.net/services/downloads/tutorial/jakarta-tomcat- 5_0_30.zip –Extract inside Tutorial directory

Download Opal Download and extract Opal –Extract inside the Tutorial directory Compile the sources –On the command prompt, cd to the above location –Open the “build.properties” and modify the variable “catalina.home” with the path where you installed tomcat (previous slide) –Type “ant jar” –Watch for error messages

Edit Opal properties Open the file “etc/opal.properties” inside the Opal installation Look over the various properties being set –Modify the property “tomcat.url” by replacing “localhost” with the the IP address of your machine Type “ifconfig -a” to figure out your IP address

Opal Properties # parallel parameters num.procs=1 mpi.run=/Users/sriramkrishnan/Misc/mpich-1.2.7/bin/mpirun # the base URL for the tomcat installation tomcat.url= # database information database.use=false database.url=jdbc:postgresql://localhost/app_db database.user=app_user database.passwd=app_passwd # drmma information drmaa.use=false drmaa.pe=mpich # globus information globus.use=false globus.gatekeeper=localhost:2119/jobmanager-sge globus.service_cert=/Users/sriramkrishnan/certs/app_service.cert.pem globus.service_privkey=/Users/sriramkrishnan/certs/app_service.privkey

Deploy Opal inside Tomcat From the Opal directory, type the following command: –“ant install” Start Tomcat from the command prompt –Type “cd $CATALINA_HOME/bin” –Type “ chmod +x *.sh” (so this only once)‏ –Type “./startup.sh” (use this command to start the server)‏ Test the Opal installation – –Watch for error messages, warnings are OK If you wanna stop the Tomcat server type “./shutdown.sh”

Download Scientific Application We will use the application OpenBabel –Designed to support molecular modeling, chemistry, and many related areas, including inter-conversion of file formats and data. –Download appropriate version from: –Extract inside the “Tutorial/Babel” directory Type “babel” from the above directory to ensure that it installed fine

Edit Babel Config Open the file “configs/babel_config.xml” inside the Opal installation Look over the various elements –Change the value of the “binaryLocation” to point to your Babel executable

Babel Config <appConfig xmlns=" xmlns:xsd=" ] [-o ] ]]> <![CDATA[... Currently supported input types alc -- Alchemy file prep -- Amber PREP file... Currently supported output types caccrt -- Cacao Cartesian file cacint -- Cacao Internal file... Additional options :... ]]> /Users/sriramkrishnan/bin/babel false

Deploy application using Ant On the command prompt, cd to your Opal installation To deploy application, type the following: –ant deploy -DserviceName=BabelServicePort -DappConfig=configs/babel_config.xml Check list of services –

Run command line client On the command prompt, cd to your Opal installation Set classpath by typing “. etc/classpath.sh” (on Bash)‏ To run the job, type the following: –java edu.sdsc.nbcr.opal.GenericServiceClient -l -a ”-ipdb sample.pdb -opdb out.pdb" -f etc/sample.pdb -r launchJob To query status, type the following: –java edu.sdsc.nbcr.opal.GenericServiceClient -l -r queryStatus -j

What’s Next? To add another service, you just need to add another application config –And deploy using Ant - that’s all! You can write custom clients for your Web services –e.g. Java, Python, Perl, JavaScript

Advanced Configuration Database: – –For persisting job metadata and access logs Scheduler: – –To access local schedulers via DRMAA or GRAM GSI Security: – –To enable GSI-based authentication and authorization

More Information –Downloads, Papers, Presentations –More documentation Advanced configuration like Database, Scheduler, and Security setup Feel free to drop us a note - contacts available from our web page