Pacific-Design.com

    
Home Index

1. Cassandra

2. ccm

Cassandra / ccm /

Install Cassandra Cluster Manager - CCM

   
$ git clone https://github.com/pcmanus/ccm.git
$ cd ccm
$ sudo ./setup.py install

$ sudo ifconfig lo0 alias 127.0.0.2 up
$ sudo ifconfig lo0 alias 127.0.0.3 up
$ sudo ifconfig lo0 alias 127.0.0.4 up
$ ifconfig lo0

$ ccm create -v 2.1.9 -n 3 mycluster
$ ccm help
$ ccm list
$ ccm status
$ ccm start
$ ccm node1 cqlsh
$ ccm node2 stop 
$ ccm node1 nodetool status

$ ccm stop
$ ccm remove

Prerequisites - Install Xcode Command Line Tools

   
$ gcc
$ xcode-select --install