jasonmk / datastax_rails

A Ruby-on-Rails interface to Datastax Enterprise. Replaces the majority of ActiveRecord functionality.
MIT License
23 stars 9 forks source link

No Liver Servers connection issue connecting to a cluster on ec2 #14

Closed magedmakled closed 10 years ago

magedmakled commented 10 years ago

telnet 54.80.62.209 9160 worked

rake ds:migrate

No live servers in [node0_ip:9160].

tried to use cassandra gem

but had to use client.disable_node_auto_discovery!

Am I doing something wrong to connect?

jasonmk commented 10 years ago

I've never actually used ec2, but I know Amazon doesn't allow multicasting, so that might be part of the issue. You might try using the PropertyFileSnitch on your cluster and see if that helps. Does setting disable_node_auto_discovery! actually allow it work? If so, that might be a good configuration option in datastax.yml.