So, when you want to create a keyspace, the steps are as following:
1. Connect to Cassandra
# ./bin/cassandra-cli2. Create keyspace
# create keyspace keyspace_name with replication_factor = nPS. In here, 'n' is integer, and the number of cassandra node must great or equal than 'n'.
You can set replication factor
Wish this helps.