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 <http://wso2.com/events/> On Tue, Apr 22, 2014 at 7:31 PM, Nirmal Fernando <[email protected]>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 > <[email protected]> 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/ >
