From user-return-36913-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Wed Oct 2 03:11:44 2013 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 057DF10F78 for ; Wed, 2 Oct 2013 03:11:44 +0000 (UTC) Received: (qmail 97552 invoked by uid 500); 2 Oct 2013 03:11:39 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 97542 invoked by uid 500); 2 Oct 2013 03:11:39 -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 97534 invoked by uid 99); 2 Oct 2013 03:11:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Oct 2013 03:11:37 +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 (athena.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [209.85.160.52] (HELO mail-pb0-f52.google.com) (209.85.160.52) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Oct 2013 03:11:33 +0000 Received: by mail-pb0-f52.google.com with SMTP id wz12so265262pbc.25 for ; Tue, 01 Oct 2013 20:11:13 -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=mKP1DTWj8DO905QijMQi/0AlT+MuxXcuwyhli/Qyef4=; b=XQOzX+poAbzMfl2/TrV9fML5AyLlZeUfYEHmkJcM/N1P7OfgvPpifO/EE7TYjLNgwk lVBElu+yp+BRl9yHuXPye+17LsbWGl2CiWZcX4gvVyE45a5LBKLR32AcaTfPK3m7b5q7 OaVPTaf6hu+UsQiamZUrhCbX0eeF6icSivwp5p/P03//xBI9b5yqZj4qlZDio6xLwYKL ERzckbSESPXCCCHTyGR1xO/n0SU3Yk9HIj+SlRvj0rvW3l4goCG9/K+qVYQbnXh24ETQ Df+I/r5facoeNGDHKOsXpsC5iOoK2ARao76fbLnNuwHBV0HeGMUdQ/slIIge6RwxPQcD 2IHw== X-Gm-Message-State: ALoCoQnlGWxTiQvmZi0k/chwkba+KNB4nfju+SI7gZgnWcO6EVOYHOZk5izXeu0AbHUlnrWIldac X-Received: by 10.68.171.164 with SMTP id av4mr110477pbc.94.1380683473114; Tue, 01 Oct 2013 20:11:13 -0700 (PDT) Received: from [172.16.1.18] ([203.86.207.101]) by mx.google.com with ESMTPSA id kd1sm248023pab.20.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 01 Oct 2013 20:11:12 -0700 (PDT) From: Aaron Morton Content-Type: multipart/alternative; boundary="Apple-Mail=_4F0266F8-37C9-4234-BAEA-46A641BB3C92" Message-Id: <24D5D8B8-2384-4E5A-BBA6-854ECF100297@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: Wed, 2 Oct 2013 16:11:07 +1300 References: <77DD200C-2132-46A8-B258-548F244C329F@thelastpickle.com> 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=_4F0266F8-37C9-4234-BAEA-46A641BB3C92 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 > Does DSC include other things like Opscenter by default ?=20 Not sure, I've normally installed it with an existing cluster. > Would it be possible to remove any of these installations but keeping = the data intact & easily switch to the another, I mean switching from = DSC package to apache one or vice versa ? Yes.=20 Same code, same data.=20 A ----------------- Aaron Morton New Zealand @aaronmorton Co-Founder & Principal Consultant Apache Cassandra Consulting http://www.thelastpickle.com On 30/09/2013, at 9:58 PM, Ertio Lew wrote: > Thanks Aaron!=20 >=20 > Does DSC include other things like Opscenter by default ? I installed = DSC on linux, but Opscenter wasn't installed there but when tried on = Windows it was installed along with JRE & python, using the windows = installer.=20 >=20 > Would it be possible to remove any of these installations but keeping = the data intact & easily switch to the another, I mean switching from = DSC package to apache one or vice versa ? >=20 >=20 > On Mon, Sep 30, 2013 at 1:10 PM, Aaron Morton = 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 ? > 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. >=20 >> 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 >=20 > Yes if you select that when doing the package install.=20 >=20 >> 2. would that smoothly replace the previous installation by itself ? >=20 >=20 > Yes >=20 >> 3. what's the way (kindly, if you can tell the command) to upgrade ? >=20 >=20 > = http://www.datastax.com/documentation/cassandra/2.0/webhelp/index.html#upg= rade/upgradeC_c.html#concept_ds_yqj_5xr_ck >=20 >> 4. when should I prefer datastax's dsc to that ? (I need to install = for production env.) >=20 > Above >=20 > Hope that helps.=20 >=20 >=20 > ----------------- > Aaron Morton > New Zealand > @aaronmorton >=20 > Co-Founder & Principal Consultant > Apache Cassandra Consulting > http://www.thelastpickle.com >=20 > On 27/09/2013, at 11:01 PM, Ertio Lew wrote: >=20 >> 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 >=20 >=20 --Apple-Mail=_4F0266F8-37C9-4234-BAEA-46A641BB3C92 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=iso-8859-1
Does DSC include other things like Opscenter by default ? 
Not sure, I've normally installed it with an existing cluster.

Would it be possible to remove any of these installations but keeping the data intact & easily switch to the another, I mean switching from DSC package to apache one or vice versa ?
Yes. 
Same code, same data. 

A

-----------------
Aaron Morton
New Zealand
@aaronmorton

Co-Founder & Principal Consultant
Apache Cassandra Consulting

On 30/09/2013, at 9:58 PM, Ertio Lew <ertiop93@gmail.com> wrote:

Thanks Aaron! 

Does DSC include other things like Opscenter by default ? I installed DSC on linux, but Opscenter wasn't installed there but when tried on Windows it was installed along with JRE & python, using the windows installer. 

Would it be possible to remove any of these installations but keeping the data intact & easily switch to the another, I mean switching from DSC package to apache one or vice versa ?


On Mon, Sep 30, 2013 at 1:10 PM, Aaron Morton <aaron@thelastpickle.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 ?
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. 


-----------------
Aaron Morton
New Zealand
@aaronmorton

Co-Founder & Principal Consultant
Apache Cassandra Consulting

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 :


=Rob






--Apple-Mail=_4F0266F8-37C9-4234-BAEA-46A641BB3C92--