Hi Prasanna,
After <StratosManager>, you should add the following tag which defines the
expiryTimeout
<member>
<expiryTimeout>900000</expiryTimeout>
</member>
So your autoscaler.xml should look like below.
<configuration>
<autoscaler>
<rulesEvaluator>
<schedule>
<initialDelay>30</initialDelay>
<period>15</period>
</schedule>
</rulesEvaluator>
<cloudController>
<hostname>CC_HOSTNAME</hostname>
<port>CC_LISTEN_PORT</port>
<clientTimeout>300000</clientTimeout>
</cloudController>
<stratosManager>
<hostname>SM_HOSTNAME</hostname>
<port>SM_LISTEN_PORT</port>
<!-- <clientTimeout>300000</clientTimeout> -->
<clientTimeout>900000</clientTimeout>
</stratosManager>
<member>
<expiryTimeout>900000</expiryTimeout>
</member>
</autoscaler>
</configuration>
On Thu, Aug 7, 2014 at 11:23 AM, Prasanna Dangalla <[email protected]>
wrote:
> Hi
>
> I'm doploying a php cartrige using stratos and a puppet master. After 15
> minites it says the following message and starts deploying another cartrige.
>
>
> *Pending state of member:
> prasanew8.php.domaina9a84401-34af-489c-85bf-5f2e1e4fa4ac is expired. Adding
> as an obsoleted member. {org.apache.stratos.autoscaler.PartitionContext}*
>
>
> My stratos installer config/all/repository/conf/autoscaler.xml file looks
> like this. ()
>
> <configuration>
> <autoscaler>
> <rulesEvaluator>
> <schedule>
> <initialDelay>30</initialDelay>
> <period>15</period>
> </schedule>
> </rulesEvaluator>
> <cloudController>
> <hostname>CC_HOSTNAME</hostname>
> <port>CC_LISTEN_PORT</port>
> <clientTimeout>300000</clientTimeout>
> </cloudController>
> <stratosManager>
> <hostname>SM_HOSTNAME</hostname>
> <port>SM_LISTEN_PORT</port>
> <!-- <clientTimeout>300000</clientTimeout> -->
> <clientTimeout>900000</clientTimeout>
> </stratosManager>
> </autoscaler>
> </configuration>
>
> I adjusted stratosManager clientTimeout and reinstalled stratos. Still it
> start deploying a new one after 15 minitus. Is there another place to
> change this ?
>
> Thanks
>
> Prasanna Dangalla
> Software Engineer, WSO2, Inc.; http://wso2.com/
> lean.enterprise.middleware
>
> cell: +94 777 55 80 30 | +94 718 11 27 51
> twitter: @prasa77
>
--
*Lasindu Charith*
Software Engineer, WSO2 Inc.
Mobile: +94714427192
Web: blog.lasindu.com