Verified the changes with the single LB and tomcat group in EC2.I will
continue test with more complex group scenario with several cartridges.

Found a error that own cluster id append to the dependency cluster id.
Fixed that error with 22127619b5d727cfaef5152dcd92eb980d5a3058.

Thanks,
Gayan

On Thu, Jan 8, 2015 at 3:00 PM, Imesh Gunaratne <im...@apache.org> wrote:

> Great! Thanks for the update Gayan!
>
> On Thu, Jan 8, 2015 at 2:54 PM, Gayan Gunarathne <gay...@wso2.com> wrote:
>
>> Hi Imesh,
>>
>> Yes. I have pushed all the changes related to the load balances
>> configuration to the master branch. Currently I am testing those with the
>> ec2.Will update the thread with testing outcome.
>>
>> Thanks.
>> Gayan
>>
>> On Thu, Jan 8, 2015 at 2:45 PM, Imesh Gunaratne <im...@apache.org> wrote:
>>
>>> Hi Gayan,
>>>
>>> I know that you have done the changes needed for sending dependency
>>> cluster id list to load balancer. IMO we do not need any changes in load
>>> balancer since it already has a cluster id filter which we could make use
>>> of for this functionality.
>>>
>>> Were you able to test the changes you have done up to now?
>>>
>>> Thanks
>>>
>>> On Wed, Jan 7, 2015 at 1:24 PM, Vishanth Balasubramaniam <
>>> vishan...@wso2.com> wrote:
>>>
>>>> Hi Shaheedur,
>>>>
>>>> Follow the slides provided in the link below [1
>>>> <http://www.slideshare.net/imesh/load-balancer-component-architecture-apache-stratos-400>]
>>>> for the Load Balancer Component Architecture.
>>>>
>>>> [1] -
>>>> http://www.slideshare.net/imesh/load-balancer-component-architecture-apache-stratos-400
>>>>
>>>>
>>>> On Wed, Jan 7, 2015 at 7:31 AM, Udara Liyanage <ud...@wso2.com> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> This might be useful to you.
>>>>>
>>>>>
>>>>> https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Load+Balancers
>>>>> On 6 Jan 2015 23:15, "Shaheedur Haque (shahhaqu)" <shahh...@cisco.com>
>>>>> wrote:
>>>>>
>>>>>>  I guess I don’t really have a good handle on how load balancers are
>>>>>> organised generally in Stratos. Is there a good reference for this?
>>>>>>
>>>>>>
>>>>>>
>>>>>> *From:* Gayan Gunarathne [mailto:gay...@wso2.com]
>>>>>> *Sent:* 05 January 2015 13:19
>>>>>> *To:* dev@stratos.apache.org
>>>>>> *Subject:* Configuration of Load Balancer related to the service
>>>>>> grouping
>>>>>>
>>>>>>
>>>>>>
>>>>>> Hi All,
>>>>>>
>>>>>>
>>>>>>
>>>>>> Following are the identified changes related to the configuration of
>>>>>> Load Balancer related to the service grouping.
>>>>>>
>>>>>>    - We can treat the LB cartridge as same as other cartridges.We
>>>>>>    can distinguished the Load balances cartridge based on the cartridge
>>>>>>    category. i.e if the cartridge category specify as the LB, then we 
>>>>>> identify
>>>>>>    it as a load balances cartridge.
>>>>>>
>>>>>>
>>>>>>    - In application json we can specify the LB as a dependency in a
>>>>>>    start-up order.
>>>>>>
>>>>>>            i.e
>>>>>>
>>>>>>           "dependencies": {
>>>>>>
>>>>>>               "startupOrders": [
>>>>>>
>>>>>>                   "cartridge.mytomcat,cartridge.mylb"
>>>>>>
>>>>>>                ],
>>>>>>
>>>>>>               "terminationBehaviour": "terminate-dependents"
>>>>>>
>>>>>>              }
>>>>>>
>>>>>>           }
>>>>>>
>>>>>>    - We will traverse through the dependency tree and sending
>>>>>>    dependency cluster id to the cartridge through the payload.
>>>>>>    - Load balancer will retrieve the dependent cluster id through
>>>>>>    the payload and getting the dependencies information from the 
>>>>>> topology.
>>>>>>
>>>>>> Please share your thoughts on this.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Thanks,
>>>>>>
>>>>>> Gayan
>>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> *Vishanth Balasubramaniam*
>>>> Software Engineer
>>>> WSO2 Inc.; http://wso2.com
>>>> lean.enterprise.middleware
>>>>
>>>> mobile: *+94771737718*
>>>> about me: *http://about.me/vishanth <http://about.me/vishanth>*
>>>>
>>>>
>>>
>>>
>>> --
>>> Imesh Gunaratne
>>>
>>> Technical Lead, WSO2
>>> Committer & PMC Member, Apache Stratos
>>>
>>
>>
>>
>> --
>>
>> Gayan Gunarathne
>> Technical Lead
>> WSO2 Inc. (http://wso2.com)
>> email  : gay...@wso2.com  | mobile : +94 766819985
>>
>>
>
>
>
> --
> Imesh Gunaratne
>
> Technical Lead, WSO2
> Committer & PMC Member, Apache Stratos
>



-- 

Gayan Gunarathne
Technical Lead
WSO2 Inc. (http://wso2.com)
email  : gay...@wso2.com  | mobile : +94 766819985

Reply via email to