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 3169A18B1A for ; Tue, 26 May 2015 14:03:12 +0000 (UTC) Received: (qmail 1703 invoked by uid 500); 26 May 2015 14:03:03 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 1661 invoked by uid 500); 26 May 2015 14:03:03 -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 1651 invoked by uid 99); 26 May 2015 14:03:03 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 May 2015 14:03:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id AF47DC0922 for ; Tue, 26 May 2015 14:03:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.98 X-Spam-Level: ** X-Spam-Status: No, score=2.98 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id eBe-BxC3u16P for ; Tue, 26 May 2015 14:02:57 +0000 (UTC) Received: from mail-ig0-f181.google.com (mail-ig0-f181.google.com [209.85.213.181]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 97DA020DC7 for ; Tue, 26 May 2015 14:02:56 +0000 (UTC) Received: by igbpi8 with SMTP id pi8so60030166igb.0 for ; Tue, 26 May 2015 07:02:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:references:in-reply-to:mime-version :thread-index:date:message-id:subject:to:content-type; bh=oKkBH62c5GC4ZThgfz8ZAVSYs9JxLLw4NmS90qIcR/E=; b=F2nWe7ssVONaPi7A/WF2Sp/TpUkJBrepnWbvGwWIigR9yGUnCJFaEH1WCABlVJevZV FqaYNOZy7wd1EnauXyB2RNqlxiXxPErhqKiAJVV2UF7tmBlcmfW0D+9oUhhHXXT6XeUt G5oishowdmPRmcKee8Ki7/4slGmpYR6yRo1UKVqqVfyE8qJY2uwAEwnowzwyfgAMBGSY G/2o4GaMn0pcm/mH979BhdSI/LLDB1MPlEU+VxVn5WUYV4nFr5emYdOvk0zrrk48SwG+ ajBKFxU4eq8JAc5Lc4RfLRXeJ4ZxUEHFIt6e4tLV2MG9xMptULLuHVRZDIgLTjJHa4BX mxhw== X-Gm-Message-State: ALoCoQlj/A9jLF6zSYgQxSgklLu99kF0LHgSKGReaCWd9DBTSfF18UW1Papy/ZdE3QhoetIx6odj X-Received: by 10.50.59.132 with SMTP id z4mr21187428igq.41.1432648975394; Tue, 26 May 2015 07:02:55 -0700 (PDT) From: Matthew Johnson References: <32eb61526be6c54f48b49da3e039e8dc@mail.gmail.com> In-Reply-To: MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQIwgi9ElcH0EQO5ua2lqRnS1Y35DgMWi5LcnLW/UmA= Date: Tue, 26 May 2015 15:02:54 +0100 Message-ID: Subject: RE: Start with single node, move to 3-node cluster To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=047d7bdca360444e550516fc953b --047d7bdca360444e550516fc953b Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Jason, When the 3N cluster is up and running, I need to get the data from SN into the 3N cluster and then give the SN server back. So I need to keep the data, but on completely new servers =E2=80=93 just trying to work out what = the best way of doing that is. The volume of data that needs migrating won=E2=80=99t= be huge, probably about 30G, but it is data that I definitely need to keep (for historical analysis, audit etc). Thanks! Matthew *From:* Jason Wee [mailto:peichieh@gmail.com] *Sent:* 26 May 2015 14:38 *To:* user@cassandra.apache.org *Subject:* Re: Start with single node, move to 3-node cluster will you add this lent one node into the 3N to form a cluster? but really , if you are just started, you could use this one node for your learning by installing multiple instances for experiments or development purposes only. imho, in the long run, this proove to be very valuable, as least for me. with this single node, you can easily simulate like c* upgrade. for instance, c* right now is at 2.1.5, when 2.2 went stable, you can test using your multiple instances on this single node to simulate your production environment safely. hth jason On Tue, May 26, 2015 at 9:24 PM, Matthew Johnson wrote: Hi gurus, We have ordered some hardware for a 3-node cluster, but its ETA is 6 to 8 weeks. In the meantime, I have been lent a single server that I can use. I am wondering what the best way is to set up my single node (SN), so I can then move to the 3-node cluster (3N) when the hardware arrives. Do I: 1. Create my keyspaces on SN with RF=3D1, and when 3N is up and runni= ng migrate all the data manually (either through Spark, dump-and-load, or write a small script)? 2. Create my keyspaces on SN with RF=3D3, bootstrap the 3N nodes into= a 4-node cluster when they=E2=80=99re ready, then remove SN from the cluster? 3. Use SN as normal, and when 3N hardware arrives, physically move the data folder and commit log folder onto one of the nodes in 3N and start it up as a seed? 4. Any other recommended solutions? I=E2=80=99m not even sure what the impact would be of running a single node= with RF=3D3 =E2=80=93 would this even work? Any ideas would be much appreciated. Thanks! Matthew --047d7bdca360444e550516fc953b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Hi= Jason,

=C2=A0<= /span>

When the 3N clu= ster is up and running, I need to get the data from SN into the 3N cluster = and then give the SN server back. So I need to keep the data, but on comple= tely new servers =E2=80=93 just trying to work out what the best way of doi= ng that is. The volume of data that needs migrating won=E2=80=99t be huge, = probably about 30G, but it is data that I definitely need to keep (for hist= orical analysis, audit etc).

=C2=A0

Thanks!

Matthew

=C2=A0=

=C2=A0<= /p>

=C2=A0

From: Jason Wee [ma= ilto:peichieh@gmail.com]
S= ent: 26 May 2015 14:38
To: user@cassandra.apache.org
Subject: Re: Start with = single node, move to 3-node cluster

=C2=A0=

will you add this lent one node into the 3N= to form a cluster? but really , if you are just started, you could use thi= s one node for your learning by installing multiple instances for experimen= ts or development purposes only. imho, in the long run, this proove to be v= ery valuable, as least for me.=C2=A0

=C2=A0<= /p>

with this single node, you can easily = simulate like c* upgrade. for instance, c* right now is at 2.1.5, when 2.2 = went stable, you can test using your multiple instances on this single node= to simulate your production environment safely.

=C2=A0

hth

=C2=A0

jason

<= /div>

=C2=A0

On Tue, May 26, 2015 at 9:24 PM, Matthew Johnson <matt.johnson@algomi.com> wr= ote:

Hi gurus,

=C2=A0

We have ordered some h= ardware for a 3-node cluster, but its ETA is 6 to 8 weeks. In the meantime,= I have been lent a single server that I can use. I am wondering what the b= est way is to set up my single node (SN), so I can then move to the 3-node = cluster (3N) when the hardware arrives.

=C2= =A0

Do I:

= =C2=A0

1.=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 Create my keyspaces on SN with RF=3D1, and when 3N is up a= nd running migrate all the data manually (either through Spark, dump-and-lo= ad, or write a small script)?

2.=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Create my keyspaces on SN with RF= =3D3, bootstrap the 3N nodes into a 4-node cluster when they=E2=80=99re rea= dy, then remove SN from the cluster?

3.=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Use SN as normal, and when 3N= hardware arrives, physically move the data folder and commit log folder on= to one of the nodes in 3N and start it up as a seed?

4.=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Any other rec= ommended solutions?

=C2=A0

I=E2=80=99m not even sure what the impact would be of runni= ng a single node with RF=3D3 =E2=80=93 would this even work?

=C2=A0

Any ideas would be= much appreciated.

=C2=A0

Thanks!

Matthew

=C2=A0

=C2= =A0

--047d7bdca360444e550516fc953b--