Re: Configuring multiple nodes

2009-09-23 Thread Anthony Molinaro
Okay, added a couple of sentences about this. On Sun, Sep 20, 2009 at 10:52:49PM -0500, Jonathan Ellis wrote: > Could you mention this on http://wiki.apache.org/cassandra/RunningCassandra ? > > On Sun, Sep 20, 2009 at 10:46 PM, Anthony Molinaro > wrote: > > One other gotcha I've come across tryi

Re: Configuring multiple nodes

2009-09-23 Thread Anthony Molinaro
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

Re: Configuring multiple nodes

2009-09-21 Thread Eric Evans
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

Re: Configuring multiple nodes

2009-09-20 Thread Jonathan Ellis
Could you mention this on http://wiki.apache.org/cassandra/RunningCassandra ? On Sun, Sep 20, 2009 at 10:46 PM, 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 a

Re: Configuring multiple nodes

2009-09-20 Thread Anthony Molinaro
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 -Djava.rmi.server.hostname=$IP where IP is IP=`/sbin/ifconfig | grep 'inet addr:' | grep -v '127.0

Re: Configuring multiple nodes

2009-09-20 Thread Eric Evans
On Sun, 2009-09-20 at 09:42 +0930, Chris Were wrote: > *sigh* I should have tried turning iptables off -- I can now see both > nodes. Thanks :) > > > That being said, I'm no expert in iptables rules. This is what I added > for cassandra, what rules do others use? > > > -A RH-Firewall-1-INPUT -

Re: Configuring multiple nodes

2009-09-19 Thread Chris Were
> Assuming you can ping, do you see anything different with iptables > turned off? *sigh* I should have tried turning iptables off -- I can now see both nodes. Thanks :) That being said, I'm no expert in iptables rules. This is what I added for cassandra, what rules do others use? -A RH-Firewal

Re: Configuring multiple nodes

2009-09-19 Thread Eric Bowman
You can ping 192.168.0.102 from 192.168.0.101, right? Assuming you can ping, do you see anything different with iptables turned off? cheers, Eric Chris Were wrote: > Hi, > > I am having issues getting two cassandra instances to communicate. > > - ListenAddress on each machine to their respectiv

Configuring multiple nodes

2009-09-19 Thread Chris Were
Hi, I am having issues getting two cassandra instances to communicate. - ListenAddress on each machine to their respective public IP addresses. - Seeds has an entry for both public IP addresses. - I have opened up iptables for ports 9160, 7000, 7001, (not sure which ones really need to be