Browse Source

Merge pull request #247 from infosiftr/cass

Cassandra docs for new env vars
Tianon Gravi 10 years ago
parent
commit
049d19ff77
2 changed files with 24 additions and 0 deletions
  1. 12 0
      cassandra/README.md
  2. 12 0
      cassandra/content.md

+ 12 - 0
cassandra/README.md

@@ -97,6 +97,18 @@ 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`](http://docs.datastax.com/en/cassandra/2.1/cassandra/architecture/architectureSnitchGossipPF_c.html) option of `cassandra-rackdc.properties`.
+
+### `CASSANDRA_RACK`
+
+This variable sets the rack name of this node. It will set the [`rack`](http://docs.datastax.com/en/cassandra/2.1/cassandra/architecture/architectureSnitchGossipPF_c.html) option of `cassandra-rackdc.properties`.
+
+### `CASSANDRA_ENDPOINT_SNITCH`
+
+This variable sets the snitch implementation this node will use. It will set the [`endpoint_snitch`](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html?scroll=reference_ds_qfg_n1r_1k__endpoint_snitch) option of `cassandra.yml`.
+
 # Caveats
 
 ## Where to Store Data

+ 12 - 0
cassandra/content.md

@@ -90,6 +90,18 @@ 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`](http://docs.datastax.com/en/cassandra/2.1/cassandra/architecture/architectureSnitchGossipPF_c.html) option of `cassandra-rackdc.properties`.
+
+### `CASSANDRA_RACK`
+
+This variable sets the rack name of this node. It will set the [`rack`](http://docs.datastax.com/en/cassandra/2.1/cassandra/architecture/architectureSnitchGossipPF_c.html) option of `cassandra-rackdc.properties`.
+
+### `CASSANDRA_ENDPOINT_SNITCH`
+
+This variable sets the snitch implementation this node will use. It will set the [`endpoint_snitch`](http://docs.datastax.com/en/cassandra/2.1/cassandra/configuration/configCassandra_yaml_r.html?scroll=reference_ds_qfg_n1r_1k__endpoint_snitch) option of `cassandra.yml`.
+
 # Caveats
 
 ## Where to Store Data