Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Starting vagrant boxes:-
    1. Make sure vagrant boxes are up with the same IPs mentioned in inventories/local for cassandra_node, which is 192.168.33.19192.168.33.20.
    2. Make sure there is cassandra_seed_node mentioned in inventories/local and that should be one of the above boxes.
  2. Go to Freeshr-Playbooks folder. Start and ssh into provisioner box from.
  3. Run below commands

    Code Block
    languagebash
    cd /vagrant/
    cp group_vars/all_example group_vars/all #make sure this is not commited
    touch ~/.vaultpass.txt #if not done before
    ansible-playbook cassandra.yml -i inventories/local -t cassandra  --vault-password-file ~/.vaultpass.txt -k -vvvv


  4. Cassandra should be running on both the boxes. You can login to cassandra cqlsh with below command.

    Code Block
    languagebash
    cqlsh <ip-address> -ucassandra -ppassword


...