Hi Udara, Yeah this is the requirement.
As Manula said this can be happen due to PP host machine crashed. Thanks, Gayan On Tue, Oct 7, 2014 at 10:40 AM, Udara Liyanage <[email protected]> wrote: > > ---------- Forwarded message ---------- > From: Udara Liyanage <[email protected]> > Date: Tue, Oct 7, 2014 at 10:37 AM > Subject: Re: How do we restart the Private PAAS > To: Reka Thirunavukkarasu <[email protected]> > Cc: Manula Chathurika Thantriwatte <[email protected]>, Gayan Gunarathne < > [email protected]>, WSO2 Developers' List <[email protected]>, Nirmal Fernando < > [email protected]>, Akila Ravihansa Perera <[email protected]>, Dinesh > Bandara <[email protected]>, Imesh Gunaratne <[email protected]>, Isuru > Haththotuwa <[email protected]>, Lasindu Charith <[email protected]>, Lahiru > Sandaruwan <[email protected]>, Lakmal Warusawithana <[email protected]>, > Rajkumar Rajaratnam <[email protected]>, Isuru Perera <[email protected]>, > Sajith Kariyawasam <[email protected]>, Shiroshica Kulatilake < > [email protected]>, Chamila De Alwis <[email protected]> > > > Hi Gayan, > > I think I have misunderstood your requirement when I replied last time. > I think you are referring to a state where > you boot up PP > instances are spawned > Now you stop the vm which PP is running? > I am correct? > > My first concern is why someone stop the PP instance in a production > environment? > > > > On Tue, Oct 7, 2014 at 10:29 AM, Reka Thirunavukkarasu <[email protected]> > wrote: > >> Hi >> >> If ips are getting changed, can we follow one of these approaches? >> >> 1. We unsubscribe and undeploy the cartridges before stopping. May be we >> can create a script to do that. Later, when they start again we can ask the >> user to start with -t and configure the relevant services again. In this >> case, user will loose any configured cartridges with apps. But he can >> subscribe again with the same git URL. Assumption is that the user kept all >> the apps modification in the Git. Also, user has to wait a bit to get the >> system up and running after the restart, since all the cartridge has to be >> spun again. >> >> 2. Another case is to use MB and send the changed ips to cartridge >> instances using instance-notifier topic and restart cartridge agent. We >> need to make sure the cluster monitor shouldn't spin any new instances >> while the cartridge agent is restarting. >> >> Are these still feasible solution? If not, is there any other way of >> handling this? >> >> Thanks, >> Reka >> >> On Tue, Oct 7, 2014 at 10:13 AM, Manula Chathurika Thantriwatte < >> [email protected]> wrote: >> >>> Hi Gayan, >>> >>> AFAIK these options only valid for restart Stratos scenario. If we stop >>> the EC2 instance and start it again, the public and private IPs of that EC2 >>> instance got changed. Then the spin up cartridge instances didn't aware of >>> this new IPs of Stratos. >>> >>> Thanks ! >>> >>> >>> On Tue, Oct 7, 2014 at 9:59 AM, Gayan Gunarathne <[email protected]> >>> wrote: >>> >>>> Adding dev list >>>> >>>> Use case of this is EC2 instance stop and start again.In this case what >>>> is our recommendation procedure for user to follow start the private PASS >>>> again? >>>> >>>> AFAIK there are two options in the boot.sh. (-s and -t) >>>> >>>> -s for silent mode >>>> -t for configure services only mode >>>> >>>> Are we recommend user to use one of those options and start the >>>> private pass again? AFAIU -t option will be fitted in to this type of >>>> scenario. >>>> >>>> Thanks, >>>> Gayan >>>> >>>> >>>> >>>> On Mon, Oct 6, 2014 at 7:10 PM, Udara Liyanage <[email protected]> wrote: >>>> >>>>> Hi, >>>>> >>>>> If the instances are getting restarted, that means instances are not >>>>> getting activated. Look for puppet logs and agent log for the issue. >>>>> >>>>> If you want to terminate the instances and clean the system. >>>>> First un deploy services. Then instances will be terminated. After >>>>> that execute clean.sh if you want to clean the system. >>>>> >>>>> @gayan you can use wso2 dev list for this kind of e-mails right ? >>>>> >>>>> On Mon, Oct 6, 2014 at 6:57 PM, Gayan Gunarathne <[email protected]> >>>>> wrote: >>>>> >>>>>> Hi All, >>>>>> >>>>>> What is our recommended method to restart the Private PASS? This need >>>>>> to be done when the EC2 instance is getting restarted. >>>>>> >>>>>> I have used the boot.sh -t option. But still I need to run the >>>>>> clean.sh.Is n't ? >>>>>> >>>>>> There is a JIRA related to this.[1] >>>>>> >>>>>> [1] https://wso2.org/jira/browse/PAAS-139 >>>>>> >>>>>> >>>>>> Thanks, >>>>>> Gayan >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> Udara Liyanage >>>>> Software Engineer >>>>> WSO2, Inc.: http://wso2.com >>>>> lean. enterprise. middleware >>>>> >>>>> web: http://udaraliyanage.wordpress.com >>>>> phone: +94 71 443 6897 >>>>> >>>> >>>> >>>> >>>> -- >>>> >>>> >>>> Gayan Gunarathne >>>> Technical Lead >>>> WSO2 Inc. (http://wso2.com) >>>> email : [email protected] | mobile : +94 766819985 >>>> >>>> >>> >>> >>> >>> -- >>> Regards, >>> Manula Chathurika Thantriwatte >>> Software Engineer >>> WSO2 Inc. : http://wso2.com >>> lean . enterprise . middleware >>> >>> email : [email protected] / [email protected] >>> phone : +94 772492511 >>> blog : http://manulachathurika.blogspot.com/ >>> >>> >>> >>> >> >> >> -- >> Reka Thirunavukkarasu >> Senior Software Engineer, >> WSO2, Inc.:http://wso2.com, >> Mobile: +94776442007 >> >> >> > > > -- > > Udara Liyanage > Software Engineer > WSO2, Inc.: http://wso2.com > lean. enterprise. middleware > > web: http://udaraliyanage.wordpress.com > phone: +94 71 443 6897 > > > > -- > > Udara Liyanage > Software Engineer > WSO2, Inc.: http://wso2.com > lean. enterprise. middleware > > web: http://udaraliyanage.wordpress.com > phone: +94 71 443 6897 > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Best Regards, Gayan Gunarathne Technical Lead WSO2 Inc. (http://wso2.com) email : [email protected] | mobile : +94 766819985
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
