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 C2FB74FCA for ; Thu, 23 Jun 2011 11:58:28 +0000 (UTC) Received: (qmail 97679 invoked by uid 500); 23 Jun 2011 11:58:26 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 97602 invoked by uid 500); 23 Jun 2011 11:58:26 -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 97591 invoked by uid 99); 23 Jun 2011 11:58:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jun 2011 11:58:26 +0000 X-ASF-Spam-Status: No, hits=1.8 required=5.0 tests=FREEMAIL_FROM,FREEMAIL_REPLY,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sdolgy@gmail.com designates 209.85.212.44 as permitted sender) Received: from [209.85.212.44] (HELO mail-vw0-f44.google.com) (209.85.212.44) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jun 2011 11:58:18 +0000 Received: by vws12 with SMTP id 12so1798602vws.31 for ; Thu, 23 Jun 2011 04:57:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type:content-transfer-encoding; bh=2sfKPtrao3lB2npceLqjm2liFrZ4Y/tHb0rmThM6Lyw=; b=xlqdypFljFEVCvHb1tEM2p0aiXGUG7gfLw3529AzeEibn+BAoQjwheQ5g5kdiCzr+y l+INBX16lKKqFKEiIXkL4h8k3fQW80lg6xxwXIIwbqte9AKEJ0os5BwVksp3FTsO+jQM cgCE4iidhgS1n3OyNrFqE56wMnevFUVqDgOIA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=NUcXxJxKsn5Wvo6OTqWz0RNLis0M7vjHKG+vXSh06+IEtryELJa6nWeLL22rHeFxdi EJcMIMTbb0PlE4cywXSrRFWM1hhc2ACB4pTv+53rUdgc1vlid3c5bNbbR8+wNlCTn9iF oaK78qhy1bltPMndtSSh0H2HFI0cRU1p/bc8A= Received: by 10.52.27.193 with SMTP id v1mr1697830vdg.31.1308830277759; Thu, 23 Jun 2011 04:57:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.168.137 with HTTP; Thu, 23 Jun 2011 04:57:37 -0700 (PDT) In-Reply-To: References: <9C5FFE07-56CA-468E-8BF8-7DCBD77508C4@thelastpickle.com> <1303905319905-6309153.post@n2.nabble.com> From: Sasha Dolgy Date: Thu, 23 Jun 2011 13:57:37 +0200 Message-ID: Subject: Re: advice for EC2 deployment To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org are you able to open a connection from one of the nodes to a node on the other side? us-east to us-west? could your problem be as simple as connectivity and/or security group configuration? On Thu, Jun 23, 2011 at 1:51 PM, pankaj soni wro= te: > hey, > I have got my ec2 multi-dc across AZ's but in same region us-east. > Now I am trying to deploy cassandra over multiple regions that is ec2 us > west, singapore and us-east. I have edited the config file as > sasha's reply below. > though when I run nodetool in each DC, I only see the nodes from that > region. That is EC2 US west is showing only 2 nodes which are up in that > region > but not the other 2 which are there in US-east. > Kindly suggest a solution. > -thanks > On Wed, Apr 27, 2011 at 5:45 PM, Sasha Dolgy wrote: >> >> Hi, >> >> If I understand you correctly, you are trying to get a private ip in >> us-east speaking to the private ip in us-west. =A0to make your life >> easier, configure your nodes to use hostname of the server. =A0if it's >> in a different region, it will use the public ip (ec2 dns will handle >> this for you) and if it's in the same region, it will use the private >> ip. =A0this way you can stop worrying about if you are using the public >> or private ip to communicate with another node. =A0let the aws dns do >> the work for you. >> >> just make sure you are using v0.8 with SSL turned on and have the >> appropriate security group definitions ... >> >> -sasha >> >> >> >> On Wed, Apr 27, 2011 at 1:55 PM, pankajsoni0126 >> wrote: >> > I have been trying to deploy Cassandra cluster across regions and for >> > that I >> > posted this "IP address resolution in MultiDC setup". >> > >> > But when it is to get nodes talking to each other on different regions >> > say, >> > us-east and us-west over private IP's of EC2 nodes I am facing problem= s. >> > >> > I am assuming if Cassandra is built for multi-DC setup it should be >> > easily >> > deployed with node1's DC1's public IP listed as seed in all nodes in D= C2 >> > and >> > to gain idea about network topology? I have hit a dud for deployment i= n >> > such >> > scenario. >> > >> > Or is it there any way possible to use Private IP's for such a scenari= o >> > in >> > EC2, as Public Ip are less secure and costly? > > --=20 Sasha Dolgy sasha.dolgy@gmail.com