Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id DA758200B74 for ; Thu, 1 Sep 2016 18:45:24 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D8EA4160AB5; Thu, 1 Sep 2016 16:45:24 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D5A7E160AA8 for ; Thu, 1 Sep 2016 18:45:23 +0200 (CEST) Received: (qmail 71535 invoked by uid 500); 1 Sep 2016 16:45:23 -0000 Mailing-List: contact dev-help@airavata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airavata.apache.org Delivered-To: mailing list dev@airavata.apache.org Received: (qmail 71515 invoked by uid 99); 1 Sep 2016 16:45:22 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Sep 2016 16:45:22 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id C5E5C18A135 for ; Thu, 1 Sep 2016 16:45:21 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.298 X-Spam-Level: * X-Spam-Status: No, score=1.298 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=binghamton-edu.20150623.gappssmtp.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 2lifdchBN01D for ; Thu, 1 Sep 2016 16:45:18 +0000 (UTC) Received: from mail-oi0-f43.google.com (mail-oi0-f43.google.com [209.85.218.43]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id C065D5F1EB for ; Thu, 1 Sep 2016 16:45:17 +0000 (UTC) Received: by mail-oi0-f43.google.com with SMTP id l203so124902784oib.1 for ; Thu, 01 Sep 2016 09:45:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=binghamton-edu.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=0DYZtzSBrfd+uozIVimhPYqSiiPjMykdnpg8wco6dfg=; b=Th8OXdG/XEdPv7yAf9J/CbO0IgM0sdVtjPeg1dSE7ZyfPJuGG4P34TkBrVUFkjl0Dr UzfqlhKQzEwXDaSXp5l2GclEHjZ/3yBso3lSg8dJH5Lfwa4T3o7HD7XDase+np1YT2ih 6VNBJokjsTtmTYFKcf2wx02AxnL5wnZF1FUpHliVHM+KqfPewprRqgS2HkQtJE5YNYkk EQIBXLXnbEMUuO8BHnCVC58h6K/mEvFRBDjplWU0UQvnb7/aibU733JDOIdos484Ui5w uCYGCaIkFlhWcpoIikE7RpnICzU0Ts6ME7aqUON1CDZDg3MNd/l7qDdLEB+YZazwZVe7 dBdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=0DYZtzSBrfd+uozIVimhPYqSiiPjMykdnpg8wco6dfg=; b=Um0GpD1PlQetp4XsDR8S/bIMjF8wWsX1jeHsUBYNOd8I5LQuyKpPo1e5lr4DVmFtwO XhYTqUR4J3obl8tIOgjsLtAJRLIkcEWpSqlhUd/+JA7pxGAvLAwz4C5cPvba5mQpiE6o jGIY2pEBgTA2LghnvJD8rc8knXVroS6uf9lQ8E4leK/0GJqKCLsZARGa/eIe0MiJOFdZ xti3s+7iwn+6L7Dh8hd4UeRpE9DOHGxjMJhuwm8Wba727pUR0eB0KE76iH4L7c//PC3S WeZ2FLhdr9FHC/7LbhdmSIFWvd2qKCqmg3EQxQKdvUG6yvePiJ5Q20+BTmGimAUsyNLp 17xg== X-Gm-Message-State: AE9vXwO84yD1oNhZgOibr/msq0iUqx99YZB64pKJjcBVB6G2uJbCGXXD0MJcLoPjlWNXWegf24oOUn5RC8IB3k4a X-Received: by 10.157.22.185 with SMTP id c54mr16668251ote.131.1472748316929; Thu, 01 Sep 2016 09:45:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.170.4 with HTTP; Thu, 1 Sep 2016 09:45:16 -0700 (PDT) In-Reply-To: References: <52ae4f31203a45feaafd65456082ff86@in-cci-exch0d.ads.iu.edu> <5EEA0FD2-A624-4C89-97EC-31601F893991@apache.org> From: Pankaj Saha Date: Thu, 1 Sep 2016 12:45:16 -0400 Message-ID: Subject: Re: Docker with Airavata To: dev Cc: "Roy-Ehri, Colin Josef" Content-Type: multipart/alternative; boundary=001a1143507a466455053b74f041 archived-at: Thu, 01 Sep 2016 16:45:25 -0000 --001a1143507a466455053b74f041 Content-Type: text/plain; charset=UTF-8 Here is the location for docker images from last year's project, I am sharing if this can be a help to start with. for airavata servers "docker pull pankajandsaha/demoserver " for airavata PGA "docker pull pankajandsaha/demopga" for rabbitMQ "docker pull rabbitmq:3-management" This will still use the default identity server for authentication. Instruction to run these dockers: docker run -i -d --name demo_rabbit -p 15672:15672 -t rabbitmq:3-management docker run -i -d --name demo_server --env RABBITMQ_HOST= -t demoserver:latest docker run -i -d --name demo_pga --env SERVER_HOST= --env SERVER_PORT=8930 -p 9191:80 -t demopga:latest PGA can be found at localhost:80 Please let me know if I can help something, I will be looking forward to work with this. Thanks Pankaj On Thu, Sep 1, 2016 at 12:13 PM, Pierce, Marlon wrote: > +1, go for it Colin. > > Marlon > > On 9/1/16, 11:02 AM, "Suresh Marru" wrote: > > Hi Colin, > > That will be a wonderful contribution. I do not think there will be > one right way of using docker instead multiple possibilities. It will be > great if we can brainstorm on this thread the possibilities and critique > each other approaches and come to a consensus on what will work better for > Airavata use cases. > > We will appreciate your contributions (both discussions and code) and > as with everything in apache, they will be counted as contributions. > > Thanks, > Suresh > > > On Sep 1, 2016, at 10:58 AM, Roy-Ehri, Colin Josef > wrote: > > > > Hi Lahiru, > > > > Are you investigating running Airavata with docker for local testing > purposes, or in order to spin up multiple instances to handle changing > loads? I did some work with Terraform (www.terraform.io) and spinning up > multiple containers in AWS with one command. I'd be happy try that with > Airavata, if you think it could be useful. > > > > Thanks, > > Colin Roy-Ehri, MS.Ed. > > Senior Software Engineer > > Enterprise Decision Support Services (EDSS) Indiana University > > > > > >> Hi Lahiru, > >> That was my 2015 GSoC project. It was ended well and I did not work > on > >> this after the demo to Suresh and Marlon last year. You can find > the > >> instructions how to create and run dockerized Airavata here > >> zdXrV > >> fwJiNtkvM/edit?usp=sharing> > >> . > >> > >> I am sharing the docker files and required scripts attached. Please > >> let me know if you find trouble accessing these files and the link. > >> > >> Thanks > >> Pankaj > >> > >> On Fri, Aug 19, 2016 at 10:23 PM, Lahiru Ginnaliya Gamathige < > >> glahiru@gmail.com> wrote: > >> > >>> Hi Devs, > >>> > >>> I remember a Gsoc student did some docker work, I am curious where > >>> did it ended, I see that no Dockerfile is in the repo. > >>> > >>> Do we have those separate ? Please give me some insight on that > >>> project, I would like to look in to it. > >>> > >>> Regards > >>> Lahiru > >>> > > > > > > > --001a1143507a466455053b74f041 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Here is the lo= cation for docker images from last year's project, I am sharing if this= can be a help to start with.=C2=A0

for airav= ata servers =C2=A0 =C2=A0 =C2=A0"docker pull pankajandsaha/demoserver = " =C2=A0 =C2=A0
for airavata=C2=A0PGA =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0"docker pull pankajandsaha/demopga" =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0
for = rabbitMQ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"docker pull = rabbitmq:3-management"

This will still use the default identity server for authentication.=C2=A0<= /font>
Ins= truction to run these dockers:

docker run -i -d --name demo_rabbit -p 15672:1567= 2 -t rabbitmq:3-management
docker run -i -d --name demo_server --env RABBITMQ_HOST=3D<= ;ip of=C2=A0demo_rabbit container> -t demoserver:latest
docker run -i -d --name demo_pga --env SERVE= R_HOST=3D<ip of demo_server container> --env SERVER_PORT=3D8930 -p 91= 91:80 -t demopga:latest
PGA can= be found at localhost:80
Please let me know if I can help something, I will be looking f= orward to work with this.


Th= anks
Pankaj




On Thu, Sep 1,= 2016 at 12:13 PM, Pierce, Marlon <marpierc@iu.edu> wrote:
=
+1, go for it Colin.

Marlon

On 9/1/16, 11:02 AM, "Suresh Marru" <smarru@apache.org> wrote:

=C2=A0 =C2=A0 Hi Colin,

=C2=A0 =C2=A0 That will be a wonderful contribution. I do not think there w= ill be one right way of using docker instead multiple possibilities. It wil= l be great if we can brainstorm on this thread the possibilities and critiq= ue each other approaches and come to a consensus on what will work better f= or Airavata use cases.

=C2=A0 =C2=A0 We will appreciate your contributions (both discussions and c= ode) and as with everything in apache, they will be counted as contribution= s.

=C2=A0 =C2=A0 Thanks,
=C2=A0 =C2=A0 Suresh

=C2=A0 =C2=A0 > On Sep 1, 2016, at 10:58 AM, Roy-Ehri, Colin Josef <<= a href=3D"mailto:cschoder@iu.edu">cschoder@iu.edu> wrote:
=C2=A0 =C2=A0 >
=C2=A0 =C2=A0 > Hi Lahiru,
=C2=A0 =C2=A0 >
=C2=A0 =C2=A0 > Are you investigating running Airavata with docker for l= ocal testing purposes, or in order to spin up multiple instances to handle = changing loads?=C2=A0 I did some work with Terraform (www.terraform.io) a= nd spinning up multiple containers in AWS with one command.=C2=A0 I'd b= e happy try that with Airavata, if you think it could be useful.
=C2=A0 =C2=A0 >
=C2=A0 =C2=A0 > Thanks,
=C2=A0 =C2=A0 > Colin Roy-Ehri, MS.Ed.
=C2=A0 =C2=A0 > Senior Software Engineer
=C2=A0 =C2=A0 > Enterprise Decision Support Services (EDSS) Indiana Univ= ersity
=C2=A0 =C2=A0 >
=C2=A0 =C2=A0 >
=C2=A0 =C2=A0 >> Hi Lahiru,
=C2=A0 =C2=A0 >> That was my 2015 GSoC project. It was ended well and= I did not work on
=C2=A0 =C2=A0 >> this=C2=A0 after the demo to Suresh and Marlon last = year. You can find the
=C2=A0 =C2=A0 >> instructions how to create and run dockerized Airava= ta here
=C2=A0 =C2=A0 >> <htt= ps://docs.google.com/document/d/1v2J1wFZx0TZXQs7PO7i6biNpzbM6KzdXrV
=C2=A0 =C2=A0 >> fwJiNtkvM/edit?usp=3Dsharing>
=C2=A0 =C2=A0 >> .
=C2=A0 =C2=A0 >>
=C2=A0 =C2=A0 >> I am sharing the docker files and required scripts a= ttached. Please
=C2=A0 =C2=A0 >> let me know if you find trouble accessing these file= s and the link.
=C2=A0 =C2=A0 >>
=C2=A0 =C2=A0 >> Thanks
=C2=A0 =C2=A0 >> Pankaj
=C2=A0 =C2=A0 >>
=C2=A0 =C2=A0 >> On Fri, Aug 19, 2016 at 10:23 PM, Lahiru Ginnaliya G= amathige <
=C2=A0 =C2=A0 >> glahiru@gmail.c= om> wrote:
=C2=A0 =C2=A0 >>
=C2=A0 =C2=A0 >>> Hi Devs,
=C2=A0 =C2=A0 >>>
=C2=A0 =C2=A0 >>> I remember a Gsoc student did some docker work, = I am curious where
=C2=A0 =C2=A0 >>> did it ended, I see that no Dockerfile is in the= repo.
=C2=A0 =C2=A0 >>>
=C2=A0 =C2=A0 >>> Do we have those separate ? Please give me some = insight on that
=C2=A0 =C2=A0 >>> project, I would like to look in to it.
=C2=A0 =C2=A0 >>>
=C2=A0 =C2=A0 >>> Regards
=C2=A0 =C2=A0 >>> Lahiru
=C2=A0 =C2=A0 >>>
=C2=A0 =C2=A0 >





--001a1143507a466455053b74f041--