Return-Path: X-Original-To: apmail-stratos-dev-archive@minotaur.apache.org Delivered-To: apmail-stratos-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 75CA617E04 for ; Fri, 5 Jun 2015 05:37:30 +0000 (UTC) Received: (qmail 31605 invoked by uid 500); 5 Jun 2015 05:37:30 -0000 Delivered-To: apmail-stratos-dev-archive@stratos.apache.org Received: (qmail 31558 invoked by uid 500); 5 Jun 2015 05:37:30 -0000 Mailing-List: contact dev-help@stratos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stratos.apache.org Delivered-To: mailing list dev@stratos.apache.org Received: (qmail 31547 invoked by uid 99); 5 Jun 2015 05:37:30 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Jun 2015 05:37:30 +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 93095182318 for ; Fri, 5 Jun 2015 05:37:29 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 4.082 X-Spam-Level: **** X-Spam-Status: No, score=4.082 tagged_above=-999 required=6.31 tests=[AC_DIV_BONANZA=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, KAM_LINEPADDING=1.2, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=wso2.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id XVKpRwqQdRsC for ; Fri, 5 Jun 2015 05:37:19 +0000 (UTC) Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com [209.85.212.179]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 40B8A275E0 for ; Fri, 5 Jun 2015 05:37:19 +0000 (UTC) Received: by wibut5 with SMTP id ut5so9409782wib.1 for ; Thu, 04 Jun 2015 22:37:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wso2.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=Sx/ubvicmaLO8AkZq96E07Z1RYld+amBSTmNiAdaZRY=; b=TJNNc7YKtvZazp344PBGudObQR9FLCq4Wucta28neu0fpLFg9YHhqqy0Y38CTogAtg IFjl7HoZRVEfqTUGvh/JNmUneNgsthNvibukS3Zf02d18psL0p5ZgdG6ZjOz01Nuhzyk PjpiTdvyCf2nvONuqq3bvUTn2Mdds8Dh92zms= 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:content-type; bh=Sx/ubvicmaLO8AkZq96E07Z1RYld+amBSTmNiAdaZRY=; b=ijmIuxaLxNBghFjosZHR2yO1vhjKivRmbdRQd8maGzGbNB7HDYwjWaLTJ3NiYXx25b heL1MoDyNYKvll/mdI5RZNoxahuVL208zk3Q5wM9K83gSK6Tf36S0hdh2iL34ZmKTrge Uk8sC9ZfAr8NcZNJOL1dF5LJjsH7qNmPLsye8sk9MuMA1fWUu8tgtZer7EaV+OzKW6CT 03r+2jwcrj4s/y6DjSSzm28Jv4VeZHiVNyVKzJ/YoxOzPa0GIPKoMUYtUnC+l/EofVM/ qfALFRj8mrqpDjLj86aymgUDF8vr1EHFywMrEfbQE0E7jbymmFVY1BsMNdeG/06suVlk fcBg== X-Gm-Message-State: ALoCoQntN70ACk1CHCW1v+mx8kz+1q8Ed0bhfD/aXJbDb9WJVMQ4+mNGV/EpGS4n8D/Fh0SWd5uQ X-Received: by 10.180.182.33 with SMTP id eb1mr14465112wic.8.1433482637898; Thu, 04 Jun 2015 22:37:17 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.72.165 with HTTP; Thu, 4 Jun 2015 22:36:57 -0700 (PDT) In-Reply-To: <003601d09ece$5893b0b0$09bb1210$@uni-ulm.de> References: <000401d09eaf$b3e2e040$1ba8a0c0$@uni-ulm.de> <001801d09eba$2371a360$6a54ea20$@uni-ulm.de> <003601d09ece$5893b0b0$09bb1210$@uni-ulm.de> From: Gayan Gunarathne Date: Fri, 5 Jun 2015 11:06:57 +0530 Message-ID: Subject: Re: Load balancer in stratos 4.1.0 openstack To: "dev@stratos.apache.org" Content-Type: multipart/alternative; boundary=047d7b62273e6c8df00517beaf97 --047d7b62273e6c8df00517beaf97 Content-Type: text/plain; charset=UTF-8 Hi Thanos, On Thu, Jun 4, 2015 at 7:27 PM, Athanasios Tsitsipas < athanasios.tsitsipas@uni-ulm.de> wrote: > I am trying with this guide I found for openstack > > > > > http://wso2.com/library/tutorials/2014/04/tutorial-how-to-get-apache-stratos-4.0.0-running-on-a-single-machine/ > This guide related with the Apache Stratos 4.0.0 release.Are you using the 4.0.0 Apache Stratos Distribution[1][2]? [1] https://dist.apache.org/repos/dist/dev/stratos/4.0.0-rc4/ [2] https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Installation+Guide > > But I cannot get the lb working > > > > Regards , > > Thanos > > > > *From:* Gayan Gunarathne [mailto:gayang@wso2.com] > *Sent:* Thursday, June 4, 2015 2:51 PM > > *To:* dev@stratos.apache.org > *Subject:* Re: Load balancer in stratos 4.1.0 openstack > > > > You can define the port and the proxy port in cartridge itself[1].That is > used by the Load Balancer. > > > > [1] > https://github.com/apache/stratos/blob/master/samples/cartridges/mock/php.json > > > > Thanks, > > Gayan > > > > On Thu, Jun 4, 2015 at 5:02 PM, Athanasios Tsitsipas < > athanasios.tsitsipas@uni-ulm.de> wrote: > > Also the, lb module in puppet in which port it listens and I have to set > the proxyport to any other application? > > > > Regards, > > Thanos > > > > *From:* Gayan Gunarathne [mailto:gayang@wso2.com] > *Sent:* Thursday, June 4, 2015 12:32 PM > *To:* dev@stratos.apache.org > *Subject:* Re: Load balancer in stratos 4.1.0 openstack > > > > Hi Athanasios, > > > > I guess you are asking for the lb module in the puppet. Then that lb > module in the puppet will install the Stratos load balancer[1]. > > > > Also we have extensions for the HAProxy[2] as well as nginx[3].Those load > balancer extensions can work as a Standalone applications.Please refer the > related documents. > > Also we have a sample[4] for use the Stratos LB with tomcat application.I > guess you can do the same thing with nodejs also. > > Hope those documentations will helpful for you > > > > [1] > https://github.com/gayangunarathne/stratos/tree/master/products/load-balancer/modules/distribution > > [2] > https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Configuring+HAProxy+Load+Balancer > > [3] > https://github.com/apache/stratos/tree/master/extensions/load-balancer/nginx-extension > > [4] > https://github.com/apache/stratos/tree/master/samples/applications/nested/complex-app-with-lb > > > > > > Thanks, > > Gayan > > > > On Thu, Jun 4, 2015 at 3:47 PM, Athanasios Tsitsipas < > athanasios.tsitsipas@uni-ulm.de> wrote: > > Hello, > > > > One question the load balancer used in stratos, under the lb module, is an > haproxy, nginx ? Also, any sample configuration for the load balancer to > create a cartridge, open the correct ports and later subscribe an nodejs > application to the load balancer? > > > > Regards, > > Athanasios Tsitsipas > > > > > > -- > > > > Gayan Gunarathne > Technical Lead, WSO2 Inc. (http://wso2.com) > > Committer & PMC Member, Apache Stratos > > email : gayang@wso2.com | mobile : +94 766819985 > > > > > > > > > > -- > > > > Gayan Gunarathne > Technical Lead, WSO2 Inc. (http://wso2.com) > > Committer & PMC Member, Apache Stratos > > email : gayang@wso2.com | mobile : +94 766819985 > > > > > -- Gayan Gunarathne Technical Lead, WSO2 Inc. (http://wso2.com) Committer & PMC Member, Apache Stratos email : gayang@wso2.com | mobile : +94 766819985 --047d7b62273e6c8df00517beaf97 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Thanos,

On Thu, Jun 4, 2015 at 7:27 PM, Athanasios Tsitsipas <athanasios.tsitsipas@uni-ulm.de> wrote:
This guide related with the Apache Stratos 4.0= .0 release.Are you using the 4.0.0 Apache Stratos Distribution[1][2]?
[1] https://dist.apache.org/repos/dist/dev/stratos/4.0.0-rc4= /
[2] https://cwiki.apache.org/confl= uence/display/STRATOS/4.0.0+Installation+Guide

<= u>

=C2=A0=

But I cannot get the lb working

=C2=A0<= /span>

Regards ,

=

Thanos

=C2=A0

= From:<= /b> Gayan Gun= arathne [mailto:gayang= @wso2.com]
Sent: Thursday, June 4, 2015 2:51 PM


To: dev@stratos.apache.org
Subject: Re: Load balancer in = stratos 4.1.0 openstack

=C2=A0

You can = define the port and the proxy port in cartridge itself[1].That is used by t= he Load Balancer.

=C2= =A0

<= /u>=C2=A0

Thanks,=

Gayan

=C2=A0

On Thu, Jun 4, 2015 at 5:02 PM, Athanasios Tsitsipas <athanasios.tsitsipas@= uni-ulm.de> wrote:

=

Also the, lb module in puppet in which port = it listens and I have to set the proxyport to any other application?=

=C2=A0

Regards,

Thanos

=C2=A0

From: Gayan Gunarathn= e [mailto:gayang@wso2.= com]
Sent: Thursday, June 4, 2015 12:32 PM
To: dev@stratos.apache= .org
Subject: Re: Load balancer in stratos 4.1.0 openstack

=C2=A0=

Hi Athanasios,

=C2=A0

I gue= ss you are asking for the lb module in the puppet. Then=C2=A0that lb module= in the puppet will install the Stratos load balancer[1].

=

=C2=A0

Also we have extensions for the HAProxy[2] as well as nginx[3].T= hose load balancer extensions can work as a Standalone applications.Please = refer the related documents.

Also we have a sample[4] for use the Stratos LB with tomcat applicatio= n.I guess you can do the same thing with nodejs also.

Hope those documentations will helpful for yo= u=C2=A0

=C2=A0=

=C2=A0

<= p class=3D"MsoNormal">On Thu, Jun 4, 2015 at 3:47 PM, Athanasios Tsitsipas = <at= hanasios.tsitsipas@uni-ulm.de> wrote:

<= div>

Hello,

=C2=A0

One question the load ba= lancer used in stratos, under the lb module, is an haproxy, nginx ? Also, a= ny sample configuration for the load balancer to create a cartridge, open t= he correct ports and later subscribe an nodejs application to the load bala= ncer?

=C2=A0

Regards,

Athanasi= os Tsitsipas



=C2=A0

--

=C2=A0

<= div>

Gayan Gunarathne
Technical Lead,=C2=A0WSO2 Inc.=C2= =A0
(http://ws= o2.com)

Committer &a= mp; PMC Member, Apache Stratos

email :=C2=A0gayang@wso2.com=C2=A0 | mobile :=C2=A0+94 766819985

=

= =C2=A0

=C2= =A0



=C2=A0

--

=C2=A0

Gayan Gunarathne
Tech= nical Lead,=C2=A0WSO2 Inc.=C2=A0
(http://wso2.com)

Committer & PMC Member, Apache Stratos

email :=C2=A0gayang@wso2.com=C2=A0 | mobile :=C2=A0+94 766819985<= u>

=C2=A0

=C2=A0




=
--
=

<= /div>
Gayan Gunarathne
Technical Lead,= =C2=A0WSO2 Inc.=C2=A0(http://wso2.com)
Committer & PMC Member, Apache Stratos=
email :=C2=A0gayang@wso2.com=C2=A0 | mobile :=C2=A0<= a href=3D"tel:%2B94%20766819985" value=3D"+94766819985" target=3D"_blank">+= 94 766819985
=C2= =A0
=C2=A0
--047d7b62273e6c8df00517beaf97--