Hi all,

We(Imesh, Reka, and myself) had a small discussion on $subject while
working on Stratos 4.0 M1.

This is on handling faults in VM instances. For example there can be three
basic faults.

   - Network Issue
   - Application process is terminated
   - VM itself is terminated

Here is the decision table,


 Process

VM

Decision flow

Down

Up

   -

   Cartridge agent publish event to CC
   -

   CC updates instance status in topology
   -

   Autoscaler decides to kill it

Down

Down(It can be that agent is crashed)

   -

   CEP identify that & publish event to Autoscaler
   -

   Autoscaler calls CC to terminate(if available) and remove the instance
   from topology
   -

   Autoscaler will spawn another to cover that

Up

Up(but network issue)

   -

   CEP sends statistics on fault requests to Autoscaler
   -

   Autoscaler keep monitoring it and takes a decision to terminate the
   instance
   -

   Autoscaler will spawn another to cover that




Feed your thoughts here...

Thanks.



-- 
--
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

Reply via email to