Public Repository

Last pushed: 2 years ago
Short Description
how to start cassandra cluster
Full Description
  1. download this docker images.
  2. sudo mkdir /cassdata # to keep cassandra persistent data
  3. sudo chmod 777 cassdata # or changes the ownership to "landscape"
  4. sudo docker run -i -t --name cassdb --net host -v /cassdata:/var/lib/cassandra cassdb_freeip /bin/bash
  5. vi /etc/cassandra/cassandra.yaml [ update the seeds ip ]
  6. service cassandra start
  7. nodetool status # to check cassandra cluster statu
  8. cqlsh -u cassandra -p cassandra <hostip> [ NOTE localhost for this example, because It autoconfigure to the ip of host ]
Docker Pull Command
Owner
amitmund

Comments (0)