awe_service

module
v0.0.0-...-f5fddd7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2014 License: BSD-2-Clause

README

<<<<<<< HEAD awe_service

Enables deployment of AWE server and clients within the kbase release environment.

The following are instructions on how to deploy the AWE service in KBase from launching a fresh KBase instance to starting the service...

  • Create a security group for your AWE server (this isn't required with the test ports in the Makefile but makes it convenient if you want to change those ports later)

  • Using this security group and your key, launch a KBase instance

  • Get the code:
    sudo -s
    cd /kb
    git clone kbase@git.kbase.us:dev_container.git
    cd dev_container/modules
    git clone kbase@git.kbase.us:awe_service.git
    cd awe_service

  • Edit the Makefile if you would like to configure the IP and port numbers for your AWE server.

  • Create a mongo data directory on the mounted drive and symbolic link to point to it:
    (NOTE: mongodb is only required if you are deploying the AWE server, not the client)
    cd /mnt
    mkdir db
    cd /
    mkdir data
    cd data/
    ln -s /mnt/db .

  • Start mongod (preferably in a screen session):
    cd /kb/dev_container
    ./bootstrap /kb/runtime
    source user-env.sh
    mongod

(NOTE: mongod needs a few minutes to start. Once you can run "mongo" from the command line and connect to mongo db, then proceed with deploying AWE)

  • Deploy AWE:
    cd /kb/dev_container
    ./bootstrap /kb/runtime
    source user-env.sh
    make
    make deploy

  • Start/Stop AWE Server:
    /kb/deployment/services/awe_service/start_service
    /kb/deployment/services/awe_service/stop_service

  • After deployment has completed, if you've associated an IP with your instance you should be able to confirm that AWE is running by going to either url below (ports are defined in Makefile prior to deployment):
    site -> http://[AWE Server IP]:7079/
    api -> http://[AWE Server IP]:7080/

  • Start/Stop AWE Client:
    /kb/deployment/services/awe_service/start_aweclient
    /kb/deployment/services/awe_service/stop_aweclient
    (note: before start awe-client, make sure the fields in awe_client.cfg.tt have been configured with proper values by modifying Makefile.)
    ======= AWE =====

About:

AWE is a workflow engine that manages and executes scientific computing workflows or pipelines.

AWE is designed as a distributed system that contains a centralized server and multiple distributed clients. The server receives job submissions and parses jobs into tasks, splits tasks into workunits, and manages workunits in a queue. The AWE clients, running on distributed, heterogeneous computing resources, keep checking out workunits from the server queue and dispatching the workunits on the local computing resources.

AWE uses the Shock data management system to handle input and output data (retrieval, storage, splitting, and merge). AWE uses a RESTful API for communication between AWE components and with outside components such as Shock, the job submitter, and the status monitor.

AWE is actively being developed at github.com/MG-RAST/AWE.

Shock is actively being developed at github.com/MG-RAST/Shock.

Manual:

A detailed manual and API doc of AWE is available at:

http://www.mcs.anl.gov/~wtang/files/awe-manual.pdf

A manual for running a workflow example:

http://www.mcs.anl.gov/~wtang/files/awe-example.pdf

642662df47b8346c57c24873bd6232cb64d72ef2

Directories

Path Synopsis
lib
auth
Package auth implements http request authentication
Package auth implements http request authentication
auth/basic
Package basic implements basic auth decoding and self contained user authentication
Package basic implements basic auth decoding and self contained user authentication
auth/globus
Package globus implements Globus Online Nexus authentication (code is modified from github.com/MG-RAST/Shock/shock-server/auth/globus)
Package globus implements Globus Online Nexus authentication (code is modified from github.com/MG-RAST/Shock/shock-server/auth/globus)
auth/mgrast
Package globus implements MG-RAST OAuth authentication (code is modified from github.com/MG-RAST/Shock/shock-server/auth/mgrast)
Package globus implements MG-RAST OAuth authentication (code is modified from github.com/MG-RAST/Shock/shock-server/auth/mgrast)
db
Package db to connect to mongodb
Package db to connect to mongodb
httpclient
this package contains modified code based on following github repo: https://github.com/jaredwilkening/httpclient
this package contains modified code based on following github repo: https://github.com/jaredwilkening/httpclient

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL