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 C77A99EA for ; Fri, 22 Apr 2011 23:58:58 +0000 (UTC) Received: (qmail 46452 invoked by uid 500); 22 Apr 2011 23:58:56 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 46427 invoked by uid 500); 22 Apr 2011 23:58:56 -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 46419 invoked by uid 99); 22 Apr 2011 23:58:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Apr 2011 23:58:56 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [82.208.29.194] (HELO mail.gransy.com) (82.208.29.194) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Apr 2011 23:58:47 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.gransy.com (Postfix) with ESMTP id E63914A2248 for ; Sat, 23 Apr 2011 01:58:26 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at nathalia.gransy.com Received: from mail.gransy.com ([127.0.0.1]) by localhost (Nathalka.gransy.com.gransy.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sA2j1g7m9LQq for ; Sat, 23 Apr 2011 01:58:26 +0200 (CEST) Received: from [192.168.1.221] (ip-94-112-0-189.net.upcbroadband.cz [94.112.0.189]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.gransy.com (Postfix) with ESMTPSA id 7EAE54A223F for ; Sat, 23 Apr 2011 01:58:26 +0200 (CEST) Message-ID: <4DB21620.2070105@fuzzy.cz> Date: Sat, 23 Apr 2011 01:58:24 +0200 From: Tomas Vondra User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101219 Lightning/1.0b3pre Thunderbird/3.1.7 MIME-Version: 1.0 To: user@cassandra.apache.org Subject: multiple nodes sharing the same IP X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi all, I have a very simple question - is it possible to operate multiple cassandra nodes on the same IP? I'm a complete newbie so I've been playing with a bunch of local nodes, struggling to build a ring. It took me a lot of time until I set up two nodes on diffent IP addresses (localhost and an IP assigned to the eth interface) and suddenly everything started to work. It seems a bit strange that you can set storage/rpc/jmx port but it's not possible to set port for a seed (at least I haven't found a way to do that). Do I really need to set virtual IPs, or have I missed something? regards Tomas