Installing, Configuring and Running Cassandra locally
1. Prepare the Operating System
a) Install latest Java 7
b) Configure JAVA_HOME
c) Install JNA ( Java Native Access) libraries
d) Synchronize clocks on each node by using NTP protocol.
e) Disable SWAP (sudo swapoff -all)
2. Select and install a Cassandra distribution.
There are three distributions
a) Cassandra Opensource
b) DSE(Datastax Enterprise)
c) DSC(Datastax Community)
Directory Structure after you install Cassandra
3.Configure Cassandra for the single node
Configuration files include
a) cassandra.yaml
b) cassandra-env.sh
c) logback.xml
d) cassandra-rackdc.properties
e) cassandra-topology.properties
f) bin/cassandra-in.sh
4.Start and Stop the cassandra instance.
a) Starting the instance
b) Stopping the instance
c) System logs
Summary
No comments:
Post a Comment