X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=website%2Fman_configuration.html;h=f5348ecf8a67f4158da3938c04fd9252fc50aeff;hb=6338c0cebe13936bde3d3d2cbe6aca0c8f82f5f4;hp=77a873ced38f77fa9283fbd6e4b2a411bdeefe2f;hpb=e7bf02d1c203bc8d88b9095e89d5ca6cce21a882;p=jabaws.git diff --git a/website/man_configuration.html b/website/man_configuration.html index 77a873c..f5348ec 100644 --- a/website/man_configuration.html +++ b/website/man_configuration.html @@ -16,7 +16,7 @@ @@ -48,7 +50,7 @@

JABAWS MANUAL

-

JABAWS Configuration

+

JABAWS Server Configuration

JABAWS Configuration

There are three parts of the system you can configure. The local @@ -206,7 +208,7 @@ can access and execute them.

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

@@ -256,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) @@ -351,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 @@ -388,9 +403,19 @@ class="hightlight">log4j.properties and uncomment section of images referenced by html pages +

JABAWS and Google Analytics

+

JABAWS reports web services usage to our group Google Analytics (GA) account. JABAWS usage statistics are collected for funding and reporting purposes, and no private information is collected. The data sent by JABAWS is as follows:

+
    +
  1. The IP address of the JABAWS server machine (the server IP can anonymized see conf/GA.properties config file)
  2. +
  3. The name of the web service that was called.
  4. +
  5. A few details of the system such as JABAWS version, java version, user language, color depth, screen + resolution and character encoding.
  6. +
+

Google Analytics can be disabled or adjusted by removing/editing conf/GA.properties Google Analytics (GA) settings file. We would appreciate it greatly if you could leave it on!

+

All calls to GA are very lightweight, completed asynchronously, create very little overhead and do not influence the server response time or performance.

-