stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajkumar Rajaratnam <rajkum...@wso2.com>
Subject Re: Which Timer in Stratos Triggers Cartridge Deletion When its Unreachable
Date Fri, 10 Oct 2014 13:43:47 GMT
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) <mpadegao@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:lasindu@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) <mpadegao@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

Mime
View raw message