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 46553200CEC for ; Mon, 21 Aug 2017 21:25:24 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 44C42165772; Mon, 21 Aug 2017 19:25:24 +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 AF0E3165771 for ; Mon, 21 Aug 2017 21:25:23 +0200 (CEST) Received: (qmail 62455 invoked by uid 500); 21 Aug 2017 19:25:22 -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 62440 invoked by uid 99); 21 Aug 2017 19:25:22 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Aug 2017 19:25:22 +0000 Received: from [192.168.75.66] (c-67-160-238-197.hsd1.ca.comcast.net [67.160.238.197]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id AC2131A002B for ; Mon, 21 Aug 2017 19:25:21 +0000 (UTC) From: Denis Magda Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: Shell script to stop Ignite node Date: Mon, 21 Aug 2017 12:25:19 -0700 References: To: dev@ignite.apache.org In-Reply-To: Message-Id: <638B1A0F-5042-496E-8213-ED6521A59F84@apache.org> X-Mailer: Apple Mail (2.3273) archived-at: Mon, 21 Aug 2017 19:25:24 -0000 Igniters, I would propose to make this a feature of Visor CLI. Recently we=E2=80=99ve added the script to control a cluster activation = [1] explaining that Visor CLI is not flexible for that. If we keep = moving 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 cluster = in the simplest way and embed the proposed feature in it? [1] = http://apache-ignite-developers.2346864.n4.nabble.com/Control-sh-script-an= d-cluster-activation-td20821.html That=E2=80=99s the second=20 =E2=80=94 Denis > On Aug 21, 2017, at 11:44 AM, Valentin Kulichenko = wrote: >=20 > +1 >=20 > -Val >=20 > On Mon, Aug 21, 2017 at 9:06 AM, Yakov Zhdanov = wrote: >=20 >> Guys, >>=20 >> Currently to stop node on a particular server (not using visor or web >> console) I need to run "jps" and then "kill" with a pid. >>=20 >> 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 it = should >> support --all param to stop all and probably a signal. >>=20 >> Thoughts? >>=20 >> --Yakov >>=20