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 CB9834C4A for ; Wed, 25 May 2011 22:17:37 +0000 (UTC) Received: (qmail 17122 invoked by uid 500); 25 May 2011 22:17:35 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 17097 invoked by uid 500); 25 May 2011 22:17:35 -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 17087 invoked by uid 99); 25 May 2011 22:17:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 May 2011 22:17:35 +0000 X-ASF-Spam-Status: No, hits=3.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,URI_HEX 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, 25 May 2011 22:17:28 +0000 Received: from homiemail-a57.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a57.g.dreamhost.com (Postfix) with ESMTP id 44A10208060 for ; Wed, 25 May 2011 15:17:05 -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=qYS9DWSf// I0kjjboQIyS6A5yiEkG4mees+e/4pTRrxrCOgNlPDZiEq6zDvs6IFH7QgVPMQ41W 7w3yj0HVVl0I25R891Uzb6xzIlsY3/QE96dhOX7fFZ5Z6++ssq5g37IaCdbF1Vyr WLVnEfxq4cj0zw6UmQ5uxk4cjiTzWayWU= 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=NIfHYhvH6XSxem0K deN7LGe/AtQ=; b=wtWcpWD8wqTIOO91gCd291hOtVdixqaNwFsCucjwXweJANuR yzfALZLwAtmRVqZT1jGQ1mBvYT9boKr1WsyFzrjylIk40iSDKPM/YBxC5rqZQwKS sRllhCyI8NvL39gRXFlEr5fKoZxMtF1/WcOhm3WRDym8wQuxUYUSRoiA/ek= Received: from [10.0.1.151] (121-73-157-230.cable.telstraclear.net [121.73.157.230]) (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 9FC2E208058 for ; Wed, 25 May 2011 15:17:04 -0700 (PDT) From: aaron morton Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: multipart/alternative; boundary=Apple-Mail-4--510376939 Subject: Re: EC2 node adding trouble Date: Thu, 26 May 2011 10:17:01 +1200 In-Reply-To: To: user@cassandra.apache.org References: <6AF0D2D6-EB8B-47BC-800C-F9AD87B21E0B@synchromedia.co.uk> <92B77E13-AB3B-43CB-8635-1BB072BC9D44@thelastpickle.com> Message-Id: <1D7FA216-EF41-43D7-9E5F-0F620E729A19@thelastpickle.com> X-Mailer: Apple Mail (2.1084) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-4--510376939 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii I've seen discussion of using the EIP but I do not have direct = experience.=20 Others may be able to provide more help.=20 Previous discussion=20 = http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Does-anyb= ody-have-experience-with-running-Cassandra-in-Amazon-s-Virtual-Private-Clo= ud-VPC-td6335709.html cheers ----------------- Aaron Morton Freelance Cassandra Developer @aaronmorton http://www.thelastpickle.com On 25 May 2011, at 18:49, Marcus Bointon wrote: > On 25 May 2011, at 02:10, aaron morton wrote: >=20 >> Check the listen_address and rpc_address in the yaml file for each = node. I think they are normally set to the private and public = respectively.=20 >=20 > On all modes, listen_address and rpc_address are blank and 0.0.0.0 = respectively, the seed node address uses an EC2 external elastic IP's = DNS name so that it resolves correctly to the seed's internal IP even if = it changes. Those settings work fine for my existing pair - starting and = stopping the instances (resulting in internal IP changes) doesn't break = anything. As far as I can see, setting fixed IPs in here is a recipe for = management nightmares on EC2. >=20 > Sound sane? >=20 > Marcus --Apple-Mail-4--510376939 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii I've = seen discussion of using the EIP but I do not have direct = experience. 

Others may be able to provide more = help. 

Previous = discussion 

cheers

-----------------
<= div style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; = -webkit-line-break: after-white-space; ">
Aaron = Morton
Freelance Cassandra = Developer
@aaronmorton

On 25 May 2011, at 18:49, Marcus Bointon wrote:

On 25 = May 2011, at 02:10, aaron morton wrote:

Check the listen_address and rpc_address in the yaml file = for each node. I think they are normally set to the private and public = respectively.

On all modes, listen_address and = rpc_address are blank and 0.0.0.0 respectively, the seed node address = uses an EC2 external elastic IP's DNS name so that it resolves correctly = to the seed's internal IP even if it changes. Those settings work fine = for my existing pair - starting and stopping the instances (resulting in = internal IP changes) doesn't break anything. As far as I can see, = setting fixed IPs in here is a recipe for management nightmares on = EC2.

Sound = sane?

Marcus

= --Apple-Mail-4--510376939--