Return-Path: Delivered-To: apmail-incubator-cassandra-user-archive@minotaur.apache.org Received: (qmail 60052 invoked from network); 23 Sep 2009 21:47:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Sep 2009 21:47:10 -0000 Received: (qmail 95646 invoked by uid 500); 23 Sep 2009 21:47:09 -0000 Delivered-To: apmail-incubator-cassandra-user-archive@incubator.apache.org Received: (qmail 95631 invoked by uid 500); 23 Sep 2009 21:47:09 -0000 Mailing-List: contact cassandra-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-user@incubator.apache.org Delivered-To: mailing list cassandra-user@incubator.apache.org Received: (qmail 95622 invoked by uid 99); 23 Sep 2009 21:47:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Sep 2009 21:47:09 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [131.215.239.119] (HELO mail.alumni.caltech.edu) (131.215.239.119) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Sep 2009 21:46:59 +0000 Received: from localhost (dsl081-082-089.lax1.dsl.speakeasy.net [64.81.82.89]) by mail.alumni.caltech.edu (Postfix) with ESMTPSA id EEA803F029F; Wed, 23 Sep 2009 14:46:32 -0700 (PDT) X-DKIM: Sendmail DKIM Filter v2.8.2 mail.alumni.caltech.edu EEA803F029F DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=alumni.caltech.edu; s=enforce; t=1253742393; bh=iUTHvxnBdFdDKaLuopwIvluTk0MCsiN3Nym+QTAH+y0=; h=Date:From:To:Subject:Message-ID:References:MIME-Version: Content-Type:In-Reply-To; b=mZkgefhyY9OI1K+QAClVpcPaF+Dwjyjywhi8E0mqPZ9Q8xfeaJbU9TK/R6vtbRIEB MKyqm5dxN+c7AueMDbGWj/HuRz5kTqjvB1CQwSJjE5PzjTZXwY6FnWOXIq353rStyh JAMGrkVX3yI6ik+c9/NOgfpFWgbiUsRQmNyCWHKI= Date: Wed, 23 Sep 2009 14:46:31 -0700 From: Anthony Molinaro To: cassandra-user@incubator.apache.org Subject: Re: Configuring multiple nodes Message-ID: <20090923214631.GE61514@alumni.caltech.edu> Mail-Followup-To: cassandra-user@incubator.apache.org References: <35bb42690909191635wb129acep2e9670d9686debdc@mail.gmail.com> <4AB56D67.3060004@boboco.ie> <35bb42690909191712w426b56d1k8e00802ac757a387@mail.gmail.com> <1253498969.15759.10.camel@achilles> <20090921034629.GA53728@alumni.caltech.edu> <1253545721.15759.15.camel@achilles> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1253545721.15759.15.camel@achilles> User-Agent: Mutt/1.5.20 (2009-06-14) X-MailScanner-Information-Alumni: Please contact the Alumni Office for more information X-Alumni-MailScanner-ID: EEA803F029F.A9A4F X-MailScanner-Alumni: No Virii found X-MailScanner-From: anthonym@alumni.caltech.edu X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Sep 21, 2009 at 10:08:41AM -0500, Eric Evans wrote: > On Sun, 2009-09-20 at 20:46 -0700, Anthony Molinaro wrote: > > One other gotcha I've come across trying to use jmx was on machines > > with multiple interfaces. The rmi server doesn't always bind to the > > one you want. I add this to my JVM_OPTS in cassandra.in.sh > > Interesting. It always binds to all interfaces for me. If that's not > what others see, than I wonder what determines that behavior. I think by default it uses the ip address of "localhost" which is fine if you have a local jconsole. http://download.java.net/jdk7/docs/technotes/guides/rmi/javarmiproperties.html I tend to always use a remote jconsole so the rmi server needs to be bound to the correct interface. I saw something mentioning that rmi hardcodes the ip in the stubs it generates and hands out. -Anthony -- ------------------------------------------------------------------------ Anthony Molinaro