stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nirmal Fernando <nirmal070...@gmail.com>
Subject Re: Stop Apache Stratos Servers
Date Thu, 03 Apr 2014 09:37:20 GMT
Hi,

We now have a single product + MB in the simplest deployment. Probably you
have missed some discussions?


On Thu, Apr 3, 2014 at 2:59 PM, Akila Ravihansa Perera
<ravihansa@wso2.com>wrote:

> Hi,
>
> @Nirmal: Sure, I'll start working on that :)
>
> In addition to a stop_server.sh script I think it would be better if we
> can create a new service for Stratos like Chris mentioned. Shall we add
> this function to "setup.sh" script?
>
> Basically the function will copy the startup script; eg -
> /etc/init.d/apache-stratos, and it will have start, restart, stop, status
> operations.
> But there are lot of products that runs under Apache Stratos (cc, mb, lb
> etc). Do we need to create scripts for each products separately OR bundle
> all that together to a single script?
>
> Thanks
>
>
> On Thu, Apr 3, 2014 at 2:37 PM, chris snow <chsnow123@gmail.com> wrote:
>
>> A script that in turn could be called from init.d script would be great!
>>
>> On Thu, Apr 3, 2014 at 10:04 AM, Nirmal Fernando <nirmal070125@gmail.com>
>> wrote:
>> > Thanks for bringing this up. In fact, I think we need a stop_servers.sh
>> > which will gracefully shut down all the servers that has been started.
>> >
>> > @Akila would you be able to contribute such a script? :-)
>> >
>> >
>> > On Thu, Apr 3, 2014 at 2:15 PM, Akila Ravihansa Perera <
>> ravihansa@wso2.com>
>> > wrote:
>> >>
>> >> Hi,
>> >>
>> >> Is there a cleaner way to stop Apache Stratos servers? I started the
>> >> servers by running <stratos-setup>/start_servers.sh. But this will
>> start all
>> >> products like cc,mb,cep etc. But when I need to stop these servers I
>> have to
>> >> manually find them through "ps" command and kill them.
>> >>
>> >> Is there a better way to do this? Or am I doing something wrong at the
>> >> first place?
>> >>
>> >> Thanks.
>> >>
>> >> --
>> >> Akila Ravihansa Perera
>> >> Software Engineer
>> >> WSO2 Inc.
>> >> http://wso2.com
>> >>
>> >> Phone: +94 77 64 154 38
>> >> Blog: http://ravihansa3000.blogspot.com
>> >
>> >
>> >
>> >
>> > --
>> > Best Regards,
>> > Nirmal
>> >
>> > Nirmal Fernando.
>> > PPMC Member & Committer of Apache Stratos,
>> > Senior Software Engineer, WSO2 Inc.
>> >
>> > Blog: http://nirmalfdo.blogspot.com/
>>
>>
>>
>> --
>> Check out my professional profile and connect with me on LinkedIn.
>> http://lnkd.in/cw5k69
>>
>
>
>
> --
> Akila Ravihansa Perera
> Software Engineer
> WSO2 Inc.
> http://wso2.com
>
> Phone: +94 77 64 154 38
> Blog: http://ravihansa3000.blogspot.com
>



-- 
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Member & Committer of Apache Stratos,
Senior Software Engineer, WSO2 Inc.

Blog: http://nirmalfdo.blogspot.com/

Mime
View raw message