Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 6845 invoked from network); 23 Feb 2011 06:06:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Feb 2011 06:06:50 -0000 Received: (qmail 80824 invoked by uid 500); 23 Feb 2011 06:06:48 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 80576 invoked by uid 500); 23 Feb 2011 06:06:44 -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 80568 invoked by uid 99); 23 Feb 2011 06:06:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Feb 2011 06:06:43 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of daveviner@gmail.com designates 209.85.215.172 as permitted sender) Received: from [209.85.215.172] (HELO mail-ey0-f172.google.com) (209.85.215.172) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Feb 2011 06:06:36 +0000 Received: by eye13 with SMTP id 13so949146eye.31 for ; Tue, 22 Feb 2011 22:06:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=VTJpkwypoN+KuDUGeu9gCLpv0hR61FAHR5Y0cxCeolQ=; b=TkCQ9tM9SzLWrjWFd/iQPpuQVx4LsATXzL9bdNkrMOY1HwAIPociwWA0SQFM9hK1s2 oe44zS/PT2egJfnmm6l6Srtk5LFECxpc32lqg70Q0B7+iE6nzocu5H62GEeFtHnSdLKr QUPTPtbl+VU0qxafDHGDf9QE877IosjEBmUa8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=tfLOkgjQfuBLmEnOtjBei9WrRCF2cmLJOkcyDQB2LruNPQ+YXJ3bxnSTMF+nABIt0V mC5TnDyFAy7OsPZ4fZiQmdbNKLx/dGvmJvS+0WiWGzH1fPez1jeqYDlcA7JpuULl/jSQ 0D97JW2Fz25hJ0JXSAuFY2Pr90jLfi/YBruqQ= MIME-Version: 1.0 Received: by 10.14.127.206 with SMTP id d54mr3801286eei.36.1298441176001; Tue, 22 Feb 2011 22:06:16 -0800 (PST) Received: by 10.14.127.206 with HTTP; Tue, 22 Feb 2011 22:06:15 -0800 (PST) In-Reply-To: References: Date: Tue, 22 Feb 2011 22:06:15 -0800 Message-ID: Subject: Re: Cassandra nodes on EC2 in two different regions not communicating From: Dave Viner To: user@cassandra.apache.org Cc: Himanshi Sharma Content-Type: multipart/alternative; boundary=90e6ba6151800eac76049cece591 X-Virus-Checked: Checked by ClamAV on apache.org --90e6ba6151800eac76049cece591 Content-Type: text/plain; charset=ISO-8859-1 If you login to one of the nodes, can you telnet to port 7000 on the other node? If not, then almost certainly it's a firewall/Security Group issue. You can find out the security groups for any node by logging in, and then running: % curl "http://169.254.169.254/latest/meta-data/security-groups" Assuming that both nodes are in the same security group, ensure that the SG is configured to allow other members of the SG to communicate on port 7000 to each other. HTH, Dave Viner On Tue, Feb 22, 2011 at 8:59 PM, Himanshi Sharma wrote: > > Hi, > > I am new to Cassandra. I m running Cassandra on EC2. I configured Cassandra > cluster on two instances in different regions. > But when I am trying the nodetool command with ring option, I am getting > only single node. > > How to make these two nodes communicate with each other. I have already > opened required ports. i.e 7000, 8080, 9160 in respective > security groups. Plz help me with this. > > Regards, > Himanshi Sharma > > > =====-----=====-----===== > Notice: The information contained in this e-mail > message and/or attachments to it may contain > confidential or privileged information. If you are > not the intended recipient, any dissemination, use, > review, distribution, printing or copying of the > information contained in this e-mail message > and/or attachments to it are strictly prohibited. If > you have received this communication in error, > please notify us by reply e-mail or telephone and > immediately and permanently delete the message > and any attachments. Thank you > > > --90e6ba6151800eac76049cece591 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable If you login to one of the nodes, can you telnet to port 7000 on the other = node?

If not, then almost certainly it's a firewall/= Security Group issue.

You can find out the securit= y groups for any node by logging in, and then running:


Assuming that both nodes are in= the same security group, ensure that the SG is configured to allow other m= embers of the SG to communicate on port 7000 to each other.

HTH,
Dave Viner


=
On Tue, Feb 22, 2011 at 8:59 PM, Himanshi Sharma= <himanshi.= sharma@tcs.com> wrote:

Hi,

I am new to Cassandra. I m running= Cassandra on EC2. I configured Cassandra cluster on two instances in different region= s.
But when I am trying the nodetool = command with ring option, I am getting only single node.

How to make these two nodes commun= icate with each other. I have already opened required ports. i.e 7000, 8080, 9160 in respective
security groups. Plz help me with = this.

Regards,
Himanshi Sharma


=3D=3D=3D=3D=3D-----=3D=3D=3D=3D=3D--=
---=3D=3D=3D=3D=3D
Notice: The information contained in this e-mail
m= essage and/or attachments to it may contain
confidential or privileged = information. If you are
not the intended recipient, any dissemination, use,
review, distributio= n, printing or copying of the
information contained in this e-mail mess= age
and/or attachments to it are strictly prohibited. If
you have r= eceived this communication in error,
please notify us by reply e-mail or telephone and
immediately and perma= nently delete the message
and any attachments. Thank you



--90e6ba6151800eac76049cece591--