Return-Path: X-Original-To: apmail-stratos-dev-archive@minotaur.apache.org Delivered-To: apmail-stratos-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 023AA105B1 for ; Thu, 3 Apr 2014 09:37:49 +0000 (UTC) Received: (qmail 28604 invoked by uid 500); 3 Apr 2014 09:37:47 -0000 Delivered-To: apmail-stratos-dev-archive@stratos.apache.org Received: (qmail 28392 invoked by uid 500); 3 Apr 2014 09:37:46 -0000 Mailing-List: contact dev-help@stratos.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stratos.incubator.apache.org Delivered-To: mailing list dev@stratos.incubator.apache.org Received: (qmail 28385 invoked by uid 99); 3 Apr 2014 09:37:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Apr 2014 09:37:45 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of nirmal070125@gmail.com designates 209.85.213.175 as permitted sender) Received: from [209.85.213.175] (HELO mail-ig0-f175.google.com) (209.85.213.175) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Apr 2014 09:37:41 +0000 Received: by mail-ig0-f175.google.com with SMTP id ur14so7507415igb.8 for ; Thu, 03 Apr 2014 02:37:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=G7NrxJPT+94d2Jbnk2L9+3MYNMdulku78C2yf2xwvSE=; b=eIfHWscDExSVqrV4AiK6hixb6XUg841oUZeqK2TsKhF2phYCpvmoLu0tEwWBzBqdgn RebozRaZIaWzfVNaJUS4XDNMSpUV5NhIWosb619YzNKV/GlcmDE7MP3cRVEGYZfyDb9o GF8jCmGMWZn5r8bQmUAB34YMvPy9bd/AGDwFrrXlOoR3u0O2TwosE3B3J0ExhJn7mbhL qnWcBfB4ZJ3sQugojF745KssBEoSWVlJm9BPz+rQL7xfTipb88hlXQQUO/w5n0W7vQ0f QGO2NRryEJPpHZKD/Wr/9VGCzUGQf7a/A1h3LzXp+xK7Z9N40P03dWvOwUC2YZ/ye/5l HzSw== MIME-Version: 1.0 X-Received: by 10.50.92.102 with SMTP id cl6mr6827734igb.44.1396517840845; Thu, 03 Apr 2014 02:37:20 -0700 (PDT) Received: by 10.64.12.134 with HTTP; Thu, 3 Apr 2014 02:37:20 -0700 (PDT) In-Reply-To: References: Date: Thu, 3 Apr 2014 15:07:20 +0530 Message-ID: Subject: Re: Stop Apache Stratos Servers From: Nirmal Fernando To: "dev@stratos.incubator.apache.org" Content-Type: multipart/alternative; boundary=047d7b10cc33d383be04f62025c7 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b10cc33d383be04f62025c7 Content-Type: text/plain; charset=ISO-8859-1 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 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 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 >> 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 /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/ --047d7b10cc33d383be04f62025c7 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi,

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


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

@Nir= mal: Sure, I'll start working on that :)

In ad= dition to a stop_server.sh script I think it would be better if we can crea= te a new service for Stratos like Chris mentioned. Shall we add this functi= on 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, statu= s operations.=A0
But there are lot of products that runs under Ap= ache Stratos (cc, mb, lb etc). Do we need to create scripts for each produc= ts separately OR bundle all that together to a single script?

Thanks


On Thu, Ap= r 3, 2014 at 2:37 PM, chris snow <chsnow123@gmail.com> wro= te:
A script that in turn could be called from i= nit.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.s= h
> 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 t= he
>> servers by running <stratos-setup>/start_servers.sh. But thi= s 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<= br> >>
>> 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: htt= p://nirmalfdo.blogspot.com/



--
Check out my professional profile and connect with me on LinkedIn.
http://lnkd.in/cw5k69



--



--
Best Regards,
Nirmal

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

--047d7b10cc33d383be04f62025c7--