Hi, Forgot to mention that CEP will decide the faulty members based on one minute window. That is, if an active cartridge is not sending any health stats events to CEP in any one minute period, it will be identified as a faulty member.
I guess, we can't tell the time stratos will take to terminate and re-spawn it. It depends on the IaaS, network etc. Thanks. On Fri, Oct 10, 2014 at 7:22 PM, Manas Padegaonkar -T (mpadegao - ARICENT TECHNOLOGIES HOLDINGS LIMITED at Cisco) <mpade...@cisco.com> wrote: > Thanks Rajkumar, > > > > Does it means CEP won’t wait for specific defined time & declare that > cartridge as faulty-vm?? > > > > Regards > > Manas. > > > > *From:* Rajkumar Rajaratnam [mailto:rajkum...@wso2.com] > *Sent:* Friday, October 10, 2014 7:14 PM > *To:* dev@stratos.apache.org > > *Subject:* Re: Which Timer in Stratos Triggers Cartridge Deletion When > its Unreachable > > > > Hi Manas, > > > > If the cartridge-vm becomes unreachable, CEP will not get any events from > cartridge agent (which is running inside cartridge-vm). Then CEP will > identify it as a faulty member and publish member fault event. Autoscaler > will listen to this event and terminate the cartridge-vm as soon as it is > getting the member fault event. > > > > Thanks. > > > > On Fri, Oct 10, 2014 at 7:06 PM, Manas Padegaonkar -T (mpadegao - ARICENT > TECHNOLOGIES HOLDINGS LIMITED at Cisco) <mpade...@cisco.com> wrote: > > Hi Lasindu, > > > > The timer you mentioned is for the cartridge to come active after it got > subscribed > > > > <!-->member expiry timeout (time waited till activation) in ms<--> > > <expiryTimeout>900000</expiryTimeout> > > > > > > Lets take an example, I subscribed to cartridge & it comes Active within > the expiry-timeout mentioned above. Now, after sometime the cartridge vm > becomes unreachable or disconnected than based on which timer, stratos will > decide to delete the cartridge-vm & re-spawn the new instance of it. > > > > Regards > > Manas > > > > > > > > > > *From:* Lasindu Charith [mailto:lasi...@wso2.com] > *Sent:* Friday, October 10, 2014 6:29 PM > *To:* dev > *Subject:* Re: Which Timer in Stratos Triggers Cartridge Deletion When > its Unreachable > > > > Hi Manas, > > > > You should change the member 'expiryTimeout' property in > <STRATOS_HOME>/repository/conf/autoscaler.xml in order to adjust the > timeout value. > > > > Thanks, > > > > On Fri, Oct 10, 2014 at 6:18 PM, Manas Padegaonkar -T (mpadegao - ARICENT > TECHNOLOGIES HOLDINGS LIMITED at Cisco) <mpade...@cisco.com> wrote: > > Hi, > > > > Wanted to know which timer in stratos will trigger the deletion of > existing Active Cartridge when it becomes unreachable. > > > > Regards > > Manas > > > > > > > > -- > > *Lasindu Charith* > > Software Engineer, WSO2 Inc. > > Mobile: +94714427192 > > Web: blog.lasindu.com > > > > > > -- > > Rajkumar Rajaratnam > Software Engineer | WSO2, Inc. > > Mobile +94777568639 | +94783498120 > -- Rajkumar Rajaratnam Software Engineer | WSO2, Inc. Mobile +94777568639 | +94783498120