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 8B1E5200C91 for ; Sun, 28 May 2017 04:40:40 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 86D1C160BDA; Sun, 28 May 2017 02:40:40 +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 CBF6F160BD7 for ; Sun, 28 May 2017 04:40:39 +0200 (CEST) Received: (qmail 26261 invoked by uid 500); 28 May 2017 02:40:38 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 26249 invoked by uid 99); 28 May 2017 02:40:38 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 May 2017 02:40:38 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 8DA52C195F for ; Sun, 28 May 2017 02:40:37 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.48 X-Spam-Level: X-Spam-Status: No, score=0.48 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=pbandjelly-org.20150623.gappssmtp.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id Fql4THc8WiF3 for ; Sun, 28 May 2017 02:40:36 +0000 (UTC) Received: from mail-oi0-f50.google.com (mail-oi0-f50.google.com [209.85.218.50]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 9DE5A5F297 for ; Sun, 28 May 2017 02:40:35 +0000 (UTC) Received: by mail-oi0-f50.google.com with SMTP id w10so49261308oif.0 for ; Sat, 27 May 2017 19:40:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pbandjelly-org.20150623.gappssmtp.com; s=20150623; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=n8PRu+0Bot5uo66KfwfcmM4ql3soc7a0Ap1KpahFoo4=; b=xR951avLFflBbTTihFqE8y+evsfgjy/S+EEATAXnsEYesxfwYjisApTqhw7Qr5l6Q6 DnkO12LeDzW9eCZfIwBVS6wkc5Q1CYJco9vyirolyB67RMh19pKWVAr5IYCg/lUmI2QN vnfqI/ehgGl5ryhDMD2r9zW7VXm5WfSfrC0CXl2yBsnYcADCxsyM5QN/N+3tDPP5KtDO p9Sx3xlY+Hj9yULkER+UL3O/aXHs1j0pmJu+nOT8Ih/sHurfZU6/OWU068DVtPsMmG9p RiObI38s++5V6Sxjo3Kvgbvjown6GBEuml6A0f5T1X37AqRp5hd2ILQWvHzBwbfiicqk EkeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=n8PRu+0Bot5uo66KfwfcmM4ql3soc7a0Ap1KpahFoo4=; b=i4slj/7uZG2Z6wnRJ3Ke/bGjHi5H8xz0WUXEw+5opSEnrBeC5JRw15334QiQAely2c 3mezy5/yin5iDazYGOcbvk4Lm/uNanVba8T2SWeUReFrK4Va75pYvr+Ui0F/tGcSFNxD DoFdJ51uKzabQ8Ju0Ejvo/jjaV6RbHewi/ilb//0hRxRti3sRg36JC50JI3tm8IFazXg 2mlcIKYB3h1uvfZKapjER6UOEBuTw11cVtgob7nMGH0KBUwXNQBN2/X1iNfNPebTQDeS JKYhSAM8nIeJ7EltMyM6Egk/cJvQKLhSBBVldT9NIJdj7nWN2WX+Yn/pPjcGhO4dBju9 kPuw== X-Gm-Message-State: AODbwcB61TU7eG2tnkrD3eWgHAVefzR69xLyepmTkpdrYV3k9+vD0AQO 3zycVVXm3DmXmhIxMtc= X-Received: by 10.157.80.144 with SMTP id b16mr4032292oth.172.1495939234054; Sat, 27 May 2017 19:40:34 -0700 (PDT) Received: from ?IPv6:2605:6000:1019:1ac:6e88:14ff:fe15:4124? ([2605:6000:1019:1ac:6e88:14ff:fe15:4124]) by smtp.googlemail.com with ESMTPSA id r48sm2635389otr.41.2017.05.27.19.40.33 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 27 May 2017 19:40:33 -0700 (PDT) Sender: Michael Shuler Subject: Re: How do you do automatic restacking of AWS instance for cassandra? To: user@cassandra.apache.org References: From: Michael Shuler Message-ID: Date: Sat, 27 May 2017 21:40:32 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit archived-at: Sun, 28 May 2017 02:40:40 -0000 On 05/27/2017 09:13 PM, Surbhi Gupta wrote: > We get the new AMI release with the new OS updates and we are not > allowed to use the old AMI . Neither of Jeff's suggestions use the old AMI - that was my suggestion :) > On Sat, May 27, 2017 at 7:11 PM Jeff Jirsa > wrote: > > At a previous employer, they used M4 class instances with data on a > dedicated EBS volumes, so we could swap AMIs / stop / start / adjust > instances without having to deal with this. This worked reasonably > well for their scale (which was petabytes of data). This suggestion seems like a nice way to easily cycle out old AMIs to a new AMI quickly, getting rid of any data migration. A one-time pain to switch to EBS with many benfits, which lends itself to automation well. > Other companies using ephemeral tend to be more willing to just > terminate instances and replace them (-Dcassandra.replace_address). > If you stop cassandra, then boot a replacement with > 'replace_address' set, it'll take over for the stopped instance, > including re-streaming all data (as best it can, subject to > consistency level and repair status). This may be easier for you to > script than switching your fleet to EBS, but it's not without risk. This suggestion for ephemeral data disks also seems like a possibly more manageable way to cycle out old AMIs to a new AMI via individual node replacement. The rest of the cluster needs to be healthy, and it may mean an almost continuous node replacement, depending on node count. This is potentially a lot less overall cluster load, since one replacement node is streaming at a time, instead of all the data streaming to a new replacement DC. Easier to automate than a replacement DC, perhaps, too. -- Kind regards, Michael --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@cassandra.apache.org For additional commands, e-mail: user-help@cassandra.apache.org