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 92EC5109DD for ; Mon, 30 Sep 2013 07:42:59 +0000 (UTC) Received: (qmail 67892 invoked by uid 500); 30 Sep 2013 07:40:55 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 67737 invoked by uid 500); 30 Sep 2013 07:40:52 -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 67658 invoked by uid 99); 30 Sep 2013 07:40:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Sep 2013 07:40:49 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [209.85.192.169] (HELO mail-pd0-f169.google.com) (209.85.192.169) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Sep 2013 07:40:45 +0000 Received: by mail-pd0-f169.google.com with SMTP id r10so5333458pdi.28 for ; Mon, 30 Sep 2013 00:40:24 -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:content-type:message-id:mime-version :subject:date:references:to:in-reply-to; bh=KENVv3UZShlvU94/RQmjqcu6zbI7OotWVnfbF4yLSkg=; b=cPIkv5PQK6KU0mdnML8e/mLiJ/bVL+u0QUz6TpSqYynYohC9E342DEbjYILJHDt9Vi w1GJBluPnxTbmMUV8U4PY23hB/luj5Sps6HlNt3m65o94fvEL87e4ReHrNGmiQFOQPkO 6qfkq1a7GrzI/sSuMOEfcnFU4+JvDVARILVX183Xa17/J3JdWtdaM/AItuSYCCkm7VHG nZbClc8p2kaYy6PLWOOTZuLJOGZJR4wCXu2vtT2imXKpA70VTGVMWsyH8UeMD+K/Qejc lQC+Oks4letFFq9huA1nZtvCZ4QlKOx0p8hRD3HYsRMluf6xQ2809C6ac/heyTp7oP86 B+Tw== X-Gm-Message-State: ALoCoQleEKtkgJhG4mAhJYOOHydNe3dpqIyj7zYLRymPgldHAn4fvWBi2UipV+OD+5BBW+A/NGuS X-Received: by 10.66.188.203 with SMTP id gc11mr26078140pac.63.1380526824683; Mon, 30 Sep 2013 00:40:24 -0700 (PDT) Received: from [172.16.1.18] ([203.86.207.101]) by mx.google.com with ESMTPSA id ct4sm25008872pbb.41.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 30 Sep 2013 00:40:24 -0700 (PDT) From: Aaron Morton Content-Type: multipart/alternative; boundary="Apple-Mail=_F51C5B7E-DBD0-4C35-B188-F597CC767ADC" Message-Id: <77DD200C-2132-46A8-B258-548F244C329F@thelastpickle.com> Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: What is the best way to install & upgrade Cassandra on Ubuntu ? Date: Mon, 30 Sep 2013 20:40:20 +1300 References: To: user@cassandra.apache.org In-Reply-To: X-Mailer: Apple Mail (2.1510) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_F51C5B7E-DBD0-4C35-B188-F597CC767ADC Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 > I am not sure if I should use datastax's DSC or official Debian = packages from Cassandra. How do I choose between them for a production = server ? They are technically the same.=20 The DSC update will come out a little after the Apache release, and I = _think_ they release for every Apache release. > 1. when I upgrade to a newer version, would that retain my previous = configurations so that I don't need to configure everything again ?=20 Yes if you select that when doing the package install.=20 > 2. would that smoothly replace the previous installation by itself ? Yes > 3. what's the way (kindly, if you can tell the command) to upgrade ? = http://www.datastax.com/documentation/cassandra/2.0/webhelp/index.html#upg= rade/upgradeC_c.html#concept_ds_yqj_5xr_ck > 4. when should I prefer datastax's dsc to that ? (I need to install = for production env.) Above Hope that helps.=20 ----------------- Aaron Morton New Zealand @aaronmorton Co-Founder & Principal Consultant Apache Cassandra Consulting http://www.thelastpickle.com On 27/09/2013, at 11:01 PM, Ertio Lew wrote: > I am not sure if I should use datastax's DSC or official Debian = packages from Cassandra. How do I choose between them for a production = server ? >=20 >=20 >=20 > On Fri, Sep 27, 2013 at 11:02 AM, Ertio Lew = wrote: >=20 > Could you please clarify that: > 1. when I upgrade to a newer version, would that retain my previous = configurations so that I don't need to configure everything again ?=20 > 2. would that smoothly replace the previous installation by itself ? > 3. what's the way (kindly, if you can tell the command) to upgrade ? > 4. when should I prefer datastax's dsc to that ? (I need to install = for production env.) >=20 >=20 > On Fri, Sep 27, 2013 at 12:50 AM, Robert Coli = wrote: > On Thu, Sep 26, 2013 at 12:05 PM, Ertio Lew = wrote: > How do you install Cassandra on Ubuntu & later how do you upgrade the = installation on the node when an update has arrived ? Do you simply = download & replace the latest tar.gz, untar it to replace the older = cassandra files? How do you do it ? How does this upgrade process differ = for a major version upgrade, like say switching from 1.2 series to 2.0 = series ? >=20 > Use the deb packages. To upgrade, install the new package. Only = upgrade a single major version. and be sure to consult NEWS.txt for any = upgrade caveats. >=20 > Also be aware of this sub-optimal behavior of the debian packages : >=20 > https://issues.apache.org/jira/browse/CASSANDRA-2356 >=20 > =3DRob >=20 >=20 >=20 --Apple-Mail=_F51C5B7E-DBD0-4C35-B188-F597CC767ADC Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1
I am not sure if I should = use datastax's DSC or official Debian packages from Cassandra. How do I = choose between them for a production server ?
They are = technically the same. 
The DSC update will come out a little = after the Apache release, and I _think_ they release for every Apache = release.

 1. =  when I upgrade to a newer version, would that retain my previous = configurations so that I don't need to configure everything again = ? 
Yes if you select that when doing the = package install. 

2.  would that smoothly = replace the previous installation by itself = ?

Yes

3.  what's the way = (kindly, if you can tell the command) to upgrade = ?


4. when should I prefer = datastax's dsc to that ? (I need to install for production = env.)
= Above

Hope that = helps. 


http://www.thelastpickle.com

On 27/09/2013, at 11:01 PM, Ertio Lew <ertiop93@gmail.com> = wrote:

I am not sure if I should use datastax's = DSC or official Debian packages from Cassandra. How do I choose between = them for a production server ?



On Fri, Sep 27, 2013 at 11:02 AM, Ertio Lew <ertiop93@gmail.com> = wrote:

 Could you please clarify = that:
1.  when I upgrade to a newer version, would that retain = my previous configurations so that I don't need to configure everything = again ? 
2.  would that smoothly replace the previous installation by itself = ?
3.  what's the way (kindly, if you can tell the = command) to upgrade ?
4. when should I prefer datastax's = dsc to that ? (I need to install for production env.)


On Fri, Sep 27, = 2013 at 12:50 AM, Robert Coli <rcoli@eventbrite.com> wrote:
On= Thu, Sep 26, 2013 at 12:05 PM, Ertio Lew <ertiop93@gmail.com> wrote:
How do you install = Cassandra on Ubuntu & later how do you upgrade the installation on = the node when an update has arrived ? Do you simply download & = replace the latest tar.gz, untar it to replace the older cassandra = files? How do you do it ? How does this upgrade process differ for a = major version upgrade, like say switching from 1.2 series to 2.0 series = ?

Use the = deb packages. To upgrade, install the new package. Only upgrade a single = major version. and be sure to consult NEWS.txt for any upgrade = caveats.

Also be aware of this sub-optimal = behavior of the debian packages :


=3DRob




= --Apple-Mail=_F51C5B7E-DBD0-4C35-B188-F597CC767ADC--