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 >