Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8F175109F6 for ; Tue, 3 Sep 2013 18:11:48 +0000 (UTC) Received: (qmail 1599 invoked by uid 500); 3 Sep 2013 18:11:46 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 1580 invoked by uid 500); 3 Sep 2013 18:11:45 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 1572 invoked by uid 99); 3 Sep 2013 18:11:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Sep 2013 18:11:45 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of rcoli@eventbrite.com designates 209.85.216.44 as permitted sender) Received: from [209.85.216.44] (HELO mail-qa0-f44.google.com) (209.85.216.44) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Sep 2013 18:11:38 +0000 Received: by mail-qa0-f44.google.com with SMTP id w8so1489671qac.10 for ; Tue, 03 Sep 2013 11:11:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=4Hi+Y2Gb614JWVGRnAGdvIkFrlWmkYZEhfduqDtpbc0=; b=IhyKHQVrEYvW6ltk4NCup++qAWBb24alvajg7kXZwDjG0Ac7POFUuGdYb89b/gY1rr ps9O7KrTeyqd3aKjOAUPTCkGoo63kvkayT8auZCfH4yVCaErK+R0Gw7xTcbt+Y2SexbZ 4VOA/FQ85Rl85gwPY1zK4NHEaESYe84Yj2iRqqjG4LesromzhgSYNZAkvEgQv2DRkGmG j7RyZLm65Q9kBvRV9CiEH7A1DR47StR3yhzMtP2u3V2FhK4r9kv6bwofyRmCOWd0DzrZ feqb84JGDXaR73LEOx0pi2ni3Y36TQKUQcDR0IKP7pE8KcejHQMBJARdK52iIIUNrKST AXTw== X-Gm-Message-State: ALoCoQnD43cLvjMUVNYRNttdPquuowiCetqP3Es0apVKQIWK+aKau7vuKKqt4tYU2PTqgUFntFy8 MIME-Version: 1.0 X-Received: by 10.224.161.144 with SMTP id r16mr2380501qax.86.1378231877068; Tue, 03 Sep 2013 11:11:17 -0700 (PDT) Received: by 10.49.67.7 with HTTP; Tue, 3 Sep 2013 11:11:16 -0700 (PDT) In-Reply-To: <1378164094.858494080@f158.i.mail.ru> References: <1378164094.858494080@f158.i.mail.ru> Date: Tue, 3 Sep 2013 11:11:16 -0700 Message-ID: Subject: Re: Cassandra cluster migration in Amazon EC2 From: Robert Coli To: "user@cassandra.apache.org" , Renat Gilfanov Content-Type: multipart/alternative; boundary=089e015374687376fb04e57e9dc2 X-Virus-Checked: Checked by ClamAV on apache.org --089e015374687376fb04e57e9dc2 Content-Type: text/plain; charset=ISO-8859-1 On Mon, Sep 2, 2013 at 4:21 PM, Renat Gilfanov wrote: > - Group 3 of storages into raid0 array, move data directory to the raid0, > and commit log - to the 4th left storage. > - As far as I understand, separation of commit log and data directory > should make performance better - but what about separation the OS from > those two - is it worth doing? > Nope. Best practice for amazon is ephemeral disks, and RAID0 for data + commit log. > - What are the steps to perform such migration? Will it be possible to > perform it without downtime, restarting node by node with new configuration > applied? > I'm especially worried about IP changes, when we'll uprade the instance > type. What's the recomended way to handle those IP changes? > Just set auto_bootstrap:false in cassandra.yaml to change the IP address of a node to which you have copied all the data its token had before its IP address changed and therefore does not need to be bootstrapped. =Rob --089e015374687376fb04e57e9dc2 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Mon, Sep 2, 2013 at 4:21 PM, Renat Gilfanov <grennat@m= ail.ru> wrote:
- Group 3 of storages into raid0 array, move data directory to the rai= d0, and commit log - to the 4th left storage.
=A0- As far as I und= erstand, separation of commit log and data directory should make performanc= e better - but what about separation the OS from those two=A0 - is it worth= doing?

Nope. Best practice for amazon is ephemera= l disks, and RAID0 for data + commit log.
=A0
=A0- What are the steps to perform such migration? Will it be possible= to perform it without downtime, restarting node by node with new configura= tion applied?
=A0I'm especially worried about IP changes, when we= 9;ll uprade the instance type. What's the recomended way to handle thos= e IP changes?

Just set auto_bootstrap:false in cas= sandra.yaml to change the IP address of a node to which you have copied all= the data its token had before its IP address changed and therefore does no= t need to be bootstrapped.

=3DRob
--089e015374687376fb04e57e9dc2--