Hi Bhathiya,

Thanks for your efforts on this. May be what you mean is that requests
coming to CC cluster are getting forwarded to the same node?

Can you please verify the load balancer configuration? If you can send it
through (with all stratos config files) we can review.

Thanks

On Sun, Mar 29, 2015 at 10:29 PM, Bhathiya Supun <sup...@wso2.com> wrote:

>
> *Setup*
> I installed stratos in a distributed setup following this[1]
> <https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Installing+Stratos+Manually+in+a+Distributed+Setup>.
>  Cloud
> controller clusture is created following this[2
> <https://docs.wso2.com/display/CLUSTER420/Clustering+WSO2+Products+without+WSO2+ELB>]
> documentation with Stratos load balancer.
> (I have attached a sketch of the setup)
>
>
> *Testing *I checked the setup with Add Cartridge Operation via
> UI.Operation succeed, but loadbalancer always assign workload to a single
> node even though it recognize 3 members.
>
> Here is the log
>
>
> *TID: [0] [LB] [2015-03-30 07:37:32,661] DEBUG
> {org.apache.stratos.load.balancer.endpoint.RequestDelegator} -  Next member
> identified in 0ms: [service] stratoscc [cluster] stratoscc-cluster1
> [member] w2 [message-id] urn:uuid:c7ee3292-1634-4776-98ba-9831465ea90b *
> *TID: [0] [LB] [2015-03-30 07:37:32,661] DEBUG
> {org.apache.stratos.load.balancer.endpoint.TenantAwareLoadBalanceEndpoint}
> -  Updating axis2 member port *
> *TID: [0] [LB] [2015-03-30 07:37:32,661] DEBUG
> {org.apache.stratos.load.balancer.endpoint.TenantAwareLoadBalanceEndpoint}
> -  Outgoing request port found: 9602 *
> *TID: [0] [LB] [2015-03-30 07:37:32,662] DEBUG
> {org.apache.stratos.load.balancer.endpoint.TenantAwareLoadBalanceEndpoint}
> -  Sending request urn:uuid:c7ee3292-1634-4776-98ba-9831465ea90b to
> endpoint: https://127.0.0.4:9602/services/CloudControllerService/
> <https://127.0.0.4:9602/services/CloudControllerService/> *
> *TID: [0] [LB] [2015-03-30 07:37:32,682] DEBUG
> {org.apache.stratos.load.balancer.mediators.ResponseInterceptor} -
>  Response interceptor mediation started *
> *TID: [0] [LB] [2015-03-30 07:37:32,690] DEBUG
> {org.apache.stratos.load.balancer.endpoint.TenantAwareLoadBalanceEndpoint}
> -  Request urn:uuid:3fd709b1-2c43-40c8-9df6-fc2df35ff71d for host
> mgt.stratos.cc.domain *
> *TID: [0] [LB] [2015-03-30 07:37:32,691] DEBUG
> {org.apache.stratos.load.balancer.endpoint.RequestDelegator} -  Cluster
> stratoscc-cluster1 identified for request
> urn:uuid:3fd709b1-2c43-40c8-9df6-fc2df35ff71d *
> *TID: [0] [LB] [2015-03-30 07:37:32,691] DEBUG
> {org.apache.stratos.load.balancer.algorithm.RoundRobin} -  Searching for
> next member: [service] stratoscc [cluster]: stratoscc-cluster1
> [member-count]: 3 [current-index] 0 *
> *TID: [0] [LB] [2015-03-30 07:37:32,692] DEBUG
> {org.apache.stratos.load.balancer.endpoint.RequestDelegator} -  Next member
> identified in 0ms: [service] stratoscc [cluster] stratoscc-cluster1
> [member] w2 [message-id] urn:uuid:3fd709b1-2c43-40c8-9df6-fc2df35ff71d *
> *TID: [0] [LB] [2015-03-30 07:37:32,692] DEBUG
> {org.apache.stratos.load.balancer.endpoint.TenantAwareLoadBalanceEndpoint}
> -  Updating axis2 member port *
> *TID: [0] [LB] [2015-03-30 07:37:32,692] DEBUG
> {org.apache.stratos.load.balancer.endpoint.TenantAwareLoadBalanceEndpoint}
> -  Outgoing request port found: 9602 *
> *TID: [0] [LB] [2015-03-30 07:37:32,692] DEBUG
> {org.apache.stratos.load.balancer.endpoint.TenantAwareLoadBalanceEndpoint}
> -  Sending request urn:uuid:3fd709b1-2c43-40c8-9df6-fc2df35ff71d to
> endpoint: https://127.0.0.4:9602/services/CloudControllerService/
> <https://127.0.0.4:9602/services/CloudControllerService/> *
> *TID: [0] [LB] [2015-03-30 07:37:32,712] DEBUG
> {org.apache.stratos.load.balancer.mediators.ResponseInterceptor} -
>  Response interceptor mediation started *
> *TID: [0] [LB] [2015-03-30 07:37:32,723] DEBUG
> {org.apache.stratos.load.balancer.endpoint.TenantAwareLoadBalanceEndpoint}
> -  Request urn:uuid:daddecb6-7054-4039-82a3-2f6c3c23b5ba for host
> mgt.stratos.cc.domain *
> *TID: [0] [LB] [2015-03-30 07:37:32,723] DEBUG
> {org.apache.stratos.load.balancer.endpoint.RequestDelegator} -  Cluster
> stratoscc-cluster1 identified for request
> urn:uuid:daddecb6-7054-4039-82a3-2f6c3c23b5ba *
> *TID: [0] [LB] [2015-03-30 07:37:32,723] DEBUG
> {org.apache.stratos.load.balancer.algorithm.RoundRobin} -  Searching for
> next member: [service] stratoscc [cluster]: stratoscc-cluster1
> [member-count]: 3 [current-index] 0 *
> *TID: [0] [LB] [2015-03-30 07:37:32,723] DEBUG
> {org.apache.stratos.load.balancer.endpoint.RequestDelegator} -  Next member
> identified in 0ms: [service] stratoscc [cluster] stratoscc-cluster1
> [member] w2 [message-id] urn:uuid:daddecb6-7054-4039-82a3-2f6c3c23b5ba *
> *TID: [0] [LB] [2015-03-30 07:37:32,723] DEBUG
> {org.apache.stratos.load.balancer.endpoint.TenantAwareLoadBalanceEndpoint}
> -  Updating axis2 member port *
> *TID: [0] [LB] [2015-03-30 07:37:32,724] DEBUG
> {org.apache.stratos.load.balancer.endpoint.TenantAwareLoadBalanceEndpoint}
> -  Outgoing request port found: 9602 *
> *TID: [0] [LB] [2015-03-30 07:37:32,724] DEBUG
> {org.apache.stratos.load.balancer.endpoint.TenantAwareLoadBalanceEndpoint}
> -  Sending request urn:uuid:daddecb6-7054-4039-82a3-2f6c3c23b5ba to
> endpoint: https://127.0.0.4:9602/services/CloudControllerService/
> <https://127.0.0.4:9602/services/CloudControllerService/> *
> *TID: [0] [LB] [2015-03-30 07:37:32,741] DEBUG
> {org.apache.stratos.load.balancer.mediators.ResponseInterceptor} -
>  Response interceptor mediation started *
>
> [1] -
> https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Installing+Stratos+Manually+in+a+Distributed+Setup
>
> [2] -
> https://docs.wso2.com/display/CLUSTER420/Clustering+WSO2+Products+without+WSO2+ELB
> <https://www.google.com/url?q=https%3A%2F%2Fdocs.wso2.com%2Fdisplay%2FCLUSTER420%2FClustering%2BWSO2%2BProducts%2Bwithout%2BWSO2%2BELB&sa=D&sntz=1&usg=AFQjCNHZ03v__zqQsTcD8cQl8QEXDD249A>
>
> --
> Bhathiya Supun
>
> *Software Engineering Intern,*
>
> *WSO2 Inc.*+94 71 0648636
>



-- 
Imesh Gunaratne

Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Reply via email to