Re: multinode cluster wiki page

2010-04-05 Thread Ted Zlatanov
On Mon, 5 Apr 2010 13:10:38 -0500 Brandon Williams wrote: BW> 2010/4/5 Ted Zlatanov >> It would be nice if Cassandra looked at all the available interfaces and >> selected the one whose reverse DNS lookup returned ".*cassandra.*" (or >> some keyword the user provided). >> >> In other words, wh

Re: multinode cluster wiki page

2010-04-05 Thread Brandon Williams
2010/4/5 Ted Zlatanov > On Sat, 3 Apr 2010 14:10:37 -0500 Jonathan Ellis > wrote: > > JE> IMO the "right" way to do it is to configure your machines so that > JE> autodetecting listenaddress Just Works, so you can deploy exactly the > JE> same config to all nodes. > > It would be nice if Cassand

Re: multinode cluster wiki page

2010-04-05 Thread Ted Zlatanov
On Sat, 3 Apr 2010 14:10:37 -0500 Jonathan Ellis wrote: JE> IMO the "right" way to do it is to configure your machines so that JE> autodetecting listenaddress Just Works, so you can deploy exactly the JE> same config to all nodes. It would be nice if Cassandra looked at all the available interf

Re: multinode cluster wiki page

2010-04-05 Thread Ted Zlatanov
On Sat, 3 Apr 2010 13:52:22 -0700 Benjamin Black wrote: BB> What happens if the IP I get back is for a seed that happens to be BB> down right then? And then that IP is cached locally by my resolver? You have to set the TTL to be the right number of seconds for your environment. With tinydns o

Re: multinode cluster wiki page

2010-04-03 Thread Benjamin Black
What happens if the IP I get back is for a seed that happens to be down right then? And then that IP is cached locally by my resolver? There is certainly a tempting conceptual simplicity to using DNS, I just don't think the reality is that simple nor is it for the trade in predictability, for me.

Re: multinode cluster wiki page

2010-04-03 Thread banks
I can see the logic of having an internal DNS entry ' seednodes.internaldomain.com', this might only have 3 defined seed nodes out of 100, but the benefit is single point configuration, no need to edit configs across 100 machines, easily redefinable on the fly as needed... On Sat, Apr 3, 2010 at 1

Re: multinode cluster wiki page

2010-04-03 Thread Benjamin Black
Seems like a lot of complexity for a very small win (how often do you bootstrap new nodes? if you only need a handful of seeds, what's all that hard about listing them all on all nodes?). I prefer simple and predictable, and trying to do this with round robin DNS seems to be neither, to me. b

Re: multinode cluster wiki page

2010-04-03 Thread gabriele renzi
On Sat, Apr 3, 2010 at 6:40 PM, Avinash Lakshman wrote: > We use anywhere from 3-5 seeds for clusters that have over 150 nodes. That > should suffice for larger sizes too since they are only for initial > discovery. would it make sense to just use a round robin dns on the available nodes and use

Re: multinode cluster wiki page

2010-04-03 Thread Benjamin Black
I do not claim it is the best/right way, just the one least likely to go wrong. On Sat, Apr 3, 2010 at 12:10 PM, Jonathan Ellis wrote: > IMO the "right" way to do it is to configure your machines so that > autodetecting listenaddress Just Works, so you can deploy exactly the > same config to all

Re: multinode cluster wiki page

2010-04-03 Thread Jonathan Ellis
IMO the "right" way to do it is to configure your machines so that autodetecting listenaddress Just Works, so you can deploy exactly the same config to all nodes. On Sat, Apr 3, 2010 at 3:14 AM, Benjamin Black wrote: > Just added this to the wiki as it seemed a very frequent request on > irc: htt

Re: multinode cluster wiki page

2010-04-03 Thread Avinash Lakshman
We use anywhere from 3-5 seeds for clusters that have over 150 nodes. That should suffice for larger sizes too since they are only for initial discovery. Avinash On Sat, Apr 3, 2010 at 9:19 AM, Benjamin Black wrote: > Seeds are used for ring discovery, so there really isn't a load > concern for

Re: multinode cluster wiki page

2010-04-03 Thread Benjamin Black
Seeds are used for ring discovery, so there really isn't a load concern for them, afaict. Have enough to meet your availability needs, including placement, and rock out. On Sat, Apr 3, 2010 at 9:01 AM, Joseph Ruscio wrote: > Ben, > > Great, was looking for something like this just the other day.

Re: multinode cluster wiki page

2010-04-03 Thread Joseph Ruscio
Ben, Great, was looking for something like this just the other day. One question I'm still unclear on, when setting up multiple nodes, say 4-8 (or more) what's the suggested ratio of seed vs. non-seed nodes? thanks, Joe On Apr 3, 2010, at 1:14 AM, Benjamin Black wrote: > Just added this to th

Re: multinode cluster wiki page

2010-04-03 Thread Benjamin Black
Thank you! Updated. On Sat, Apr 3, 2010 at 2:57 AM, Benoit Perroud wrote: > Hi, > > Nice work. > I guess just a small mistake : > > the second 192.168.1.1 should be > 192.168.2.34 > > And I would suggest to add a small part on making the thrift interface > listening on more than localhost. > > K

Re: multinode cluster wiki page

2010-04-03 Thread Benoit Perroud
Hi, Nice work. I guess just a small mistake : the second 192.168.1.1 should be 192.168.2.34 And I would suggest to add a small part on making the thrift interface listening on more than localhost. Kind regards, Benoit. 2010/4/3 Benjamin Black : > Just added this to the wiki as it seemed a ver

multinode cluster wiki page

2010-04-03 Thread Benjamin Black
Just added this to the wiki as it seemed a very frequent request on irc: http://wiki.apache.org/cassandra/MultinodeCluster Would very much appreciate feedback and edits to improve it. b