From ce30c3ca4975d5473e983b4f8f3e4fa3ee917357 Mon Sep 17 00:00:00 2001 From: alexanderjardim Date: Wed, 27 May 2015 03:06:55 -0300 Subject: [PATCH] documenting multi-dc support --- cassandra/README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/cassandra/README.md b/cassandra/README.md index 21d561097..540b42a6c 100644 --- a/cassandra/README.md +++ b/cassandra/README.md @@ -97,6 +97,16 @@ This variable sets the name of the cluster and must be the same for all nodes in This variable sets number of tokens for this node. It will set the [`num_tokens`](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html?scroll=reference_ds_qfg_n1r_1k__num_tokens) option of `cassandra.yaml`. +### `CASSANDRA_DC` +This variable sets the datacenter name of this node. It will set the [`dc`] option of `cassandra-rackdc.properties`. + +### `CASSANDRA_RACK` +This variable sets the rack name of this node. It will set the [`rack`] option of `cassandra-rackdc.properties`. + +### `CASSANDRA_ENDPOINT_SNITCH` +This variable sets the snitch implementation this node will use. It will set the [`endpoint_snitch`] option of `cassandra.yml`. + + # Caveats ## Where to Store Data