airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r848070 - in /websites/staging/airavata/trunk/content: ./ documentation/system/airavata-in-5-minutes.html
Date Sat, 26 Jan 2013 16:07:41 GMT
Author: buildbot
Date: Sat Jan 26 16:07:41 2013
New Revision: 848070

Log:
Staging update by buildbot for airavata

Modified:
    websites/staging/airavata/trunk/content/   (props changed)
    websites/staging/airavata/trunk/content/documentation/system/airavata-in-5-minutes.html

Propchange: websites/staging/airavata/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sat Jan 26 16:07:41 2013
@@ -1 +1 @@
-1438821
+1438906

Modified: websites/staging/airavata/trunk/content/documentation/system/airavata-in-5-minutes.html
==============================================================================
--- websites/staging/airavata/trunk/content/documentation/system/airavata-in-5-minutes.html
(original)
+++ websites/staging/airavata/trunk/content/documentation/system/airavata-in-5-minutes.html
Sat Jan 26 16:07:41 2013
@@ -115,44 +115,78 @@
 <p name="section1"/>
 
 <ol>
-<li><a href="../../development/build.html">Build from source</a> or download
a binary distribution</li>
-<li>If JAVA_HOME is not already set;<ul>
-<li>add/modify following entries in ~/.bashrc file.<ul>
+<li>If JAVA_HOME is not already set, please set it.<ul>
+<li>Examples:<ul>
 <li>export JAVA_HOME=/home/user/installations/jdk1.6.0_27</li>
 <li>export PATH=$JAVA_HOME/bin/</li>
 </ul>
 </li>
 </ul>
 </li>
-<li>Extract the Airavata binary distribution to some path in the file system (say <code>AIRAVATA_HOME</code>)<ol>
-<li>If you built from source then your binary is in modules/distribution/target</li>
-<li>If you are using Windows + Cygwin you need to set permissions on some files with
"chmod 755 bin/*.sh"<ul>
-<li>we provide bat scripts for the following actions as well.</li>
+</ol>
+<h3 id="download-binaries-or-build-from-source">Download binaries or build from source</h3>
+<p name="section1"/>
+
+<ol>
+<li>
+<p>You can download the binaries from <a href="/about/downloads.html">Downloads
Page</a>/Release Vote threads, or <a href="/development/build.html">build airavata
from source</a>.</p>
+<ul>
+<li>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</li>
+<li>If you are using Windows + Cygwin you need to set permissions on some files </li>
+</ul>
+</li>
+<li>
+<p>Extract the Airavata Server binary distribution (refering in following instructions
as  <code>AIRAVATA_SERVER_HOME</code>). The directory name is typically apache-airavata-server-$version.</p>
+</li>
+<li>
+<p>Extract the Airavata XBaya GUI binary distribution (refering in following instructions
as  <code>AIRAVATA_XBAYA_HOME</code>). The directory name is typically apache-airavata-xbaya-gui-$version.</p>
+</li>
+<li>
+<p>Change persmisisons of shell scripts on both server and xbaya-gui bin directories</p>
+<ul>
+<li>"chmod 755 bin/*.sh"</li>
+<li>For windows, there are bat scripts</li>
 </ul>
 </li>
 </ol>
+<h3 id="start-airavata-server-and-luanch-gui">Start Airavata Server and Luanch GUI</h3>
+<p name="section1"/>
+
+<ol>
+<li>For quick start purposes, Airavata server is distributed as a standalone server.
The server starts up by defualt on port 8080. <ul>
+<li><code>$ AIRAVATA_SERVER_HOME/bin/airavata-server.sh</code> </li>
+</ul>
 </li>
-<li>Start airavata:<br><ul>
-<li>Start SimpleAxis2Server on port 8080<br>
-        <code>$ AIRAVATA_HOME/bin/airavata-server.sh</code> </li>
-<li>Start XBaya<br>
-        <code>$ AIRAVATA_HOME/bin/xbaya-gui.sh</code></li>
+<li>Launch Airavata XBaya GUI <ul>
+<li><code>$ AIRAVATA_XBAYA_HOME/bin/xbaya-gui.sh</code></li>
 </ul>
 </li>
 </ol>
-<p><em>The SimpleAxis2Server will expose <strong>SimpleMathServcie</strong>.
We will invoke this service in our XBaya workflow.</em></p>
-<h3 id="creating-xbaya-workflows">Creating XBaya Workflows</h3>
+<p><strong>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.</strong></p>
+<h3 id="construct-a-simple-workflow">Construct a simple workflow</h3>
 <p name="section2"/>
 
 <ol>
 <li>
-<p>Configure XBaya to use the Airavata repository.</p>
+<p>Configure XBaya GUI to use the Airavata repository.</p>
 <ul>
 <li>From the main menu select: <code>Registry</code> -&gt; <code>Setup
Airavata Registry</code></li>
 <li>
 <p>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>
@@ -163,12 +197,12 @@
 </table></p>
 </li>
 <li>
-<p>You will notice a new Component (Application Services) added in Components view
(located in left side of XBaya window).</p>
+<p>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.</p>
 </li>
 </ul>
 </li>
 <li>
-<p>Make XBaya aware of simple-math-service.</p>
+<p>Import the pre-registered simple-math-service workflow from registry.</p>
 <ul>
 <li>From the main menu select:<ul>
 <li><code>XBaya</code> -&gt; <code>Import</code> -&gt;
<code>WSDL from URL...</code></li>
@@ -178,15 +212,15 @@
 <li><code>http://gw8.quarry.iu.teragrid.org:8090/axis2-samples/services/SimpleMathService?wsdl</code></li>
 </ul>
 </li>
-<li>If the WSDL was successfully added you will see another Component in Components
view. Expand the new Component
+<li>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.</li>
 </ul>
 </li>
 <li>
-<p>Create the workflow.</p>
+<p>Construct a simple workflow.</p>
 <ul>
-<li>Now create a new workflow from XBaya -&gt; New -&gt; Workflow so you will
get a new workflow sheet in to XBaya.</li>
-<li>In our workflow we will invoke the greet method in SimpleMathServcie.</li>
+<li>First create a new workflow from XBaya -&gt; New -&gt; Workflow so you
will see a new workflow panel loaded into XBaya.</li>
+<li>Create a workflow to invoke the greet method in SimpleMathServcie.</li>
 <li>From Components view select &amp; drag-drop the following in to workflow sheet
in the center of XBaya window.<ul>
 <li>the <code>greet</code> Method</li>
 <li><code>Components</code> -&gt; <code>System Components</code>
-&gt; <code>Input</code></li>
@@ -199,26 +233,25 @@
 </ul>
 </li>
 </ol>
-<h3 id="executing-monitoring-xbaya-workflows">Executing &amp; Monitoring XBaya
Workflows</h3>
-<p name="section3"/>
-
+<h3 id="executing-monitoring-a-workflow">Executing &amp; Monitoring a Workflow</h3>
 <ol>
 <li>
-<p>Now Its time to invoke the workflow.</p>
+<p>Launch the workflow constructed in previosu steps.</p>
 <ul>
-<li>Inorder to invoke, from the main menu select:<ul>
-<li><code>Run</code> -&gt; <code>Run workflow...</code><br>
Or just click on the red play icon at the top of XBaya.</li>
+<li>Run the workflow by clicking <code>Run</code> -&gt; <code>Run
workflow...</code><br> Or just click on the red play icon at the top panel of
XBaya.</li>
+<li>Specify the input value a string to greet and a experiment name.</li>
+<li>The Workflow Interpreter and and GFac URL can be left with default values.</li>
+<li>Click OK to launch this worklow</li>
 </ul>
 </li>
-<li>Specify the input Value (Notification topic and GFac URL will work with default
values).</li>
-<li>Click OK.</li>
-</ul>
+<li>
+<p>The workflow will now launch and the <strong>Monitoring</strong> view
at the bottom of XBaya will show you the progress of the workflow execution.<br></p>
 </li>
 <li>
-<p>Your workflow will now launch and the <strong>Monitoring</strong> view
at the bottom of XBaya will show you the progress of
-   the workflow execution.<br></p>
+<p>The steps can be repeated to constructed to create simple workflows for other methods
(add, substract and multiply) in the simple math service. </p>
 </li>
 </ol>
+<p>** 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
<a href="/documentation/system/airavata-in-10-minutes.html">Airavata in 10 minutes tutorial</a>
will demonstrate such an example.</p>
   </div>
 
   <!--<div id="rightnav">



Mime
View raw message