...
- Starting vagrant boxes:-
- Make sure vagrant boxes are up with the same IPs mentioned in inventories/local for cassandra_node, which is 192.168.33.19 & 192.168.33.20.
- Make sure there is cassandra_seed_node mentioned in inventories/local and that should be one of the above boxes.
- Go to Freeshr-Playbooks folder. Start and ssh into provisioner box from.
Run below commands
Code Block language bash 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
Cassandra should be running on both the boxes. You can login to cassandra cqlsh with below command.
Code Block language bash cqlsh <ip-address> -ucassandra -ppassword
...