a) Install the SDK into a directory of your choice (/opt/java/jdk1.5.0_11, /opt/java/jdk1.6.0_02, or YOUR_JAVA_HOME_DIR)



Similar documents
Project (Group) Management Installation Guide (Linux) Version 1.3. Copyright 2007 MGH

Project Management (PM) Cell

IUCLID 5 Guidance and Support

i2b2 Installation Guide

EMC Clinical Archiving

Application Notes for Packaging and Deploying Avaya Communications Process Manager Sample SDK Web Application on a JBoss Application Server Issue 1.

ZeroTurnaround License Server User Manual 1.4.0

Informatics for Integrating Biology & the Bedside. i2b2 Workbench Developer s Guide. Document Version: 1.0 i2b2 Software Release: 1.3.

Upgrading Your Web Server from ClientBase Browser Version 2.0 or Above to Version 2.1.1

3. Installation and Configuration. 3.1 Java Development Kit (JDK)

CORISECIO. Quick Installation Guide Open XML Gateway

Apache Tomcat 4.0 Sample Modified 06/09/04

Written by Wirabumi Software Sunday, 30 December :27 - Last Updated Thursday, 03 January :52

24x7 Scheduler Multi-platform Edition 5.2

Forward proxy server vs reverse proxy server

How to Enable Remote JMX Access to Quartz Schedulers. M a y 1 2,

SDK Code Examples Version 2.4.2

AmbrosiaMQ-MuleSource ESB Integration

ADAM 5.5. System Requirements

RHEV 2.2: REST API INSTALLATION

Ellucian Recruiter Installation and Integration. Release 4.1 December 2015

Tcat Server User s Guide. Version 6 R2 December 2009

Simba XMLA Provider for Oracle OLAP 2.0. Linux Administration Guide. Simba Technologies Inc. April 23, 2013

Enhanced Connector Applications SupportPac VP01 for IBM WebSphere Business Events 3.0.0

Supplement IV.E: Tutorial for Tomcat. For Introduction to Java Programming By Y. Daniel Liang

UFTP AUTHENTICATION SERVICE

Continuous Integration (CI) and Testing - Configuring Bamboo, Hudson, and TestMaker

Full VM Tutorial. i2b2 Desktop Installation (Windows) Informatics for Integrating Biology and the Bedside

Author: Gennaro Frazzingaro Universidad Rey Juan Carlos campus de Mostòles (Madrid) GIA Grupo de Inteligencia Artificial

IBM TRIRIGA Anywhere Version 10 Release 4. Installing a development environment

Practice Fusion API Client Installation Guide for Windows

SSL CONFIGURATION GUIDE

In this chapter, we lay the foundation for all our further discussions. We start

CycleServer Grid Engine Support Install Guide. version 1.25

Lucid Key Server v2 Installation Documentation.

Configuring Secure Socket Layer (SSL) for use with BPM 7.5.x

VERSION 9.02 INSTALLATION GUIDE.

JMETER - MONITOR TEST PLAN

Server Setup and Configuration

Oracle Endeca Information Discovery Integrator

Prerequisites and Configuration Guide

StreamServe Persuasion SP5 StreamStudio

Dataworks System Services Guide

Wavelink Avalanche Mobility Center Linux Reference Guide

Running multiple Tomcat versions on the same host

EMC XDS Repository Connector for ViPR

EMC Documentum Connector for Microsoft SharePoint

Department of Veterans Affairs VistA Integration Adapter Release Enhancement Manual

Software Architecture Document

SuperOffice Pocket CRM

Windows Installation Guide

Pre-Installation Instructions

New Features... 1 Installation... 3 Upgrade Changes... 3 Fixed Limitations... 4 Known Limitations... 5 Informatica Global Customer Support...

EQUELLA. Clustering Configuration Guide. Version 6.0

The Server.xml File. Containers APPENDIX A. The Server Container

WA Continuous Integration with Jenkins- CI, Maven and Nexus. Classroom Setup Guide. Web Age Solutions Inc. Web Age Solutions Inc.

EMC Documentum Content Services for SAP Repository Manager

DSI File Server Client Documentation

Getting started with OWASP WebGoat 4.0 and SOAPUI.

How To Install Powerpoint 6 On A Windows Server With A Powerpoint 2.5 (Powerpoint) And Powerpoint On A Microsoft Powerpoint 4.5 Powerpoint (Powerpoints) And A Powerpoints 2

EMC Documentum Composer

Customer Tips. How to Upgrade, Patch or Clone Xerox Multifunction Devices. for the user. Purpose. Upgrade / Patch / Clone Process Overview

AklaBox. The Ultimate Document Platform for your Cloud Infrastructure. Installation Guideline

NetBeans IDE Field Guide

How To Link Tomcat 5 with IIS 6 on Windows 2003 Server using the JK2 ajp13 connector

WORKING WITH LOAD BALANCING AND QUEUEING FOR ADOBE INDESIGN CS5 SERVER

PDQ-Wizard Prototype 1.0 Installation Guide

SOLR INSTALLATION & CONFIGURATION GUIDE FOR USE IN THE NTER SYSTEM

SSO Plugin. J System Solutions. Upgrading SSO Plugin 3x to 4x - BMC AR System & Mid Tier.

Jenkins on Windows with StreamBase

Installing BIRT Analytics 4.4

SAP BusinessObjects Business Intelligence platform Document Version: 4.2 Support Package Web Application Deployment Guide for Windows

DEPLOYING EMC DOCUMENTUM BUSINESS ACTIVITY MONITOR SERVER ON IBM WEBSPHERE APPLICATION SERVER CLUSTER

Workshop for WebLogic introduces new tools in support of Java EE 5.0 standards. The support for Java EE5 includes the following technologies:

Primavera P6 Professional Windows 8 Installation Instructions. Primavera P6. Installation Instructions. For Windows 8 Users

Instant Chime for IBM Sametime Installation Guide for Apache Tomcat and Microsoft SQL

Canto Integration Platform (CIP)

Tool-Assisted Knowledge to HL7 v3 Message Translation (TAMMP) Installation Guide December 23, 2009

Integration Guide. SafeNet Authentication Service. Oracle Secure Desktop Using SAS RADIUS OTP Authentication

SMART Vantage. Installation guide

Setting Up B2B Data Exchange for High Availability in an Active/Active Configuration

Oracle Fusion Middleware. 1 Oracle Team Productivity Center Server System Requirements. 2 Installing the Oracle Team Productivity Center Server

How To Integrate IIS6 and Apache Tomcat

Getting started Cassandra Access control list

<Insert Picture Here> Introducing Hudson. Winston Prakash. Click to edit Master subtitle style

Builder User Guide. Version 5.4. Visual Rules Suite - Builder. Bosch Software Innovations

Epidefender Studio Installation notice

WA1826 Designing Cloud Computing Solutions. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

Magento Search Extension TECHNICAL DOCUMENTATION

T320 E-business technologies: foundations and practice

How to use the Eclipse IDE for Java Application Development

How to Install Eclipse. Windows

Installing and Running MOVES on Linux

Transcription:

HPC Installation Guide This guide will outline the steps to install the Web Service that will allow access to a remote resource (presumably a compute cluster). The Service runs within a Tomcat/Axis environment. The client application allows users to submit, retrieve job status, and save results from a remote job. Step 1 Prerequisites Required Software a. Java JDK JDK 5.0 (recommended) Download JDK 5.0 Update 11 (jdk-1_5_0_11-linux-i586.bin) from http://java.sun.com/products/archive/ a) Install the SDK into a directory of your choice (/opt/java/jdk1.5.0_11, /opt/java/jdk1.6.0_02, or YOUR_JAVA_HOME_DIR) b. Apache Tomcat 5.5 + JDK 1.4 Compatibility Package The HPC cell runs under tomcat. Download apache-tomcat-5.5.23-compat.zip and apache-tomcat-5.5.23.zip from http://archive.apache.org/dist/tomcat/tomcat-5/v5.5.23/bin/ a)unzip into a directory of your choice (/opt/apache-tomcat-5.5.23 or YOUR_TOMCAT_HOME_DIR) b) If default port 8080 is unavailable (another application is using this port), edit YOUR_TOMCAT_HOME_DIR/conf/server.xml file to reconfigure the non-ssl HTTP/1.1 Connector to another port such as 7070 and the AJP 1.3 connector to another port such as 7009. <!--Define a non-ssl HTTP/1.1 Connector on port 7070 --> <Connector port="7070" maxhttpheadersize="8192" maxthreads="150" minsparethreads="25" maxsparethreads="75" nablelookups="false" redirectport="8443" acceptcount="100" connectiontimeout="20000" disableuploadtimeout="true" /> <!--Define an AJP 1.3 Connector on port 7009 --> <Connector port="7009 nablelookups="false" redirectport="8443" protocol= AJP/1.3 /> c. Apache Ant 1.6.5 Download 'Apache Ant version 1.6.5' (apache-ant-1.6.5-bin.zip) from http://archive.apache.org/dist/ant/binaries/ a) Unzip into a directory of your choice (/opt/apache-ant-1.6.5 or YOUR_ANT_HOME_DIR) d. Apache Axis2 1.1 Download 'Apache Axis2 version 1.1', from http://ws.apache.org/axis2/download/1_1/download.cgi and select the download type

WAR (Web Archive) Distribution.(axis2.war) a) Create folder axis2 inside YOUR_TOMCAT_HOME_DIR/webapps b) Unzip axis2.war inside YOUR_TOMCAT_HOME_DIR/webapps/axis2 folder. c) In axis2/web-inf/conf/axis2.xml, set this parameter 'true' (it is false by default): <parameter name="enablerestinaxis2mainservlet" locked="true">true</parameter> e. Update your environment variables Be sure to set the JAVA_HOME, ANT_HOME and CATALINA_HOME variables to the JAVA, ANT and Tomcat home directories you set up in steps a-c respectively. Examples are shown below. # Sample environment variables JAVA_HOME=/usr/java/jdk1.5.0_11 ANT_HOME=/opt/java/apache-ant-1.6.5 CATALINA_HOME=/opt/apache-tomcat-5.5.23 PATH=$PATH:$ANT_HOME/bin:$JAVA_HOME/bin export CATALINA_HOME export JAVA_HOME Step 2 - Installing HPC software Install HPC Web Service Whether you intend to access a remote cluster via the i2b2 HPC cell or via the standalone java applicaton, you must install the web service into tomcat. a) Download Web Service ClusterService.aar, which communicates with the remote resource (presumably a compute cluster) from http://i2b2.org. b) Ensure Tomcat is not running: $CATALINA_HOME/bin/shutdown c) Copy ClusterService.aar to $CATALINA_HOME/webapps/axis2/WEB-INF/services d) Start Tomcat: $CATALINA_HOME/bin/startup e) Verify webservice is running; substitute 'yourhost' and 'yourport' with your local settings. a) Check url http://yourhost:yourport/axis2/services/listservices in a browser. Verify that HPC Service is listed as active. Install HPC Standalone Java Jar Perform this step if you plan on accessing remote resources through the command line, independent of i2b2 workbench. a) Download AccessClusterStandalone.exe from http://i2b2.org, which will install a java application that allows access to the remote resource via calls to ClusterService.aar. b) Run AccessClusterStandalone.exe to extract and install the java wrapper application. This will be installed in c:\program Files\AccessCluster. Install i2b2 HPC cell Currently, the HPC client cell must be installed in an eclipse IDE where the i2b2 workbench is installed. These steps are described in HPC Developer's Guide.

Step 3 Using the Web Service From the command line Create an xml file of commands to describe the task to be performed on the remote resource. A sample is provided in Appendix A. a) Execute the following from the command line, with various options defined: -u = a valid user name on the remote resource -p = the corresponding password -h = host name of the remote resource -f = the filename of xml directives to run on the remote resource. java.exe jar c:\program Files\AccessCluster\AccessCluster.jar -u <user> -p <password> -h <host> -f remote_application_file.xml From i2b2 workbench See HPC Developer's Guide for an example of usage within i2b2 workbench. Appendix A Example XML file to run as standalone input to AccessCluster.jar. <!-- ClusterApp is what will be submitted to the remote resource; specify a meaningful name for the application, and a type of SUBMIT to indicate you are submitting a job to the cluster --> <ClusterApp name="myapp" type="submit" logging="true"> <!-- web service data, provide your local tomcat info here --> <local-resource> <server>localhost</server> <port>8080</port> </local-resource> <!-- preprocess is an optional element indicating one or more commands to run on the remote machine before the execution of your remote job --> <preprocess>

<!-- concat simply runs commands, in this example creating two directories on the remote machine --> <concat> <command>mkdir testdata</command> <command>mkdir OA_output</command> </concat> <!-- ftp will copy files from your local directory ( c:\joe\mydata\*txt in this case) to a directory testdata on the remote machine; testdata is created under your home directory on the remote machine --> <ftp action="put" remotedir="testdata"> <fileset dir="c:\joe\mydata"> <include name="*.txt"/> </fileset> </ftp> </preprocess> <!-- at this point, you could submit a job to run on the remote scheduler, or, submit a simple command --> <!-- submit of type bsub (to submit a job to the LSF queue), providing a fictitious java jar to run with parameters --> <submit type="bsub"> <app name="java -Xmx1600M"> <param>-jar app.jar</param> <param>config.xml</param> </app> </submit> <!-- instead of a submit command, you could send a command and retrieve its output, here asking to retrieve the status of the LSF queues on the cluster --> <!-- <command>bqueues</command> --> </ClusterApp> Once you have submitted a presumably long-running job on the cluster, you could periodically submit this XML to retrieve status: <ClusterApp name="myapp" type="status" logging="true">

</ClusterApp> Then, when the STATUS command returns information that your job is done, you could save the output from the job to your local machine: <ClusterApp name="myapp" type="save" logging="true"> <output>c:\joe\savedata\result.txt</output> </ClusterApp>