Hi Gayan, 

No I'm using the latest build of stratos, I'm just trying to find any sample 
that may work. The problem is that I cannot state the port mapping in the 
cartridge definition of load balancer, it always gives in axis2.xml the ports 
80, 443 and second one how the other applications that I want to go through the 
load balancer will be subscribed to it. 

Cheers, 
Thanos 

 

 

From: Gayan Gunarathne [mailto:[email protected]] 
Sent: Friday, June 5, 2015 7:37 AM
To: [email protected]
Subject: Re: Load balancer in stratos 4.1.0 openstack

 

Hi Thanos,

 

On Thu, Jun 4, 2015 at 7:27 PM, Athanasios Tsitsipas 
<[email protected] <mailto:[email protected]> > 
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:[email protected] <mailto:[email protected]> ] 
Sent: Thursday, June 4, 2015 2:51 PM


To: [email protected] <mailto:[email protected]> 
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 
<[email protected] <mailto:[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] <mailto:[email protected]> ] 
Sent: Thursday, June 4, 2015 12:32 PM
To: [email protected] <mailto:[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] <mailto:[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 <http://wso2.com/> )

Committer & PMC Member, Apache Stratos

email : [email protected] <mailto:[email protected]>   | mobile : +94 766819985 
<tel:%2B94%20766819985> 

 

 





 

-- 

 

Gayan Gunarathne
Technical Lead, WSO2 Inc. (http://wso2.com <http://wso2.com/> )

Committer & PMC Member, Apache Stratos

email : [email protected] <mailto:[email protected]>   | mobile : +94 766819985 
<tel:%2B94%20766819985> 

 

 





 

-- 

 

Gayan Gunarathne
Technical Lead, WSO2 Inc. (http://wso2.com <http://wso2.com/> )

Committer & PMC Member, Apache Stratos

email : [email protected] <mailto:[email protected]>   | mobile : +94 766819985 
<tel:%2B94%20766819985> 

 

 

Reply via email to