Public Repository

Last pushed: 2 years ago
Short Description
Airavata Server contains API server, Orchestrator, Derby database etc
Full Description

This repository is based on apache airavata server branch 0.15
This has dependency on rabbitMQ server.
Please follow below instructions to setup airavata server in docker container

#Installing RabbitMQ:

docker pull rabbitmq:3-management
docker run -i -d --name rabbit -p 15672:15672 -t rabbitmq:3-management

To find the rabbit docker's ip address, use the below command

docker inspect --format '{{ .NetworkSettings.IPAddress }}' rabbit

#Installing Airavata Server:

docker pull psaha4/airavata_server
docker run -i -d --name server -t psaha4/airavata_server

It need some manual changes as we have not decided yet how to pass the required variables to the container. Once decided we can replace this with a startup shell scrip.

docker attach server
awk 'NR==1 {print $1}' /etc/hosts ---- note the ip address of the running container
pico airavata-server.properties

Replaces the below text as suggested below

apiserver.server.host= <current containers ip address>
default.registry.gateway=default
rabbitmq.broker.url=amqp://<rabbit MQ's ip address>:5672
save changes.

pico /etc/bash.bashrc

add below lines at the end

JAVA_HOME=/opt/jdk/jdk1.8.0_05

export JAVA_HOME

PATH=$JAVA_HOME/bin:$PATH

export PATH

save changes.

cd /git/airavata/modules/distribution/server/target/apache-airavata-server-0.15-SNAPSHOT/bin
./airavata-server.sh

Once server is running detach the container by below sequence of control buttons.

Ctrl+P Ctrl+Q

Note: don't type exit, this will stop the container.Restarting container will change the containers ip address.

Docker Pull Command
Owner
psaha4