Hi Luca, Thanks for bringing this up. Hope you mean a connection like database cartridge for an application cartridge.
E.g. PHP cartridge depends on Mysql cartridge. If the PHP cartridge connect Mysql cartridge directly(not though LB) we will not receive LB statistics to Autoscaler. But it receive load average and memory consumption though cartridge agent placed inside instance. So the Autoscaler knows the load of both PHP and Mysql cartridges and handles it. Do we still consider this dependency at rules(i might missing some points)? Thanks. On Mon, Oct 28, 2013 at 9:45 PM, Luca Martini <[email protected]> wrote: > Lahiru, > > One more thing we need to have a way to defines dependencies between > VM/processes. > For example: Ae have a VM-A that depends on a VM-B with a rule of 10 > VM-A for each VM-B. The autoscaler needs to have a rule to handle > scaling a VM-A, which might result in a second request to autoscale VM-B. > > > Thanks. > Luca > > On 10/25/2013 09:08 PM, Lahiru Sandaruwan wrote: > > Hi Imesh, > > > > Small addition from autoscaler side as per the yesterday state, > > > > * We can deploy/ hot deploy autoscale policy as a xml filr > > * Autoscaler receives cluster created event sent from Cloud controller > when > > the subscription happens > > * It process the request using rules engine(drools) and calls the Cloud > > controller to spawn minimum number of instance in all Cloud > partitions. > > * Cloud controller spawned the requested instances > > > > I will send a detailed description to Autoscaler discussion thread. > > > > Thanks. > > > > On Sat, Oct 26, 2013 at 8:27 AM, Imesh Gunaratne <[email protected] > > <mailto:[email protected]>> wrote: > > > > Hi All, > > > > We have now created an Amazon EC2 instance with all the latest binary > > packages of Load Balancer, Cloud Controller, Auto-Scaler and CEP > Extension. > > A PHP cartridge was created using the new Cartridge Agent. > > > > At the moment we are going through the complete flow by fixing > integration > > issues being found. > > > > *Work Flow Items Done:* > > - All modules are now communicating properly via the message broker. > > - Cartridge definitions get deployed properly. > > - Stratos Controller is working as expected. A tenant user could > subscribe > > to a cartridge using this. > > - Cartridge Agent is properly publishing instance status events to > the > > message broker. > > - Cloud Controller is properly publishing topology events to the > message broker. > > - Load Balancer is receiving topology events and updating its > topology data > > structure. > > > > *Work Flow Items Missing:* > > - Real-time Event Processing Engine integration is not done. > > - Cartridge Agent is not deploying the artifacts. We need to update > the > > payload.zip. > > - Auto-Scaler is not spinning up instances since Real-time Event > Processing > > Engine integration is missing. > > > > Team: Please update if I have missing any other points. > > > > Thanks > > Imesh > > > > > > > > > > -- > > -- > > Lahiru Sandaruwan > > Software Engineer, > > Platform Technologies, > > WSO2 Inc., http://wso2.com > > lean.enterprise.middleware > > > > email: [email protected] <mailto:[email protected]> cell: (+94) 773 325 > 954 > > blog: http://lahiruwrites.blogspot.com/ > > twitter: http://twitter.com/lahirus > > linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 > > > > -- -- Lahiru Sandaruwan Software Engineer, Platform Technologies, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: [email protected] cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
