On May 2, 2017, at 6:48 PM, Roman Naumenko <firstname.lastname@example.org> wrote:Service discovery (aka "note some IPs") should be part of the cluster bootstrapping and management.See for example how elastic is doing this. Or consul. Its pretty standard practice these days.--RomanOn Tue, May 2, 2017 at 5:08 PM Steve Robenalt <email@example.com> wrote:Hi Roman,I'm assuming you were intending your first statement to be in jest, but it's really not that hard to startup a Cassandra cluster. The defaults are pretty usable, so if all you want to do is set the IPs and start it up, the cluster probably will just take care of everything else.So I jest a little bit too. It's normally desirable to set up storage properly for your database, and there's a few options for which you might want to change the defaults, such as the snitch.Still, if that means you only need to take note of of a couple of IPs and designate them as seeds so your cluster can mostly manage itself, you can say that's sad, but I'd say it's a small price to pay for all that you don't have to do.SteveOn Mon, May 1, 2017 at 4:55 PM, Roman Naumenko <firstname.lastname@example.org> wrote:Lol yeah, whyI guess I run some ec2 instances, drop some cassandra deb packages on 'em - the thing will figure out how to run...Also, how would you get "initial state of the cluster" if the cluster... is being initialized?Or that's easy, according to the docs - just hardcode some seed IPs into each node, lolIt's all kinda funny, but in a sad way.On Mon, May 1, 2017 at 4:45 PM, Jon Haddad <email@example.com> wrote:Why do you have to figure out what’s up w/ them by accident? You’ve gotten all the information you need. Seeds are used to get the initial state of the cluster and as an optimization to spread gossip faster. That’s it.On May 1, 2017, at 4:37 PM, Roman Naumenko <firstname.lastname@example.org> wrote:Well, I guess I have to figure out what’s up with IPs/hostnames by experiment.Information about service discovery is practically absent.Not to mention all important details about fqdns/hostnames, automatic replacing seed nodes or what not.—RomanOn May 1, 2017, at 4:14 PM, Jon Haddad <email@example.com> wrote:The in-tree docs do not mention this anywhere, and even have some of the answers you’re asking:The DataStax docs are maintained outside of the project, you’ll have to ask them why they’re wrong or misleading.JonOn May 1, 2017, at 4:10 PM, Roman Naumenko <firstname.lastname@example.org> wrote:The docs mention IP addresses everywhere.Promote an existing node to a seed node by adding its IP address to -seeds list and remove (demote) the IP address of the dead seed node from the cassandra.yaml file for each node in the cluster.Note the Address of the dead node; it is used in step 5.Properties to set:num_tokens: recommended value: 256-seeds: internal IP address of each seed nodeI saw also hostnames mentioned few times, but it just makes it even more confusing.—RomanOn May 1, 2017, at 3:50 PM, Jon Haddad <email@example.com> wrote:Sure, you could use DNS. Where does it say IP addresses are a requirement?On May 1, 2017, at 1:36 PM, Roman Naumenko <firstname.lastname@example.org> wrote:
If I understand how Cassandra nodes work, they must contain a list of seed’s IP addressed in config file.
This requirement makes cluster setup unnecessarily complicated. Is it possible to use DNS name for seed nodes?
To unsubscribe, e-mail: email@example.com
For additional commands, e-mail: firstname.lastname@example.org--
Software Architect, HighWire Press, Inc.
HighWire Summer Publishers' Meeting, London, June 12-13
STM Annual US Conference, April 25-27: Michiel Klein Swormink and Jennifer Chang are representing HighWire
2017 CSE Annual Meeting: John Sack is presenting on topic of Piracy, May 23
SSP Annual Meeting, May 31-June 2: Visit HighWire on Booth #101A