"Use the Ec2Snitch for simple cluster deployments on Amazon EC2 where all nodes in the cluster are within a single region.
In EC2 deployments, the region name is treated as the datacenter name and availability zones are treated as racks within a datacenter."
Then a few lines down, it says:
"If you need multiple datacenters, set the dc_suffix options in the cassandra-rackdc.properties file. Any other lines are ignored."
If all nodes are within a single region, and if a region name is treated as the datacenter name, how can you have multiple datacenters?
2. Our intention is to have a copy of the data on each availability zone. So right now we define keyspaces with "WITH REPLICATION = {'class' : 'NetworkTopologyStrategy', 'us-west-2' : 3 };" The question is, is this the best way to do it? Because I notice I still achieve getting 100% copy of data on each node (reported by nodetool status) if we use SimpleStrategy with replication_factor set to 3. Wondering what will happen if we add nodes to each availability zone without changing replication factors - will both replication strategies result in data being spread across nodes within an AZ?
When using SimpleStrategy with Ec2Snitch, which one will take effect - SimpleStrategy's "Additional replicas are placed on the next nodes clockwise in the ring without considering topology" or Ec2Snitch's "knowledge" of the racks and that "Scylla will do its best not to have more than one replica on the same "rack""
Thanks!
Johann
--
You received this message because you are subscribed to a topic in the Google Groups "ScyllaDB users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/scylladb-users/CrPOmQaER14/unsubscribe.
To unsubscribe from this group and all its topics, send an email to scylladb-user...@googlegroups.com.
To post to this group, send email to scyllad...@googlegroups.com.
Visit this group at https://groups.google.com/group/scylladb-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/scylladb-users/9770ae42-5df3-40a6-be78-d8f99b92b3a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
> "If you need multiple datacenters, set the dc_suffix options in the
> cassandra-rackdc.properties file. Any other lines are ignored."
>
> If all nodes are within a single region, and if a region name is treated as
> the datacenter name, how can you have multiple datacenters?
If you specify that, then the region name is no longer treated as the
(sole) datacenter name.
It will now be region name + suffix.
You received this message because you are subscribed to a topic in the Google Groups "ScyllaDB users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/scylladb-users/CrPOmQaER14/unsubscribe.
To unsubscribe from this group and all its topics, send an email to scylladb-user...@googlegroups.com.
To post to this group, send email to scyllad...@googlegroups.com.
Visit this group at https://groups.google.com/group/scylladb-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/scylladb-users/CAD-J%3DzY8s-dJV%2BSMBctSASNyCBwdeC1d-FjnDVk2cq9sK6o%3D2Q%40mail.gmail.com.