cassandra – starting seed nodes first and then other nodes

 

  • In the cassandra-rackdc.properties file, assign the data center and rack names you determined in the Prerequisites. For example:
    # indicate the rack and dc for this node
    dc=DC1
    rack=RAC1
  • After you have installed and configured Cassandra on all nodes, start the seed nodes one at a time, and then start the rest of the nodes.
    Note: If the node has restarted because of automatic restart, you must first stop the node and clear the data directories, as described above.

    Package installations:

    $ sudo service cassandra start

    Tarball installations:

    $ cd install_location 
    $ bin/cassandra
  • To check that the ring is up and running, run:

    Package installations:

    $ nodetool status

    Tarball installations:

    $ cd install_location 
    $ bin/nodetool status

    Each node should be listed and it’s status and state should be UN (Up Normal).

 

 

Leave a comment