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 B59E8104C1 for ; Wed, 23 Apr 2014 04:28:06 +0000 (UTC) Received: (qmail 67863 invoked by uid 500); 23 Apr 2014 04:28:05 -0000 Delivered-To: apmail-stratos-dev-archive@stratos.apache.org Received: (qmail 67810 invoked by uid 500); 23 Apr 2014 04:28:05 -0000 Mailing-List: contact dev-help@stratos.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stratos.incubator.apache.org Delivered-To: mailing list dev@stratos.incubator.apache.org Received: (qmail 67803 invoked by uid 99); 23 Apr 2014 04:28:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Apr 2014 04:28:04 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mariangela@wso2.com designates 209.85.219.44 as permitted sender) Received: from [209.85.219.44] (HELO mail-oa0-f44.google.com) (209.85.219.44) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Apr 2014 04:27:59 +0000 Received: by mail-oa0-f44.google.com with SMTP id n16so464807oag.3 for ; Tue, 22 Apr 2014 21:27:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wso2.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Q87PEKRTwKc9iv0OUhq8Cll9fMCg+ZUvVHfNrB2SF+g=; b=RmlxWyhDHQHByb2ameLjgXmlkG5rYRPLWIspLHfjOFEhBAyISNtgLo3XWKd4dzlybT RMnbOjmDSgFpqt9uPWYaYgO1A16mz/69RxNCnnpE/XwO1ZabrRf98pcje+YO5rIYFnQ0 /zbZjuU3tYimUqzzcjXs4YpJBifmLM1U1ytMU= 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:date :message-id:subject:from:to:cc:content-type; bh=Q87PEKRTwKc9iv0OUhq8Cll9fMCg+ZUvVHfNrB2SF+g=; b=b/i3bmV22H+W3B4u9DevK0EMiGHSI5jSaZAApsAhd9RThJyJ5jMDED+6fouZmetbS+ LqBueiCRBFYS8AGApBL8n0hmkSHgzqPytu7B73cBuYjajR1IvjBpx/jIHp6zjeh0YOMo Eq/w9/98V8dsPh38NDk4dNZ8sLz+C2BWBme2nWYrzlqWOMMe3PuhgEBRDru37/aNKFNI JGpH571nJr/Dfi/14p0oZndorbMxa3k0NRjfcIN+3URhZS+2YOBwBMe+NUI0PHfalv2w mtAubfxeQGUTULuP78GBlkPRpYVuUx4chSmrbEIaPWpOHfuitKMAYtWyv1oA6h5AAylu DTYw== X-Gm-Message-State: ALoCoQmfPs7FKOFaR00JvPoV+A6qVTI9Ok1dDCzqm97Jue3vJqFnuf0CuPj/NPnxOLweNsdFpQer MIME-Version: 1.0 X-Received: by 10.182.2.72 with SMTP id 8mr41031673obs.21.1398227256926; Tue, 22 Apr 2014 21:27:36 -0700 (PDT) Received: by 10.76.125.225 with HTTP; Tue, 22 Apr 2014 21:27:36 -0700 (PDT) In-Reply-To: References: Date: Wed, 23 Apr 2014 09:57:36 +0530 Message-ID: Subject: Re: Cartridge specific load balancer deployment From: Mariangela Hills To: Nirmal Fernando Cc: "dev@stratos.incubator.apache.org" , Akila Ravihansa Perera , Lakmal Warusawithana Content-Type: multipart/alternative; boundary=001a1134aa0ef6f5cf04f7ae2648 X-Virus-Checked: Checked by ClamAV on apache.org --001a1134aa0ef6f5cf04f7ae2648 Content-Type: text/plain; charset=UTF-8 Will do. Regards, Mariangela *--* Mariangela Hills Senior Technical Writer *WSO2, Inc.*lean.enterprise.middleware. m: +94 773 500185 w: http://wso2.com On Wed, Apr 23, 2014 at 9:49 AM, Nirmal Fernando wrote: > Thanks for the link Mari. I think we should link this from the Cartridge > configuration related page. > > > On Wed, Apr 23, 2014 at 9:44 AM, Mariangela Hills wrote: > >> Hi Nirmal, >> >> This is what we have in the documentation regarding this cartridge >> property [1]. Please let me know whether we need to make any changes to >> this content. >> >> [1] >> https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Customizing+Cartridges#id-4.0.0CustomizingCartridges-CustomizationbasedonLoadBalancer >> >> Regards, >> Mariangela >> >> >> >> >> *--* >> Mariangela Hills >> Senior Technical Writer >> >> *WSO2, Inc.*lean.enterprise.middleware. >> m: +94 773 500185 >> w: http://wso2.com >> >> >> >> On Tue, Apr 22, 2014 at 7:31 PM, Nirmal Fernando wrote: >> >>> Do you want a mongo-db cartridge specific lb? Then you need to add a >>> Cartridge property called "service.aware.load.balancer" and set it to >>> true. @Mari Do we have this info in wiki? >>> >>> On Tue, Apr 22, 2014 at 5:54 PM, Akila Ravihansa Perera >>> wrote: >>> > Hi, >>> > >>> > I'm trying to deploy a cartridge with a custom load balancer. I have >>> created >>> > an image of this custom load balancer. But how do I point to this in my >>> > cartridge definition? >>> > >>> > This is what I'm trying to do; >>> > >>> > 1. I need to subscribe to a "mongodb" cartridge (which I have created) >>> > 2. I have created a custom load balancer for mongodb (mongos router + >>> mongod >>> > config server + Stratos LB + Stratos Agent) >>> > 3. I have taken a snapshot of this and created my "mongolb" - mongodb >>> load >>> > balancer >>> > 4. Now I need to point to this mongolb in my mongodb cartridge >>> definition. >>> > >>> > I don't want to make this load balancer the default one. Because this >>> custom >>> > load balancer (mongolb) will not work for other cartridges -> php, >>> mysql >>> > etc. >>> > >>> > How do I make this work? >>> > >>> > Thanks. >>> > >>> > -- >>> > Akila Ravihansa Perera >>> > Software Engineer >>> > WSO2 Inc. >>> > http://wso2.com >>> > >>> > Phone: +94 77 64 154 38 >>> > Blog: http://ravihansa3000.blogspot.com >>> >>> >>> >>> -- >>> Best Regards, >>> Nirmal >>> >>> Nirmal Fernando. >>> PPMC Member & Committer of Apache Stratos, >>> Senior Software Engineer, WSO2 Inc. >>> >>> Blog: http://nirmalfdo.blogspot.com/ >>> >> >> > > > -- > Best Regards, > Nirmal > > Nirmal Fernando. > PPMC Member & Committer of Apache Stratos, > Senior Software Engineer, WSO2 Inc. > > Blog: http://nirmalfdo.blogspot.com/ > --001a1134aa0ef6f5cf04f7ae2648 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Will do.

Regards,
Mariangela


--

=
Mariangela Hills
Senior Tech= nical Writer
WSO2,= Inc.
lean.enterprise.middleware.
=C2=A0



On Wed, Apr 23, 2014 at 9:49 AM, Nirmal = Fernando <nirmal070125@gmail.com> wrote:
Thanks for the link Mari. I think we should link this from= the Cartridge configuration related page.
<= div class=3D"h5">


On Wed, Apr 23, 2014 at 9:44 AM, Mariangela Hills <= ;mariangela@wso2.c= om> wrote:
Hi Nirmal,

This is what we have in the documentation regarding this cartridge prope= rty [1]. Please let me know whether we need to make any changes to this con= tent.


Re= gards,
Mariangela


--

Mariangela Hills
= Senior Technical Writer
WSO2,= Inc.
lean.enterprise.middleware.
=C2=A0



On Tue, Apr 22, 2014 at 7:31 PM, Ni= rmal Fernando <nirmal070125@gmail.com> wrote:
Do you want a mongo-db cartridge specific lb? Then you need to add a
Cartridge property called "service.aware.load.balancer" and set i= t to
true. @Mari Do we have this info in wiki?

On Tue, Apr 22, 2014 at 5:54 PM, Akila Ravihansa Perera
<ravihansa@wso2.= com> wrote:
> Hi,
>
> I'm trying to deploy a cartridge with a custom load balancer. I ha= ve created
> an image of this custom load balancer. But how do I point to this in m= y
> cartridge definition?
>
> This is what I'm trying to do;
>
> 1. I need to subscribe to a "mongodb" cartridge (which I hav= e created)
> 2. I have created a custom load balancer for mongodb (mongos router + = mongod
> config server + Stratos LB + Stratos Agent)
> 3. I have taken a snapshot of this and created my "mongolb" = - mongodb load
> balancer
> 4. Now I need to point to this mongolb in my mongodb cartridge definit= ion.
>
> I don't want to make this load balancer the default one. Because t= his custom
> load balancer (mongolb) will not work for other cartridges -> php, = mysql
> etc.
>
> How do I make this work?
>
> Thanks.
>
> --
> Akila Ravihansa Perera
> Software Engineer
> WSO2 Inc.
> http://wso2.com
>
> Phone: +94 77 64 154 38
> Blog: = http://ravihansa3000.blogspot.com



--
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Member & Committer of Apache Stratos,
Senior Software Engineer, WSO2 Inc.

Blog: http://n= irmalfdo.blogspot.com/




--
Best R= egards,
Nirmal

Nirmal Fernando.
PPMC Member & Committer of= Apache Stratos,
Senior Software Engineer, WSO2 Inc.


--001a1134aa0ef6f5cf04f7ae2648--