Hi Gayan,

Yes, we need to sync the PP new IP with the existing instances.

On Tue, Oct 7, 2014 at 11:11 AM, Gayan Gunarathne <gay...@wso2.com> wrote:

> Hi,
>
> On Tue, Oct 7, 2014 at 10:29 AM, Reka Thirunavukkarasu <r...@wso2.com>
> 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.
>>
>
>  AFAIU in this scenario we will spawn new instances. So this will loose
> the works in previous instances.Is n't?
>
>>
>> 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.
>>
> Yeah in this scenario IP of the EC2 instance getting changed.I guess we
> need to sync the PP new IP with the existing instances.
>
>
>
>> 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 <
>> manu...@wso2.com> 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 <gay...@wso2.com>
>>> 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 <ud...@wso2.com> 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 <gay...@wso2.com>
>>>>> 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  : gay...@wso2.com  | mobile : +94 766819985
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Regards,
>>> Manula Chathurika Thantriwatte
>>> Software Engineer
>>> WSO2 Inc. : http://wso2.com
>>> lean . enterprise . middleware
>>>
>>> email : manu...@wso2.com / man...@apache.org
>>> phone : +94 772492511
>>> blog : http://manulachathurika.blogspot.com/
>>>
>>>
>>>
>>>
>>
>>
>> --
>> Reka Thirunavukkarasu
>> Senior Software Engineer,
>> WSO2, Inc.:http://wso2.com,
>> Mobile: +94776442007
>>
>>
>>
>
>
> --
> Best Regards,
>
> Gayan Gunarathne
> Technical Lead
> WSO2 Inc. (http://wso2.com)
> email  : gay...@wso2.com  | mobile : +94 766819985
>
>



-- 
Regards,
Manula Chathurika Thantriwatte
Software Engineer
WSO2 Inc. : http://wso2.com
lean . enterprise . middleware

email : manu...@wso2.com / man...@apache.org
phone : +94 772492511
blog : http://manulachathurika.blogspot.com/
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to