From user-return-19500-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Wed Aug 3 22:23:57 2011 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 D95867DCF for ; Wed, 3 Aug 2011 22:23:57 +0000 (UTC) Received: (qmail 78621 invoked by uid 500); 3 Aug 2011 22:23:55 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 78547 invoked by uid 500); 3 Aug 2011 22:23:54 -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 78539 invoked by uid 99); 3 Aug 2011 22:23:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Aug 2011 22:23:54 +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 (nike.apache.org: local policy) Received: from [208.113.200.5] (HELO homiemail-a57.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Aug 2011 22:23:47 +0000 Received: from homiemail-a57.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a57.g.dreamhost.com (Postfix) with ESMTP id 9F590208060 for ; Wed, 3 Aug 2011 15:23:25 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=thelastpickle.com; h=from :mime-version:content-type:subject:date:in-reply-to:to :references:message-id; q=dns; s=thelastpickle.com; b=lBQ4JQDOU9 RWdmX3zgiMaTVeJ7f6vWEfwt50hL7VifP1Cx3bNVeE/mKSyxX/QUfqMDWhzh3XOr +dTONxwM+Cq/3S1VMSJ0SpQ6P7hTuPhm+R9I6ITsMqFZKWhdEXarWHiL3foSIeGB s7CcSCyWcWkywf7JV365mI2tJqyFaq62g= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thelastpickle.com; h=from :mime-version:content-type:subject:date:in-reply-to:to :references:message-id; s=thelastpickle.com; bh=lypgt5QKD7O+/UYD quJInnEgA2U=; b=SLLALkuIqE+uH7DLbz9fTuUCXqj3zNRuIZfl19W1PPc7aF3r JIpBo4ohKJjYTf3cvPAxFwzFfaqo9k8oQFvo4McFaDMfHTJeqxZzH08ZpgRP1fBw ZbJzPl/EzJKu2vniRKZW1VkC+c06hpd+RWBGVUDTwA8p5uz9N8+SSyxpTY4= Received: from [192.168.112.38] (115-64-146-148.static.tpgi.com.au [115.64.146.148]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a57.g.dreamhost.com (Postfix) with ESMTPSA id 94114208058 for ; Wed, 3 Aug 2011 15:23:24 -0700 (PDT) From: aaron morton Mime-Version: 1.0 (Apple Message framework v1244.3) Content-Type: multipart/alternative; boundary="Apple-Mail=_28BD3102-BE03-4B1B-A297-61C4753461F9" Subject: Re: Install Cassandra on EC2 Date: Thu, 4 Aug 2011 08:23:21 +1000 In-Reply-To: <01F4214A-59A6-4254-AD61-BD13CBE6C8CF@gmail.com> To: user@cassandra.apache.org References: <01F4214A-59A6-4254-AD61-BD13CBE6C8CF@gmail.com> Message-Id: <401343D0-1F6A-439B-A9E7-AE5B4BF8A518@thelastpickle.com> X-Mailer: Apple Mail (2.1244.3) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_28BD3102-BE03-4B1B-A297-61C4753461F9 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 Pre build AMI here=20 = http://www.datastax.com/dev/blog/setting-up-a-cassandra-cluster-with-the-d= atastax-ami Cheers ----------------- Aaron Morton Freelance Cassandra Developer @aaronmorton http://www.thelastpickle.com On 4 Aug 2011, at 03:24, Jeremy Hanna wrote: > Some quick thoughts that might be helpful: >=20 > - use ephemeral instances and RAID0 over the local volumes for both = cassandra's data as well as the log directory. The log directory = because if you crash due to heap size, the heap dump will be stored in = the log directory. you don't want that to go in your root/OS partition. >=20 > - probably want to stripe across AZs so that a single AZ failure = doesn't affect you as much. >=20 > - for seeds, it's nice to use elastic ips so that your seed = configuration doesn't have to change if a node is replaced. >=20 > - the ec2snitch makes it so each AZ appears as a rack wrt topology - = simpler as it inspects the ec2 metadata. if you need more than one DC = in your cluster (we need a second virtual DC for analytics), you'll = probably want to use the property file snitch. there's a cross region = ec2snitch that's coming in 1.0. >=20 > would probably be good to add some ec2 specific tips in the wiki. the = page that dave mentioned is a good step-by-step, but there's been a lot = of community knowledge accumulated about best practices in the year = since that was done. >=20 > On Aug 3, 2011, at 8:28 AM, Eldad Yamin wrote: >=20 >> Hi, >> Is there any manual or important notes I should know before I try to = install Cassandra on EC2? >>=20 >> Thanks! >=20 --Apple-Mail=_28BD3102-BE03-4B1B-A297-61C4753461F9 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1 Pre = build AMI here 
On 4 Aug 2011, at 03:24, Jeremy Hanna wrote:

Some = quick thoughts that might be helpful:

- use ephemeral instances = and RAID0 over the local volumes for both cassandra's data as well as = the log directory.  The log directory because if you crash due to = heap size, the heap dump will be stored in the log directory.  you = don't want that to go in your root/OS partition.

- probably want = to stripe across AZs so that a single AZ failure doesn't affect you as = much.

- for seeds, it's nice to use elastic ips so that your seed = configuration doesn't have to change if a node is replaced.

- the = ec2snitch makes it so each AZ appears as a rack wrt topology - simpler = as it inspects the ec2 metadata.  if you need more than one DC in = your cluster (we need a second virtual DC for analytics), you'll = probably want to use the property file snitch.  there's a cross = region ec2snitch that's coming in 1.0.

would probably be good to = add some ec2 specific tips in the wiki.  the page that dave = mentioned is a good step-by-step, but there's been a lot of community = knowledge accumulated about best practices in the year since that was = done.

On Aug 3, 2011, at 8:28 AM, Eldad Yamin = wrote:

Hi,
Is there any manual or important notes I should know = before I try to install Cassandra on EC2?

Thanks!


= --Apple-Mail=_28BD3102-BE03-4B1B-A297-61C4753461F9--