Re: AWS Load Balancing Support - Member gets terminated immediately

2015-07-17 Thread Swapnil Patil
Thanks Rajkumar. It worked. Regards, Swapnil On Fri, Jul 17, 2015 at 8:34 AM, Swapnil Patil wrote: > Thanks! > > Regards, > Swapnil > > On Fri, Jul 17, 2015 at 8:32 AM, Rajkumar Rajaratnam > wrote: > >> You don't need to restart puppet master. You can use the same base image. >> >> Thanks. >>

Re: AWS Load Balancing Support - Member gets terminated immediately

2015-07-17 Thread Swapnil Patil
Thanks! Regards, Swapnil On Fri, Jul 17, 2015 at 8:32 AM, Rajkumar Rajaratnam wrote: > You don't need to restart puppet master. You can use the same base image. > > Thanks. > > On Fri, Jul 17, 2015 at 2:00 PM, Swapnil Patil > wrote: > >> Thanks Rajkumar! >> >> I am not using external CEP. So I

Re: AWS Load Balancing Support - Member gets terminated immediately

2015-07-17 Thread Rajkumar Rajaratnam
You don't need to restart puppet master. You can use the same base image. Thanks. On Fri, Jul 17, 2015 at 2:00 PM, Swapnil Patil wrote: > Thanks Rajkumar! > > I am not using external CEP. So I will just set Stratos IP in base.pp. > > After this, do I need to restart puppet master and this chang

Re: AWS Load Balancing Support - Member gets terminated immediately

2015-07-17 Thread Swapnil Patil
Thanks Rajkumar! I am not using external CEP. So I will just set Stratos IP in base.pp. After this, do I need to restart puppet master and this change will automatically reflected in a newly spawned cartridge instance (using old cartridge image) ? I hope I don't need to create a new cartridge ba

Re: AWS Load Balancing Support - Member gets terminated immediately

2015-07-17 Thread Rajkumar Rajaratnam
On Fri, Jul 17, 2015 at 1:27 PM, Swapnil Patil wrote: > Thanks Rajkumar! > > Do I need to set it in > ​​ > thrift-client-config.xml file in repository/conf folder? > ​If you are using external CEP, you need to specify CEP IP in ​ ​​$STRATOS_HOME/repository/conf/thrift-client-config.xml and you

Re: AWS Load Balancing Support - Member gets terminated immediately

2015-07-17 Thread Swapnil Patil
Thanks Rajkumar! Do I need to set it in thrift-client-config.xml file in repository/conf folder? Regards, Swapnil On Fri, Jul 17, 2015 at 7:27 AM, Rajkumar Rajaratnam wrote: > If you are not using external CEP, then yes CEP IP should be same as > Stratos IP. > > On Fri, Jul 17, 2015 at 12:28 P

Re: AWS Load Balancing Support - Member gets terminated immediately

2015-07-17 Thread Rajkumar Rajaratnam
If you are not using external CEP, then yes CEP IP should be same as Stratos IP. On Fri, Jul 17, 2015 at 12:28 PM, Swapnil Patil wrote: > I checked Stratos log and I did find member fault event. > > TID: [0] [STRATOS] [2015-07-17 06:41:32,767] INFO > {org.apache.stratos.cep.extension.FaultHandl

Re: AWS Load Balancing Support - Member gets terminated immediately

2015-07-16 Thread Swapnil Patil
I checked Stratos log and I did find member fault event. TID: [0] [STRATOS] [2015-07-17 06:41:32,767] INFO {org.apache.stratos.cep.extension.FaultHandlingWindowProcessor} - Faulty member detected [member-id] single-cartridge-app.my-php.php.domain57018954-d22e-4b53-a4c3-2faf6da35da3 with [last ti

Re: AWS Load Balancing Support - Member gets terminated immediately

2015-07-16 Thread Swapnil Patil
Thanks Rajkumar for the suggestion! Regards, Swapnil On Fri, Jul 17, 2015 at 6:05 AM, Rajkumar Rajaratnam wrote: > > > On Fri, Jul 17, 2015 at 11:31 AM, Swapnil Patil > wrote: > >> Thanks Akila and Udara! >> >> I will check Stratos logs. >> >> I need to be very quick to check cartridge agent l

Re: AWS Load Balancing Support - Member gets terminated immediately

2015-07-16 Thread Rajkumar Rajaratnam
On Fri, Jul 17, 2015 at 11:31 AM, Swapnil Patil wrote: > Thanks Akila and Udara! > > I will check Stratos logs. > > I need to be very quick to check cartridge agent log because I cannot > restart the instance once it gets terminated. > ​You can shutdown the stratos once the instance is activated

Re: AWS Load Balancing Support - Member gets terminated immediately

2015-07-16 Thread Swapnil Patil
Thanks Akila and Udara! I will check Stratos logs. I need to be very quick to check cartridge agent log because I cannot restart the instance once it gets terminated. Thanks and Regards, Swapnil On Fri, Jul 17, 2015 at 5:51 AM, Udara Liyanage wrote: > Hi Swapnil, > > You might get a clue if y

Re: AWS Load Balancing Support - Member gets terminated immediately

2015-07-16 Thread Udara Liyanage
Hi Swapnil, You might get a clue if you have a look at cartridge agent's log file. Could you please check your Stratos logs to see if there is a member fault event after the member activated. On Fri, Jul 17, 2015 at 11:14 AM, Akila Ravihansa Perera wrote: > This is probably because instances th

Re: AWS Load Balancing Support - Member gets terminated immediately

2015-07-16 Thread Akila Ravihansa Perera
This is probably because instances that were spawned got activated but failed to publish health stats to CEP. Check whether CEP IP and port are correctly set in the cartridge definition. Did you check Stratos logs for possible causes? On Fri, Jul 17, 2015 at 10:42 AM, Swapnil Patil wrote: > Hi A

AWS Load Balancing Support - Member gets terminated immediately

2015-07-16 Thread Swapnil Patil
Hi All, I am testing the AWS load balancer extension using sample ec2 scripts. I am using simple application scripts for deployment. Application gets deployed successfully but the instance that got created gets terminated immediately (in around 2 minutes) and a new one is started. Just wondering