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 < [email protected]> 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:[email protected]] > *Sent:* Thursday, June 4, 2015 12:32 PM > *To:* [email protected] > *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 < > [email protected]> 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 : [email protected] | mobile : +94 766819985 > > > > > -- Gayan Gunarathne Technical Lead, WSO2 Inc. (http://wso2.com) Committer & PMC Member, Apache Stratos email : [email protected] | mobile : +94 766819985
