improve cassandra documentation
include instructions for adding keyspaces for test environment. Test Plan: 1. specs pass Change-Id: I8e7a0349f900d6188dc66249682734bc95950bd2 Reviewed-on: https://gerrit.instructure.com/127925 Reviewed-by: Shahbaz Javeed <sjaveed@instructure.com> Tested-by: Jenkins Product-Review: Keith T. Garner <kgarner@instructure.com> QA-Review: Keith T. Garner <kgarner@instructure.com>
This commit is contained in:
parent
8015156613
commit
bc3dd8279d
|
@ -15,11 +15,15 @@
|
|||
#
|
||||
# For Cassandra 1.1 run `cqlsh -3` and:
|
||||
# CREATE KEYSPACE page_views WITH strategy_class = 'SimpleStrategy' AND strategy_options:replication_factor = '1';
|
||||
# CREATE KEYSPACE page_views_test WITH strategy_class = 'SimpleStrategy' AND strategy_options:replication_factor = '1';
|
||||
# CREATE KEYSPACE auditors WITH strategy_class = 'SimpleStrategy' AND strategy_options:replication_factor = '1';
|
||||
# CREATE KEYSPACE auditors_test WITH strategy_class = 'SimpleStrategy' AND strategy_options:replication_factor = '1';
|
||||
#
|
||||
# For Cassandra 1.2 and 2.0 run `cqlsh` and:
|
||||
# CREATE KEYSPACE page_views WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 1 };
|
||||
# CREATE KEYSPACE page_views_test WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 1 };
|
||||
# CREATE KEYSPACE auditors WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 1 };
|
||||
# CREATE KEYSPACE auditors_test WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 1 };
|
||||
#
|
||||
# To create the keyspace in production you'll need to determine the appropriate
|
||||
# placement strategy and options.
|
||||
|
|
Loading…
Reference in New Issue