Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 272B22004F2 for ; Sat, 26 Aug 2017 22:16:53 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 257A9164BB1; Sat, 26 Aug 2017 20:16:53 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 456EA164BB0 for ; Sat, 26 Aug 2017 22:16:52 +0200 (CEST) Received: (qmail 33463 invoked by uid 500); 26 Aug 2017 20:16:51 -0000 Mailing-List: contact dev-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list dev@ignite.apache.org Received: (qmail 33451 invoked by uid 99); 26 Aug 2017 20:16:50 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Aug 2017 20:16:50 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 4E0B41A23D7 for ; Sat, 26 Aug 2017 20:16:50 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.792 X-Spam-Level: *** X-Spam-Status: No, score=3.792 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, URI_HEX=1.313] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gridgain-com.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id DAlaG21b1pef for ; Sat, 26 Aug 2017 20:16:48 +0000 (UTC) Received: from mail-lf0-f53.google.com (mail-lf0-f53.google.com [209.85.215.53]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 122985F4DC for ; Sat, 26 Aug 2017 20:16:48 +0000 (UTC) Received: by mail-lf0-f53.google.com with SMTP id d202so9883540lfd.5 for ; Sat, 26 Aug 2017 13:16:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gridgain-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=QO5AxGNYQanvsQuE89OQ6r0c0YA+pwYVx68d6w/tqBc=; b=PFKldaPETIPnax0gQkMsCdsYd4lXmlIn9i7i6wzPJ3pPPZ8ObaY4HS976zJpKtHobR EbfxwKGWDEmg/LDBhHXTXZSQlXSMbegMEFBu64/lGUEjcLVcXSZdoNFES17hNdv0BdAy q9e7sBM/m2I1LagrqXAOskMEnRb7vvuVMpN4FhQ6Jb4O0LiOC7F6nUrDaoBnJvJXru7A 1VokgxUKjk0r2FEMKBFKswpbKBKSD67qH6z5+jjGlJPEZQEULtwQ0eXhcXayk43ZaLwl Ml2tio3Hag5+CClTzGKEjhRZuSnmAyLeJsrqZAF5qm9B7yjVSnNVrVFg57Hzt6cZyPxr RFVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=QO5AxGNYQanvsQuE89OQ6r0c0YA+pwYVx68d6w/tqBc=; b=S0o82wU9UAO0iP/nXXAfe7atM3OlFwe44XBqdmoxlBQMNBq1rz86Fk3rrmryYZXsE7 eE1wlejrwEhK/hkzSUSmh82UtAlYSdboHg2AN5r7M9T+mn3NVZzVoonYyJDO0UhAF/Ci m3xG/qH1t7BS0AgsXRZI33PTwUDdG+oasJmE/IF361iylN7w/eFUnOn4PX6ohrL3oBfZ bFIMK4loNOPwsekcOoSC+ObR4seOWl0lXUMjTjrpEbrke9H4tvnFT41g3Ux7jf+VomMK nbFEgV3UK4yPlxLdMIHv5P6HQetn9KVyt7DW5zsBDRmioy8MUtQTrv32gijJlG3DvbV+ C99A== X-Gm-Message-State: AHYfb5jSmlKKpxaNVVQjVBBWohkHRTh012EeIVQVv3XYXttxGg1G5z+v M57h1ChA7peckBN8eMxzjG9rrh3+xn59nKc= X-Received: by 10.25.157.2 with SMTP id g2mr878703lfe.29.1503778600950; Sat, 26 Aug 2017 13:16:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.46.33.196 with HTTP; Sat, 26 Aug 2017 13:16:40 -0700 (PDT) In-Reply-To: References: <638B1A0F-5042-496E-8213-ED6521A59F84@apache.org> From: Sergey Kozlov Date: Sat, 26 Aug 2017 23:16:40 +0300 Message-ID: Subject: Re: Shell script to stop Ignite node To: dev@ignite.apache.org Content-Type: multipart/alternative; boundary="001a1141030254b3080557adbdd8" archived-at: Sat, 26 Aug 2017 20:16:53 -0000 --001a1141030254b3080557adbdd8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sure, Dmitriy Filed the issue [1] [1] https://issues.apache.org/jira/browse/IGNITE-6191 On Sat, Aug 26, 2017 at 12:35 AM, Dmitriy Setrakyan wrote: > Huge +1 > > We badly need Linux specific installation packages. Sergey, can you file = a > ticket? > > D. > > On Tue, Aug 22, 2017 at 12:51 AM, Sergey Kozlov > wrote: > > > Hi > > > > Looks like we're trying reinvent a bicycle. > > > > First we have to admit that current installation procedure is very poor > > ("unzip and run"). As result we need scripts to manage Apache Ignite > > process(es) > > > > We should to move to better integration under *nix system (at least), > > namely: > > > > 1. Provide a script to *nix for start/stop/restart/reload Apache Ignite > as > > system service (a deamon). At the beginning we can focus on Ubuntu and > > RedHat (CentOS) > > > > 2. Provide the start confugration for Apache Ignite where provide > > non-spring options like number of Apache Ignite instances, JVM options, > > work/log directories etc (at might be ini file) > > > > 3. Provide platform-adopted packages (*.pkg, *deb) in the own repositor= y > > that will install (upgrade) Apache Ignite in proper directories, for > > instance: configuration in /etc/ignite/config, visorcmd in /usr/sbin, > start > > scripts in /etc/init.d, work directory in /var/lib/ignite, logs in > > /var/log/ignite/. It will significally reduce the efforts to install > Apache > > Ignite for newbies ("just add the reporsitory and run package manager") > > > > > > > > On Tue, Aug 22, 2017 at 2:16 AM, Dmitriy Setrakyan < > dsetrakyan@apache.org> > > wrote: > > > > > Completely agree. Why do we have Visor CLI join the cluster at all? I= t > > > should be issuing REST requests to the cluster remotely. Essentially, > > every > > > command should be a REST request/response. > > > > > > Is this possible? > > > > > > D. > > > > > > On Mon, Aug 21, 2017 at 12:25 PM, Denis Magda > wrote: > > > > > > > Igniters, > > > > > > > > I would propose to make this a feature of Visor CLI. > > > > > > > > Recently we=E2=80=99ve added the script to control a cluster activa= tion [1] > > > > explaining that Visor CLI is not flexible for that. If we keep movi= ng > > > this > > > > way at some point there will be the whole zoo of scripts. > > > > > > > > Why don=E2=80=99t we improve Visor CLI letting it connect to the cl= uster in > the > > > > simplest way and embed the proposed feature in it? > > > > > > > > [1] http://apache-ignite-developers.2346864.n4.nabble. > > > > com/Control-sh-script-and-cluster-activation-td20821.html > > > > That=E2=80=99s the second > > > > > > > > =E2=80=94 > > > > Denis > > > > > > > > > On Aug 21, 2017, at 11:44 AM, Valentin Kulichenko < > > > > valentin.kulichenko@gmail.com> wrote: > > > > > > > > > > +1 > > > > > > > > > > -Val > > > > > > > > > > On Mon, Aug 21, 2017 at 9:06 AM, Yakov Zhdanov < > yzhdanov@apache.org> > > > > wrote: > > > > > > > > > >> Guys, > > > > >> > > > > >> Currently to stop node on a particular server (not using visor o= r > > web > > > > >> console) I need to run "jps" and then "kill" with a pid. > > > > >> > > > > >> What if we create ignite-stop.sh which will display the list of > > > started > > > > >> nodes on local host and allow user to choose one to stop. Also i= t > > > should > > > > >> support --all param to stop all and probably a signal. > > > > >> > > > > >> Thoughts? > > > > >> > > > > >> --Yakov > > > > >> > > > > > > > > > > > > > > > > > > > -- > > Sergey Kozlov > > GridGain Systems > > www.gridgain.com > > > --=20 Sergey Kozlov GridGain Systems www.gridgain.com --001a1141030254b3080557adbdd8--