You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sm...@apache.org on 2013/01/27 02:01:06 UTC

svn commit: r1439009 - in /airavata/site/trunk: content/documentation/ content/documentation/system/ content/documentation/tutorials/ content/documentation/workflow/ templates/

Author: smarru
Date: Sun Jan 27 01:01:05 2013
New Revision: 1439009

URL: http://svn.apache.org/viewvc?rev=1439009&view=rev
Log:
reorganized the tutorials and updated based on current release

Added:
    airavata/site/trunk/content/documentation/tutorials/
      - copied from r1436822, airavata/site/trunk/content/documentation/system/
    airavata/site/trunk/content/documentation/tutorials/airavata-in-5-minutes.mdtext
      - copied, changed from r1438906, airavata/site/trunk/content/documentation/system/airavata-in-5-minutes.mdtext
Removed:
    airavata/site/trunk/content/documentation/system/
    airavata/site/trunk/content/documentation/tutorials/overview.mdtext
Modified:
    airavata/site/trunk/content/documentation/quickstart-tutorials.mdtext
    airavata/site/trunk/content/documentation/tutorials/advanced-workflow-samples.mdtext
    airavata/site/trunk/content/documentation/tutorials/airavata-in-10-minutes.mdtext
    airavata/site/trunk/content/documentation/workflow/xbaya.mdtext
    airavata/site/trunk/templates/sidenav.mdtext

Modified: airavata/site/trunk/content/documentation/quickstart-tutorials.mdtext
URL: http://svn.apache.org/viewvc/airavata/site/trunk/content/documentation/quickstart-tutorials.mdtext?rev=1439009&r1=1439008&r2=1439009&view=diff
==============================================================================
--- airavata/site/trunk/content/documentation/quickstart-tutorials.mdtext (original)
+++ airavata/site/trunk/content/documentation/quickstart-tutorials.mdtext Sun Jan 27 01:01:05 2013
@@ -16,15 +16,103 @@ Notice:    Licensed to the Apache Softwa
            specific language governing permissions and limitations
            under the License.
 
-The purpose of these quick start tutorials is to give a glimse of Airavata funcationlity. Please see the Airavata Wiki for advanced tutorials for comprehensive features.
+###Introduction
 
-## Execute standard web services
- 
-This tutorial will explain how to use Airavata to invoke a simple Web Service by creating a workflow - [Airavata in Five Minutes](/documentation/system/airavata-in-5-minutes.html)
+The purpose of these quick start tutorials is to give a glimse of Airavata funcationlity. The tutorials cover the very basic capabilities of registering a simple application, constructing, executing and monitoring a workflow. 
+
+Airavata has comprehensive capabilities to build science gateways to interface with computational grids and clouds. Please see the Airavata Wiki for these advanced tutorials and if you are interested do not hesitate to post a question to the mailing list.
+
+###Prerequisites
+<table>
+    <tr>
+        <td width="100"><b>Airavata</b></td>
+        <td>0.1 or later</td>
+    </tr>
+    <tr>
+        <td><b>OS</b></td>
+    	<td>Linux or Mac Prefered</td>
+    </tr>
+    <tr>
+        <td><b>Java</b></td>
+    	<td>1.6 or higher</td>
+    </tr>
+</table>
+
+###Setting Up Environment
+
+  1. Please set JAVA_HOME if it is not already set.
+    - Examples:
+        - export JAVA_HOME=/home/user/installations/jdk1.6.0_27
+        - export PATH=$JAVA_HOME/bin/
+
+###Download binaries or build from source 
+  
+   1. You can download the binaries from [Downloads Page][download]/Release Vote threads, or [build airavata from source][build].
+      * If you have built from source then the binaries will be in modules/distribution directory. Please look into appropriate target directory of airavata-client, airavata-server or xbaya-gui
+      * If you are using Windows + Cygwin you need to set permissions on some files 
+      
+  2. Extract the Airavata Server binary distribution (refering in following instructions as  `AIRAVATA_SERVER_HOME`). The directory name is typically apache-airavata-server-$version.
+  
+  3. Extract the Airavata XBaya GUI binary distribution (refering in following instructions as  `AIRAVATA_XBAYA_HOME`). The directory name is typically apache-airavata-xbaya-gui-$version.
+  
+  3. Change persmisisons of shell scripts on both server and xbaya-gui bin directories.
+ 	* `chmod 755 bin/*.sh`
+    * For windows, there are bat scripts are provided.
+
+### Start Airavata Server and Luanch GUI 
+        
+  1. For quick start purposes, Airavata server is distributed as a standalone server. The server starts up by defualt on port 8080. 
+    * `$AIRAVATA_SERVER_HOME/bin/airavata-server.sh` 
+  2. Launch Airavata XBaya GUI 
+	* `$AIRAVATA_XBAYA_HOME/bin/xbaya-gui.sh`
+	
+With Airavata Server and GUI running, you can follow through the basic tutorials.
+
+### Configure Airavata Registry
+
+Configure XBaya GUI to use the Airavata Registry.
+
+* From the main menu select: `Registry` -> `Setup Airavata Registry`
+* You can leave all the values to be defualt. For reference here is what you should be seeing:
+  	<table border="1">
+  		<tr>
+  			<td><b>URL</b></td>
+  			<td>http://localhost:8080/airavata-registry/api</td>
+  		</tr>
+  		 <tr>
+  			<td><b>Gateway</b></td>
+  			<td>defualt</td>
+  		</tr>
+  		 <tr>
+  			<td><b>Gateway</b></td>
+  			<td>defualt</td>
+  		</tr>
+  		<tr>
+  			<td><b>Username</b></td>
+  			<td>admin</td>
+  		</tr>
+  		<tr>
+  			<td><b>Password</b></td>
+  			<td>admin</td>
+  		</tr>
+  	</table>
 
+    - Note: This step will only succeed if you have previously started the Airavata Server. If it fails, please verify the server is up and running on port 8080.
 
-## Execute a command line application
+### Simple tutorial to construct and execute a workflow
  
-This tutorial will explain how to use register a command line application with Airavata Registry, construct and execute and monitor progress - [Airavata in Ten Minutes](/documentation/system/airavata-in-10-minutes.html)
+The goal of this tutorial is to give a feel for Airavata by creating and executing a simple workflow. Follow the tutorial [Airavata in Five Minutes][5minute].
+
+### Register a new application
+ 
+The goal of this tutorial is to walk through the process of registering an application, create a workflow and execite and monitor progress. Follow the tutorial [Airavata in Ten Minutes][10minute].
+
+### Workflow samples 
 
+To provide an undertanding of some simple control structure constructures like for-each and executing workflows in parallel, s set of samples workflows are bundled with the airavata server binary package.They can be found in `$AIRAVATA_SERVER_HOME/samples/workflows`. The [Workflow Samples][workflow-samples] describes these workflows.
 
+[download]: /about/downloads.html
+[build]: /development/build.html
+[5minute]: /documentation/tutorials/airavata-in-5-minutes.html
+[10minute]: /documentation/tutorials/airavata-in-10-minutes.html
+[workflow-samples]: /documentation/tutorials/advanced-workflow-samples.html
\ No newline at end of file

Modified: airavata/site/trunk/content/documentation/tutorials/advanced-workflow-samples.mdtext
URL: http://svn.apache.org/viewvc/airavata/site/trunk/content/documentation/tutorials/advanced-workflow-samples.mdtext?rev=1439009&r1=1436822&r2=1439009&view=diff
==============================================================================
--- airavata/site/trunk/content/documentation/tutorials/advanced-workflow-samples.mdtext (original)
+++ airavata/site/trunk/content/documentation/tutorials/advanced-workflow-samples.mdtext Sun Jan 27 01:01:05 2013
@@ -16,86 +16,40 @@ Notice:    Licensed to the Apache Softwa
            specific language governing permissions and limitations
            under the License.
 
-The purpose of this tutorial is to give an understanding of how to run sample workflows shipped in with Airavata. If you are a new user and would like to acquire basic understanding of how to use Airavata, please refer the [5 minute](airavata-in-5-minutes.html) tutorial and then refer the [10 minute](airavata-in-10-minutes.html) tutorial. If you are familiar with Airavata and would like to run a sample workflow, this is the right place for you.
+### Introduction
 
-##Introduction
+The goal of this tutorial is to give an understanding of how to run sample workflows shipped with Airavata. Please refer to the [quick start tutorials][quickstart] for basic understanding on how to construct and execute workflows. 
 
-This tutorial will explain how to run a workflow, using an existing Airavata Workflow Configuration. Airavata currently, ships sample workflow configurations with it's distribution. The Samples included are;
-<br></br>
+These examples demonstrate using existing workflows and to provide some of the workflow capabilities. A simple and a complex math workflows and a Levenshtein distance examples are included with the binary distribution.
 
-1. SimpleMath workflow
+### Start Airavata Server and Launch GUI
 
-2. ComplexMath workflow
+Before following the next instructions, make sure Airavata Server is up and running XBaya GUI is launched and Airavata Registry is configured from XBaya. Instructions are provided at [Quick Start Tutorials][quickstart] introduction Page.
 
-3. LevenshteinDistance workflow
+### Import the workflow samples
 
-Note: Currently Airavata will work with Linux distributions and Mac and we do not support all the Apache Airavata components to work on Windows.
+* Click the Xbaya tab and open up an Airavata workflow file (.xwf) from file system.
+* Sample workflows shipped in with Airavata can be found in $AIRAVATA_SERVER_HOME/samples/workflows.
+* Example load the SimpleMath workflow
+	* Luanch the workflow by clicking on run button (red colored play).
+	* After the workflow is executed the results are displayed in the monitoring panel.
+	* The above steps can be repeated for other sample workflows as well.
 
-##Prerequisites
-<table>
-    <tr>
-        <td width="100"><b>Airavata</b></td>
-        <td>0.1 or later</td>
-    </tr>
-    <tr>
-        <td><b>OS</b></td>
-    	<td>Linux or Mac Prefered</td>
-    </tr>
-    <tr>
-        <td><b>Java</b></td>
-    	<td>1.6 or higher</td>
-    </tr>
-</table>
-
-##Tutorial
-1. Download the latest Airavata release pack from downloads link and extract, for future explanation lets assume the path to extracted directory is AIRAVATA_HOME.
-
-2. If JAVA_HOME is not already set;
-    - add/modify following entries in ~/.bashrc file.
-        - export JAVA_HOME=/home/user/installations/jdk1.6.0_27
-        - export PATH=$JAVA_HOME/bin/
-
-2. Now Run the following scripts in the given order below to start the components of Airavata.
-<br></br>
-AIRAVATA_HOME/bin/airavata-server.sh - This will start SimpleAxis2Server on port 8080 and with default derby database which run on port 1527
-<br></br>
-AIRAVATA_HOME/bin/xbaya-gui.sh - This will start XBaya GUI application.
-<br></br>
-
-3. Click the Xbaya tab and open up an Airavata workflow configuration (.xwf) from file system (sample workflows shipped in with Airavata can be found in AIRAVATA_HOME/samples/workflows)
-eg. Assume that you selected the SimpleMath workflow
-
-	*	Now Click on the run button (red colored play).
-
-	*	Then the workflow will get executed.
-
-	*	Finally the result of the workflow will get displayed.
-
-	*	Similarly, other workflows can be executed.
-
-##Workflow Samples
-###Basic samples
-1. SimpleMath workflow
-
-	*	This workflow will hand over the inputs to 4  nodes. Then the results will be handed over to another 2 nodes which will then hand over the results to another node. The last node will output the result of the operation. All the nodes considered are doing addition operations.
+### Description of the sample workfllows
+* **Simple math workflow**: 
+This workflow illustrates an example with multiple nodes which can be executed in parallel. After the first 4 parallel nodes are executes, the results are passed to the next set of 2 nodes. This example also illustartes how multiple instances of the same application can be used. All nodes in the workflow are doing addition operations.
 </br></br>
-![1](/documentation/system/interesting-workflow-samples/1.jpg)
+![1](/documentation/tutorials/interesting-workflow-samples/1.jpg)
 </br></br>
 
-2. ComplexMath workflow
-
-	*	This workflow will hand over the inputs to 4  nodes which are doing addition operations. Then the outputs(results) will be handed over to another 2 nodes which are doing multiplication operation. The results of the multiplications are handed over to another node. The last node will do addition operation on the input data and output the resulting value.
+* **Complex math workflow**: This workflow is very similar to the simple math examples, except that there are a mix of both adder and multiplication operations. The goal of this example is to illustrate how to use different operations in a web service as each node in a workflow.
 </br></br>
-![2](/documentation/system/interesting-workflow-samples/2.jpg)
+![2](/documentation/tutorials/interesting-workflow-samples/2.jpg)
 </br></br>
 
-###Advanced Samples
-
-XBaya support Parametric Sweeps which can be used to tackle uncertainty of inputs to a workflow. It supports, Cartesian product and Dot product of inputs.
-
-1. Levenshtein Distance workflow
-
-	*	This workflow will use Airavata's ForEach construct to calculate Levenshtein Distance of strings. This workflow will use cross product to calculate distance.
+* **Levenshtein distance workflow**:  The goal of this example is to illustrate the *parametric sweep* capabilities to utilize iterations within a workflow. The number of iterations are determined at run time based on the array size of the for-each node. Both Cartesian and Dot product of inputs are suppported. This example calculates the Levenshtein Distance of strings. The workflow uses cross product to calculate the distance.
 </br></br>
-![3](/documentation/system/interesting-workflow-samples/3.jpg)
+![3](/documentation/tutorials/interesting-workflow-samples/3.jpg)
 </br></br>
+
+[quickstart]: /documentation/quickstart-tutorials.html
\ No newline at end of file

Modified: airavata/site/trunk/content/documentation/tutorials/airavata-in-10-minutes.mdtext
URL: http://svn.apache.org/viewvc/airavata/site/trunk/content/documentation/tutorials/airavata-in-10-minutes.mdtext?rev=1439009&r1=1436822&r2=1439009&view=diff
==============================================================================
--- airavata/site/trunk/content/documentation/tutorials/airavata-in-10-minutes.mdtext (original)
+++ airavata/site/trunk/content/documentation/tutorials/airavata-in-10-minutes.mdtext Sun Jan 27 01:01:05 2013
@@ -16,80 +16,24 @@ Notice:    Licensed to the Apache Softwa
            specific language governing permissions and limitations
            under the License.
 
-The purpose of this tutorial is to give an advanced understanding of how Airavata works. For a basic understanding please refer the [5 minute](airavata-in-5-minutes.html) tutorial.
+###Introduction
 
-##Introduction
+This tutorial will explain how to use Airavata XBaya to register and generate a simple Web Service interface for a command-line application like Echo. The tutorial will further explain steps in creating and executing the workflow. 
 
-This tutorial will explain how to use Airavata XBaya to register and create a simple Web Service for a simple command-line application like Echo. The tutorial will further explain steps in creating and executing the workflow. Please follow up the below steps to run the simple web service sample.
-Note: Currently Airavata will work with Linux distributions and Mac and we do not support all the Apache Airavata components to work on Windows.
+Note: Currently POSIX style command line applications are supported. This tutorial assumes Linux based (including mac) environments. Airavata services and XBaya GUI works on windows, but the applicatin execution environment has be to linux/mac based.
 
-##Prerequisites
-<table>
-    <tr>
-        <td width="100"><b>Airavata</b></td>
-        <td>0.1 or later</td>
-    </tr>
-    <tr>
-        <td><b>OS</b></td>
-    	<td>Linux or Mac Prefered</td>
-    </tr>
-    <tr>
-        <td><b>Java</b></td>
-    	<td>1.6 or higher</td>
-    </tr>
-</table>
-
-##Tutorial
-1. [Build from source][1] or download the latest Airavata release pack from downloads link
-2. If JAVA_HOME is not already set;
-    - add/modify following entries in ~/.bashrc file.
-        - export JAVA_HOME=/home/user/installations/jdk1.6.0_27
-        - export PATH=$JAVA_HOME/bin/
-3. Extract the distribution archive (the rest of this document assumes the path to extracted directory is AIRAVATA_HOME)
-4. Now Run the following scripts in the given order below to start the components of Airavata.
-<br></br>
-AIRAVATA_HOME/bin/airavata-server.sh - This will start SimpleAxis2Server on port 8080
-<br></br>
-AIRAVATA_HOME/bin/xbaya-gui.sh - This will start XBaya GUI application.
-<br></br>
-4. The release package will contains an echo command-line application in AIRAVATA_HOME/samples/echo.sh. Now you will
-register this application and wrap it as a Web service using XBaya. Use following screenshots to register an application
+### Start Airavata Server and Launch GUI
 
-	- First, we will register a Host Description using menu XBaya -> Add Host.
-	  There will be a popup asking for a credentials used to connect to the Registry.
-	  In the popup give the following values to the parameters and click Ok (keep the default values as it is.)
-  	<table border="1">
-        <tr>
-            <td><b>Username</b></td>
-            <td>admin</td>
-        </tr>
-        <tr>
-            <td><b>Password</b></td>
-            <td>admin</td>
-        </tr>
-    </table>
+Before following the next instructions, make sure Airavata Server is up and running XBaya GUI is launched and Airavata Registry is configured from XBaya. Instructions are provided at [Quick Start Tutorials][quickstart] introduction Page.
 
-  	- After adding registry successfully, you will see a Host Desciption Register form. Give name and address of the
-  	  host. Use following values for the parameter values.
-  	<table border="1">
-        <tr>
-            <td><b>Host ID</b></td>
-            <td>LocalHost</td>
-        </tr>
-        <tr>
-            <td><b>Host Address</b></td>
-            <td>127.0.0.1</td>
-        </tr>
-        <tr>
-            <td><b>Resource Protocol</b></td>
-            <td>Local</td>
-        </tr>
-    </table>
+### Register a simple application
 
-	- Second, we will register a Service Description using menu XBaya -> Register Application.
-	  This information is used to describe our web service i.e. service name, input parameters, and output parameters.
-	  Since our echo.sh need String as an input and will produce String as output, insert the following value.
-	  Note*: output parameter name must be echo_output in order to use with this echo.sh sample.
+* Register a simple command line application with Airavata Registry.
+  * Click on XBaya -> Register Application.
+  * Describe the application inputs and outputs. As an example, a simple command line `/bin/echo` can be used for helloworld purposes.
+  * Provide a name for the application.
+  * Click on the panel with "Application Paramaters" and add input and output paremeters. For an example like /bin/echo, choose output as StdOut.
+  * Example parameters
     <table border="1">
         <tr>
             <th><b>IO</b></th>
@@ -104,15 +48,17 @@ register this application and wrap it as
         <tr>
             <td>Output</td>
             <td>echo_output</td>
-            <td>String</td>
+            <td>StdOut</td>
         </tr>
     </table>
 
-    - Then, click "New Deployment" button. Give a name, an executable location, and a temporary directory to store
-	  runtime data.
-
-	- Select the Application Host from the drop down list. Preferably, select the Host that you already created
-	  from the drop down list and fill in the following values. Then, click the "Add" button.
+* The Parameter Name is mandatory while the Description is optional.
+* The above steps have described the application input output interface to the application. This information will be used to generate the applicate service web service description (WSDL).
+* Next step is to register the deployment of this application. The application can can be deployed anywhere on a local machines, or a batch execution clusters, supercomputers, grids or clouds. For this tutorial we will use local host to illustrate the concept. 
+	* Click "New Deployment" button and choose localhost. 
+	* Provide the executable location, for echo example it will be /bin/echo. You can try other simple unix examples like /bin/date, /bin/hostname. Any command line executable can be wrapped as a application service.
+	* Provide a temporary directory like /tmp. Each invocation of the workflow will create a unique working directory within this temporary location. For advanced applications this directory is used to stage inputs and use as working directory for generated outputs.
+	* Examples values for a local host application deployment
     <table border="1">
         <tr>
             <td><b>Application Host</b></td>
@@ -120,7 +66,7 @@ register this application and wrap it as
         </tr>
         <tr>
             <td><b>Executable path</b></td>
-            <td>AIRAVATA_HOME/samples/echo.sh</td>
+            <td>/bin/echo</td>
         </tr>
         <tr>
             <td><b>Scratch working directory</b></td>
@@ -128,25 +74,37 @@ register this application and wrap it as
         </tr>
     </table>
 
-    - Lastly, click the "Register" button to register the application.
+    * Click "Add" finish the aplication deployment.
+    * Click "Register" to finisg application registration.
 
-5. Now you have the EchoApplication in the Registry. The next step is to add the registered description as a component
-in an XBaya workflow and use it to compose a workflow. For a simple workflow composing, please refer to
-airavata-in-5-minutes tutorial. After you register your Application, you will see EchoApplication item coming under JCR
-Component menu.
-<br></br>
+### Construct a simple workflow
 
-6. Now, it's time to invoke the workflow created in Step 5. To invoke this workflow click on Run -> Run workflow or
-just click on red play icon at the top of   menu then it will popup a dialog box which you need to provide your input
-Value (Notification topic and GFac URL will work with default values). Fill up the Input Value with the given XML
-content you can see in the below screenshot.
-<br></br>
+* The command line application registered in the previous steps is now registered with the Airavata Registry.  Now you have the EchoApplication in the Registry. 
+* Right Click on the "Application Services" drop down (in left pane) and click Refresh Registry.
+* Create a new workflow: XBaya -> New -> Workflow so you will see a new workflow panel loaded into XBaya.
+* Drag drop the newly created application service into the worklfow pane. 
+* Drag drop the Input and Output ports from Components -> System Components
+* Connect the application services to inputs and outputs. 
+
+### Execute and monitor the workflow
+
+*	Launch the workflow constructed in previous steps.
+
+    - Run the workflow by clicking `Run` -> `Run workflow...`<br> Or just click on the red play icon at the top panel of XBaya.
+	- Specify the input value a string to greet and a experiment name.
+	- The Workflow Interpreter and and GFac URL can be left with default values.
+	- Click OK to launch this worklow
+
+* The workflow will now launch and the **Monitoring** view at the bottom of XBaya will show you the progress of the workflow execution.
+
+* In this quick examples, the node color pretty quickly. But for long running applications and complex workflows, the node changes color from "orange" for not yet launced, to "green" for running and "grey for done". If the application fails, it is indicated by "red" color.
 
-7. Now you have invoked the workflow and you will direct in to the Monitoring menu at the bottom of XBaya which will
-show you the progress of the workflow invocation.
+* The example screen shot illustrates a sample progress of the worklow execution:
 <br></br>
-![12](/documentation/system/airavata-in-10-minutes/11.png)
+![12](/documentation/tutorials/airavata-in-10-minutes/11.png)
 <br></br>
 
+* The steps can be repeated to register more command line appications and create simple workflows. The [Workflow Samples][workflow-samples] page describes some of these workflows.
 
-  [1]: ../../development/build.html
+[quickstart]: /documentation/quickstart-tutorials.html
+[workflow-samples]: /documentation/tutorials/advanced-workflow-samples.html

Copied: airavata/site/trunk/content/documentation/tutorials/airavata-in-5-minutes.mdtext (from r1438906, airavata/site/trunk/content/documentation/system/airavata-in-5-minutes.mdtext)
URL: http://svn.apache.org/viewvc/airavata/site/trunk/content/documentation/tutorials/airavata-in-5-minutes.mdtext?p2=airavata/site/trunk/content/documentation/tutorials/airavata-in-5-minutes.mdtext&p1=airavata/site/trunk/content/documentation/system/airavata-in-5-minutes.mdtext&r1=1438906&r2=1439009&rev=1439009&view=diff
==============================================================================
--- airavata/site/trunk/content/documentation/system/airavata-in-5-minutes.mdtext (original)
+++ airavata/site/trunk/content/documentation/tutorials/airavata-in-5-minutes.mdtext Sun Jan 27 01:01:05 2013
@@ -16,100 +16,17 @@ Notice:    Licensed to the Apache Softwa
            specific language governing permissions and limitations
            under the License.
 
-The purpose of this tutorial is to give a basic understanding of how Airavata works. For a more advanced understanding please refer the [10 minute](airavata-in-10-minutes.html) tutorial.
+### Introduction
 
-##Introduction
- 
-This tutorial will explain how to use Airavata to invoke a simple Web Service by creating a workflow. 
-
-##Prerequisites
-<table>
-    <tr>
-        <td width="100"><b>Airavata</b></td>
-        <td>0.1 or later</td>
-    </tr>
-    <tr>
-        <td><b>OS</b></td>
-    	<td>Linux or Mac Prefered</td>
-    </tr>
-    <tr>
-        <td><b>Java</b></td>
-    	<td>1.6 or higher</td>
-    </tr>
-</table>
-
-##Outline
-
-The Tutorial is divided into 3 simple sections:<br>
-	-	Setting up Environment<br>
-	-	Creating XBaya Workflows<br>
-	-	Executing & Monitoring XBaya Workflows
-
-###Setting Up Environment
-<p name="section1"/>
-
-  1. If JAVA_HOME is not already set, please set it.
-    - Examples:
-        - export JAVA_HOME=/home/user/installations/jdk1.6.0_27
-        - export PATH=$JAVA_HOME/bin/
-
-###Download binaries or build from source 
-<p name="section1"/>
-  
-   1. You can download the binaries from [Downloads Page][download]/Release Vote threads, or [build airavata from source][build].
-      * If you have built from source then the binaries will be in modules/distribution directory. Please look into appropriate target directory of airavata-client, airavata-server or xbaya-gui
-      * If you are using Windows + Cygwin you need to set permissions on some files 
-      
-  2. Extract the Airavata Server binary distribution (refering in following instructions as  `AIRAVATA_SERVER_HOME`). The directory name is typically apache-airavata-server-$version.
-  
-  3. Extract the Airavata XBaya GUI binary distribution (refering in following instructions as  `AIRAVATA_XBAYA_HOME`). The directory name is typically apache-airavata-xbaya-gui-$version.
-  
-  3. Change persmisisons of shell scripts on both server and xbaya-gui bin directories
- 	* "chmod 755 bin/*.sh"
-    * For windows, there are bat scripts
-
-###Start Airavata Server and Luanch GUI 
-<p name="section1"/>
-        
-  1. For quick start purposes, Airavata server is distributed as a standalone server. The server starts up by defualt on port 8080. 
-    * `$ AIRAVATA_SERVER_HOME/bin/airavata-server.sh` 
-  2. Launch Airavata XBaya GUI 
-	* `$ AIRAVATA_XBAYA_HOME/bin/xbaya-gui.sh`
-
-**The binary distribution bundles a simple math service to a get a feel for Airavata and run a helloworld style example. The tutorial intended to demonstrate construction, execution and monitoring of a workflow using this simple service.**
-
-###Construct a simple workflow 
-<p name="section2"/>
-
-1.	Configure XBaya GUI to use the Airavata repository.
-	- From the main menu select: `Registry` -> `Setup Airavata Registry`
-	- If you are using the default derby database as your registry from Airavata use the following information,
-  	<table border="1">
-  		<tr>
-  			<td><b>URL</b></td>
-  			<td>http://localhost:8080/airavata-registry/api</td>
-  		</tr>
-  		 <tr>
-  			<td><b>Gateway</b></td>
-  			<td>defualt</td>
-  		</tr>
-  		 <tr>
-  			<td><b>Gateway</b></td>
-  			<td>defualt</td>
-  		</tr>
-  		<tr>
-  			<td><b>Username</b></td>
-  			<td>admin</td>
-  		</tr>
-  		<tr>
-  			<td><b>Password</b></td>
-  			<td>admin</td>
-  		</tr>
-  	</table>
+The binary distribution bundles a simple math service to a get a feel for Airavata and run a helloworld style example. The tutorial intended to demonstrate construction, execution and monitoring of a workflow using this simple service.
 
-    - This step will only succeed if you have previously started the Airavata Server. If it fails, please verify the server is up and running on port 8080.
+### Start Airavata Server and Launch GUI
 
-2.	Import the pre-registered simple-math-service workflow from registry.
+Before following the next instructions, make sure Airavata Server is up and running XBaya GUI is launched and Airavata Registry is configured from XBaya. Instructions are provided at [Quick Start Tutorials][quickstart] introduction Page.
+
+### Construct a simple workflow
+
+* Import the pre-registered simple-math-service workflow from registry.
 	- From the main menu select:
 	    - `XBaya` -> `Import` -> `WSDL from URL...`
 	- Specify the WSDL URL as follows:
@@ -117,7 +34,7 @@ The Tutorial is divided into 3 simple se
 	- If the WSDL was successfully added you will see another Component in Left Side Components view. Expand the new Component
 	  until you see the available operations for SimpleMathServcie.
 
-3.	Construct a simple workflow.
+*	Construct a simple workflow.
 	
 	- First create a new workflow from XBaya -> New -> Workflow so you will see a new workflow panel loaded into XBaya.
 	- Create a workflow to invoke the greet method in SimpleMathServcie.
@@ -126,25 +43,22 @@ The Tutorial is divided into 3 simple se
 		-	`Components` -> `System Components` -> `Input`
 		-	`Components` -> `System Components` -> `Output`
 	- Connect the added components as shown in the figure
-	![11](/documentation/system/9.png)
+	![11](/documentation/tutorials/9.png)
     - You have now successfully created a workflow to invoke the greet operation in the SimpleMathService.
 
 
-###Executing & Monitoring a Workflow
+### Executing & Monitoring a Workflow
 
-4.	Launch the workflow constructed in previosu steps.
+*	Launch the workflow constructed in previous steps.
 
     - Run the workflow by clicking `Run` -> `Run workflow...`<br> Or just click on the red play icon at the top panel of XBaya.
 	- Specify the input value a string to greet and a experiment name.
 	- The Workflow Interpreter and and GFac URL can be left with default values.
 	- Click OK to launch this worklow
 
-5. The workflow will now launch and the **Monitoring** view at the bottom of XBaya will show you the progress of the workflow execution.<br>
-
-6. The steps can be repeated to constructed to create simple workflows for other methods (add, substract and multiply) in the simple math service. 
+* The workflow will now launch and the **Monitoring** view at the bottom of XBaya will show you the progress of the workflow execution.
 
-** This simple tutorial is to demonstrate the use of pre-registered services and construct simple worklfows. Airavata allows easy creation of such application services, the [Airavata in 10 minutes tutorial][10minute] will demonstrate such an example.
+* The steps can be repeated to constructed to create simple workflows for other methods (add, substract and multiply) in the simple math service. The [Workflow Samples][workflow-samples] page describes some of these workflows.
 
-[download]: /about/downloads.html
-[build]: /development/build.html
-[10minute]: /documentation/system/airavata-in-10-minutes.html
+[quickstart]: /documentation/quickstart-tutorials.html
+[workflow-samples]: /documentation/tutorials/advanced-workflow-samples.html

Modified: airavata/site/trunk/content/documentation/workflow/xbaya.mdtext
URL: http://svn.apache.org/viewvc/airavata/site/trunk/content/documentation/workflow/xbaya.mdtext?rev=1439009&r1=1439008&r2=1439009&view=diff
==============================================================================
--- airavata/site/trunk/content/documentation/workflow/xbaya.mdtext (original)
+++ airavata/site/trunk/content/documentation/workflow/xbaya.mdtext Sun Jan 27 01:01:05 2013
@@ -25,4 +25,4 @@ short-lived workflows and debugging.
 See also,<br>
 
 * Whats there in the [XBaya menu](/documentation/xbaya/xbaya_menues.html)?
-* How to [create & execute a simple workflow](/documentation/system/airavata-in-5-minutes.html) from XBaya? 
\ No newline at end of file
+* How to [create & execute a simple workflow](/documentation/tutorials/airavata-in-5-minutes.html) from XBaya? 
\ No newline at end of file

Modified: airavata/site/trunk/templates/sidenav.mdtext
URL: http://svn.apache.org/viewvc/airavata/site/trunk/templates/sidenav.mdtext?rev=1439009&r1=1439008&r2=1439009&view=diff
==============================================================================
--- airavata/site/trunk/templates/sidenav.mdtext (original)
+++ airavata/site/trunk/templates/sidenav.mdtext Sun Jan 27 01:01:05 2013
@@ -20,7 +20,6 @@
   - [Architecture](/architecture/overview.html)
   - [Airavata Stakeholders](/architecture/airavata-stakeholders.html)
   - [Quickstart Tutorials](/documentation/quickstart-tutorials.html)
-  - [Advanced Tutorials](/documentation/system/advanced-workflow-samples.html)
 
 # Community