From: pvtroshin
Date: Fri, 16 Sep 2011 14:39:42 +0000 (+0000)
Subject: web site update new pages for awss beanstalk deployment
X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=a2cffcf92327725d8fc8abfd49d032176be4e86a;p=jabaws.git
web site update new pages for awss beanstalk deployment
git-svn-id: link to svn.lifesci.dundee.ac.uk/svn/barton/ptroshin/JABA2@4591 e3abac25-378b-4346-85de-24260fe3988d
---
diff --git a/website/contacts.html b/website/contacts.html
index 6ef67db..faee9ad 100644
--- a/website/contacts.html
+++ b/website/contacts.html
@@ -29,8 +29,9 @@ page
Getting StartedManualDownload
-Contact UsUsage Statistics
+Services Status
+Contact UsBarton Group
@@ -51,7 +52,7 @@ page
-
Last update: 10 August 2011
+
Last update: 16 September 2011
Peter Troshin and Geoff Barton, The Barton Group, University of
Dundee, UK
diff --git a/website/develhome.html b/website/develhome.html
index eeca0f2..1f19b3a 100644
--- a/website/develhome.html
+++ b/website/develhome.html
@@ -109,7 +109,8 @@ Several testing groups are supported:
JABAWS are the standard JAX-WS web services, which are WS-I basic profile compatible.
-
Last update: 19 August 2010 Peter Troshin, The Barton Group, University of Dundee, UK
+
Last update: 16 September 2011
+ Peter Troshin, The Barton Group, University of Dundee, UK
To use JABA Web Services on most operating systems, just download and install the JABAWS Virtual Appliance (VA) or even easier - just start JABAWS machine on the cloud and point Jalview at it!
Last update: 16 September 2011
This site is best viewed in Firefox 3.6, Google Chrome 10, Internet Explorer 8 or above
diff --git a/website/man_about.html b/website/man_about.html
index 8532f8c..e26dbdf 100644
--- a/website/man_about.html
+++ b/website/man_about.html
@@ -38,8 +38,9 @@
JABAWS DevelopmentDownload
- Contact UsUsage Statistics
+ Services Status
+ Contact UsBarton Group
@@ -117,7 +118,7 @@ but in addition, offers some additional methods which simplify working with JABA
-
Last update: 10 August 2011
+
Last update: 16 September 2011
Peter Troshin, Jim Procter and Geoff Barton, The Barton Group, University of Dundee, UK
Go to the "Community AMI" tab and search for JABAWS, then click select.
-
-
Choose the "hardware" for your JABAWS server instance. "Large" instance should be sufficient for a single user needs. If you are planning to use this instance as a server for the lab, you may want to select a more powerful machine. Once you have chosen the hardware click continue.
-
-
-
-
You should not need to customize anything on this page, continue to the next.
-
-
-
-
At the "Create a key pair" step, choose "Proceed without a key pair" unless you want to access JABAWS server via SSH.
-
-
-
Create a new security group with a single HTTP (80) port as shown below. You may want to add SSH (22) port if you are planning to manage your instance via SSH. For starting/stopping your JABAWS instance SSH is not necessary, you can do this from the Amazon Webservices Console (AWS).
-
-
-
Review the configuration and launch the instance, then click "view your instances on the Instances page".
-
-
At this point you should have JABAWS instance up and running. Your AWS console should look something like this:
-
-
Now you can consume JABAWS web services by accessing the public DNS address of your JABAWS server instance. For instance, to register it with Jalview, just add the new JABAWS web server. Prefix your instance public DNS address with http:// e.g. type: http://<public DNS>. The JABAWS instance on the screenshot can be accessed on http://ec2-46-137-50-196.eu-west-1.compute.amazonaws.com.
-
-
If you need to run JABAWS for large organization you might want to configure load balancer and auto scaling. Please get in contact with us if you are interested in exploring such configurations.
-
-
+
If you know what to do than JABAWS AMI ID is ami-40fecd34, manifest 846107356395/JABAWS2 to get you started, if not please refer to How to use JABAWS on the Amazon EC2 cloud pages.
+
Alternatively you can use JABAWS on the Amazon Elastic BeanStalk. You may want to use this option to deploy JABAWS in the cluster configuration.
+
+
-
-
Last update: 10 August 2011
+
Last update: 16 September 2011
Peter Troshin, Jim Procter and Geoff Barton, The Barton Group, University of
Dundee, UK
diff --git a/website/man_awscloud_bs.html b/website/man_awscloud_bs.html
new file mode 100644
index 0000000..44180fb
--- /dev/null
+++ b/website/man_awscloud_bs.html
@@ -0,0 +1,100 @@
+
+
+
+
+
+Java Bioinformatics Analyses Web Services (JABAWS) Server Virtual Appliance Manual
+
+
+
+
+
+
+
Go to the "Community AMI" tab and search for JABAWS, then click select.
+
+
Choose the "hardware" for your JABAWS server instance. "Large" instance should be sufficient for a single user needs. If you are planning to use this instance as a server for the lab, you may want to select a more powerful machine. Once you have chosen the hardware click continue.
+
+
+
+
You should not need to customize anything on this page, continue to the next.
+
+
+
+
At the "Create a key pair" step, choose "Proceed without a key pair" unless you want to access JABAWS server via SSH.
+
+
+
Create a new security group with a single HTTP (80) port as shown below. You may want to add SSH (22) port if you are planning to manage your instance via SSH. For starting/stopping your JABAWS instance SSH is not necessary, you can do this from the Amazon Webservices Console (AWS).
+
+
+
Review the configuration and launch the instance, then click "view your instances on the Instances page".
+
+
At this point you should have JABAWS instance up and running. Your AWS console should look something like this:
+
+
Now you can consume JABAWS web services by accessing the public DNS address of your JABAWS server instance. For instance, to register it with Jalview, just add the new JABAWS web server. Prefix your instance public DNS address with http:// e.g. type: http://<public DNS>. The JABAWS instance on the screenshot can be accessed on http://ec2-46-137-50-196.eu-west-1.compute.amazonaws.com.
+
+
If you need to run JABAWS for large organization you might want to configure load balancer and auto scaling. Please get in contact with us if you are interested in exploring such configurations.
+
+
+
+
+
Last update: 16 September 2011
+ Peter Troshin, Jim Procter and Geoff Barton, The Barton Group, University of
+Dundee, UK
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/website/man_client.html b/website/man_client.html
index a0b7862..7b106bc 100644
--- a/website/man_client.html
+++ b/website/man_client.html
@@ -40,8 +40,9 @@
JABAWS DevelopmentDownload
-Contact UsUsage Statistics
+Services Status
+Contact UsBarton Group
@@ -91,7 +92,7 @@ Please note that -r and -f options cannot be used together. Alignment is done wi
-
Last update: 10 August 2011
+
Last update: 16 September 2011
Peter Troshin, Jim Procter and Geoff Barton, The Barton Group, University of
Dundee, UK
just pass whatever is specified in this line directly to the
cluster submission library. This is how DRMAA itself treats this
settings. More exactly DRMAA JobTemplate.setNativeSpecification() function will be called.
-
+
For further details and examples of configuration please refer to the Executable.properties file supplied with JABAWS.
Defining Environment Variables for
Executables
@@ -257,13 +258,14 @@ defined in Limiting the size of the job accepted by JABAWS
JABAWS can be configured to reject excessively large tasks. This is useful if you operate JABAWS service for many users. By defining a maximum allowed task size you can provide an even service for all users and prevents waist of resources on the tasks too large to complete successfully. You can define the maximum number of sequences and the maximum average sequence length that JABAWS accepts for each JABA Web Service independently.
Furthermore, you can define different limits for different presets of the same web service.
-By default limits are set well in excess of what you may want to offer to the users outside your lab, to make sure that the tasks are never rejected. The default limit is 100000 sequences of 100000 letters on average for all of the JABA web services. You can adjust the limits according to your needs by editing conf/settings/<X>Limit.xml files.
+By default limits are disabled. You can enable them by editing conf/Executable.properties file. You can adjust the limits according to your needs by editing conf/settings/<X>Limit.xml files.
Using a different version of the alignment program with JABAWS
JABAWS supplied with binaries and source code of the executables which version it supports. So normally you would not need to install your own executables. However, if you have a different version of an executable (e.g. an alignment program) which you prefer, you could use it as long as it supports all the functions JABAWS executable supported. This could be the case with more recent executable. If the options supported by your chosen executable is different when the standard JABAWS executable, than you need to edit ExecutableNameParamaters.xml configuration file.
Load balancing
If your cluster is busy and have significant waiting times you can achieve a faster response by allowing the server machine to calculate small tasks and the reserve the cluster for bigger jobs. This works especially well if your server is a powerful machine with many CPUs. To do this you need to enable and configure both the cluster and the local engines. Once this is done decide on the maximum size of a task to be run on the server locally. Then, edit "# LocalEngineExecutionLimit #" preset in <ServiceName>Limits.xml file accordingly. JABAWS server then will balance the load according to the following rule: If the task size is smaller then the maximum task size for local engine, and the local engine has idle threads, then calculate task locally otherwise submit the task to the cluster.
Testing JABA Web Services
-
You can use a command line client (part of the client only
+
Access <your_JABAWS_server_URL>/ServiceStatus to test all web services. Each time you access this URL, all services are tested. You can test a particular web service by adding its name at the end of this URL. For example http://localhost:8080/jabaws/ServiceStatus/MuscleWS will test MuscleWS webservice only. For production configuration we recommend prohibiting requests to this URL for non authenticated users to prevent excessive load on the server.
+
Alternatively, you can use a command line client (part of the client only
package) to test your JABAWS installation as described here. If you downloaded a JABAWS
server package, you can use <your_jaba_context_name>/WEB-INF/lib/jaba-client.jar to test JABAWS installation as described in log4j.properties
and uncomment section of
name of the executable
+
ExecutionStatistics
+
The database for storing the execution statistics.
+
+
+
statpages
+
Web pages for usage statistics visialization and webservices status queries.
+
+
jobsout/
Contains directories generated when running an individual executable. E.g. input and output files and some other task
related data. (optional)
@@ -352,6 +362,10 @@ class="hightlight">log4j.properties and uncomment section of
binaries.
+
binaries/windows
+
Contains binaries for MS Windows operating system.
+
+
binaries/matrices
Substitution matrices
@@ -391,7 +405,7 @@ class="hightlight">log4j.properties and uncomment section of
-
Last update: 10 August 2011
+
Last update: 16 September 2011
Peter Troshin, Jim Procter and Geoff Barton, The Barton Group, University of
Dundee, UK
diff --git a/website/man_dev.html b/website/man_dev.html
index f5c087c..5180eec 100644
--- a/website/man_dev.html
+++ b/website/man_dev.html
@@ -40,8 +40,9 @@
JABAWS DevelopmentDownload
-Contact UsUsage Statistics
+Services Status
+Contact UsBarton Group
@@ -353,7 +354,7 @@ For a more detailed description of all available types and their functions pleas
-
Last update: 10 August 2011
+
Last update: 16 September 2011
Peter Troshin, Jim Procter and Geoff Barton, The Barton Group, University of
Dundee, UK
Last update: 16 September 2011
Peter Troshin, The Barton Group, University of Dundee, UK
diff --git a/website/man_servervm.html b/website/man_servervm.html
index 952d716..53391de 100644
--- a/website/man_servervm.html
+++ b/website/man_servervm.html
@@ -40,8 +40,9 @@
JABAWS DevelopmentDownload
-Contact UsUsage Statistics
+Services Status
+Contact UsBarton Group
@@ -138,7 +139,7 @@ but for most production environments, the JABAWS WAR distribution will be easie
-
Last update: 10 August 2011
+
Last update: 16 September 2011
Peter Troshin, Jim Procter and Geoff Barton, The Barton Group, University of
Dundee, UK
Before the binaries that are bundled with JABAWS can be used,
-they must first be made executable using the provided 'setexecflag.sh' script:
-
-
-
cd to <webapplicationpath>/binaries/src
-
-
run sh setexecflag.sh
-
-
Make sure binaries supplied work under your OS.
- For this run each binary, without any command line options or
+
JABAWS comes with pre-compiled x86 Linux binaries, thus on such systems JABAWS should work straight out of the box. If you are in any doubts or experience problems you may want to make sure that the binaries supplied work under your OS. To do this just execute each binary, without any command line options or
input files. If you see an error message complaining about missing
libraries or other problems, then you probably need to recompile the binaries.
-
-
Restart the Tomcat.
-
+"#recompbinaries">recompile the binaries.
-That's it! JABAWS should work at this point. Try it out using the JABAWS test client. If not,
-read on... or have a look at deploying on Tomcat tips.
+You can try the JABAWS functionality with the JABAWS test client or have a look at deploying on Tomcat tips if you experience any problems. Note: You may want to enable logging, as described here.
@@ -204,7 +190,8 @@ modify the paths in IUPred (Linux x86 | x64 | Mac)
Testing JABAWS Server
-
First of all make sure that Tomcat server is started successfully. If this was the case, then you should see JABAWS home page when you navigate to your Tomcat JABAWS context path e.g. http://myhost.compbio.ac.uk:8080/jabawsIf you see it, then it is time to make sure that web services are working too. Assuming that you have unpacked/deployed JABAWS from the server war file, you should be able to navigate to the test program which can be found in <webapplicationpath>/WEB-INF/lib/jabaws-client.jar file. To run the tests type: java -jar jabaws-client.jar -h=<Your web application server host name, port and JABAWS context path>
+
First of all make sure that Tomcat server is started successfully. If this was the case, then you should see JABAWS home page when you navigate to your Tomcat JABAWS context path e.g. http://myhost.compbio.ac.uk:8080/jabawsIf you see it, then it is time to make sure that web services are working too. The easiest way to do so is to access ServiceStatus web page.
+
Alternatively, you should be able to use the test program which can be found in <webapplicationpath>/WEB-INF/lib/jabaws-client.jar file. To run the tests type: java -jar jabaws-client.jar -h=<Your web application server host name, port and JABAWS context path>
For example to test all JABAWS web services on host myhost.compbio.ac.uk type:
You can choose a particular web server using -s option like this java -jar jabaws-client.jar -h=http://myhost.compbio.ac.uk:8080/jabaws -s=ClustalWS This command line assumes that java executable is in your path and jabaws-client.jar is located in the current directory.
@@ -245,7 +232,7 @@ modify the paths in
-
Last update: 1 August 2011
+
Last update: 16 September 2011
Peter Troshin, Jim Procter and Geoff Barton, The Barton Group, University of
Dundee, UK
To check that your JABAWS virtual appliance is working visit the Services Status page available from the main JABAWS menu. For this enter the JABAWS URL for your new server into a web browser. This is shown once the appliance is booted up.
+
Alternatively you can use Jalview to complete the testing.
Open the Jalview desktop's preferences panel (from the Tools->Preferences menu option), select the Webservices panel and press the New Service URL button.
Enter the JABAWS URL for your new server. This is shown once the appliance is booted up.
@@ -83,7 +84,7 @@
-
Last update: 1 August 2011
+
Last update: 16 September 2011
Peter Troshin, Jim Procter and Geoff Barton, The Barton Group, University of Dundee, UK
Running JABAWS for my group, lab, or organization on the local infrastructure
@@ -74,24 +75,25 @@
Drop the JABAWS WAR file into tomcat/webapps directory.
(Re)start the Tomcat.
Once the tomcat has started, it should automatically unpack the WAR into the webapps directory (if it doesn't, then you'll need to do this manually, it's just a zip archive in the end).
-
You then need to complete the installation of the executable binaries:
+
You then need to complete the installation of the executable binaries (this is optional if you use 32 bit version of Linux):
If you are on Linux or Mac (OSX intel Mac only) cd to webapps/jabaws/binaries/src/ and execute ./setexecflag.sh script to ensure the JABAWS binaries can be executed.
-
If you are on other unix-like architecture with gnu compilers available or you'd like to get a maximum performance:
-
cd to webapps/jabaws/binaries/src/ and execute ./compilebin.sh script to compile all binaries JABAWS depends on.
-
cd to webapps/jabaws/binaries/src/ and execute ./setexecflag.sh script.
-
+
If you are on other unix-like architecture with gnu compilers available or you'd like to get a maximum performance:
+
cd to webapps/jabaws/binaries/src/ and execute ./compilebin.sh script to compile all binaries JABAWS depends on.
+
cd to webapps/jabaws/binaries/src/ and execute ./setexecflag.sh script.
+
Testing
-
You can test that your JABAWS server is working in two ways.
+
You can test that your JABAWS server is working in several ways.
+
Visit Services Status page available from the main menu using your web browser.
+
If you are working on the command line, then use the command line client shipped with the JABAWS war to test it by running:
-java -jar <Path to tomcat WebApp directory>/jabaws/WEB-INF/lib/jaba-client.jar -h=http://localhost:8080/jabaws
-In this example we assumed that your JABAWS server URL is http://localhost:8080 and JABAWS context path is jabaws
+ java -jar <Path to tomcat WebApp directory>/jabaws/WEB-INF/lib/jaba-client.jar -h=http://localhost:8080/jabaws
+ In this example we assumed that your JABAWS server URL is http://localhost:8080 and JABAWS context path is jabaws
-
Alternately, you can point Jalview at your new server: