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 B6A42CE2C for ; Mon, 30 Apr 2012 03:22:29 +0000 (UTC) Received: (qmail 94574 invoked by uid 500); 30 Apr 2012 03:22:27 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 94452 invoked by uid 500); 30 Apr 2012 03:22:27 -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 94345 invoked by uid 99); 30 Apr 2012 03:22:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Apr 2012 03:22:26 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=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-a54.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Apr 2012 03:22:20 +0000 Received: from homiemail-a54.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a54.g.dreamhost.com (Postfix) with ESMTP id 84A6D3A4061; Sun, 29 Apr 2012 20:21:57 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=thelastpickle.com; h=subject :mime-version:content-type:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; q=dns; s= thelastpickle.com; b=E81F4qeXKEQ+fCkUZZXbwBzxUAkX6bqs9ZMIG573WWK 4bYsVyaSzX73BWorX7ZoleXweDb0U7RPwgvM6qt0/UZxg50zeDgJOWqSbnAJGEho kN3BO3rrf7k4ph2hYrs137fPYdtJLLApfqnVa2ne267aHPty2t0rWC2U+O4v7gGU = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thelastpickle.com; h= subject:mime-version:content-type:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; s= thelastpickle.com; bh=Fh2S0lrjl32u+1jjx0Erl/ghalY=; b=AJDd6deQ7D Q6oBmSLQoQq8WOC7NfSMtZoEsQQMdXS1UuAtHfXIPqhwW34+qZ9oYTcBN8Iu91Sr TH1Zx3BGw+ZsBcuI3jm044AnnDxr10RtrGrLxAztXOeMpYXY0tYld0l8itHWfWpV jxWWTNzgPR/eS4b1Rasl60UY1DR05nDB8= Received: from [192.168.1.52] (unknown [203.109.195.29]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a54.g.dreamhost.com (Postfix) with ESMTPSA id 971BF3A4058; Sun, 29 Apr 2012 20:21:56 -0700 (PDT) Subject: Re: EC2 Best Practices Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset=us-ascii From: aaron morton X-Priority: 3 (Normal) In-Reply-To: <1335392286.v2.mailanyonewebmail-596227@fuseweb2d> Date: Mon, 30 Apr 2012 15:22:08 +1200 Content-Transfer-Encoding: quoted-printable Message-Id: <43608DBF-DAB2-40FC-953E-9952AC7633ED@thelastpickle.com> References: <1335392286.v2.mailanyonewebmail-596227@fuseweb2d> To: user@cassandra.apache.org, dbrosius@mebigfatguy.com X-Mailer: Apple Mail (2.1257) > node that fail had the token id of 0 (this is the seed node - right?). Seed nodes are listed in the seeds: section of the cassandra.yaml file.=20= Using 0 as a token for a node is normal. Cheers ----------------- Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 26/04/2012, at 10:18 AM, Dave Brosius wrote: > 0 is a perfectly valid id. >=20 > node - 1 is modulo the maximum token value. that token range is 0 - = 2**127 >=20 > so node - 1 in this case is 2**127 >=20 >=20 > ----- Original Message ----- > From: "Deno Vichas" =20 > Sent: Wed, April 25, 2012 18:11 > Subject: Re: EC2 Best Practices >=20 >=20 > =20 > has anybody written up anything related to recovery for fails in EC2? >=20 > this morning i woke up to find 1 (of 4) nodes marked as unreachable. = i used the datastax (1.0.7) ami to set u p my clu ster and the node that = fail had the token id of 0 (this is the seed node - right?). the docs = says to replace a failed node to set the token to failed node - 1, which = i don't think would work. luckily rebooting the machine =20 >=20 > but i'm left with the question of what should i do if node with the = token ID of 0 fails and should i even have a node with that ID. >=20 >=20 > thanks, > deno >=20 >=20 >=20 > On 2/23/2012 11:21 AM, aaron morton wrote: >> General EC2 setup. >> =20 >> http://www.datastax.com/docs/1.0/install/install_ami >> http://wiki.apache.o rg/cassa ndra/CloudConfig >> =20 >> Cassandra with a VPN on EC2. =46rom memory it talks about using the = VPN within EC2.=20 >> = http://blog.vcider.com/2011/09/running-cassandra-on-a-virtual-network-in-e= c2/ >> =20 >> Clients need a single port (9160) to talk to the cluster. >> =20 >> Hope that helps.=20 >>=20 >> =20 >>=20 >> ----------------- >> Aaron Morton >> Freelance Developer >> @aaronmorton >> http://www.thelastpickle.com >>=20 >> On 24/02/2012, at 3:46 AM, Philip Shon wrote: >>=20 >>> Are there any good resources for best practices when running = Cassandra within EC2? I'm particularly interested in the security = issues, when the servers communicating w/ Cassandra are outside of EC2. >>> =20 >>> Thanks, >>> =20 >>> -Phil >=20 > =20