When i am doing the exercise 09 on vnodes, I encounter this problem of one node is able to connect by the other node is unable to connect. Here are the screenshots.
At first, I have stop the 2 nodes which I have created on 07 exercises on Rings
/home/ubuntu/node1/resources/cassandra/bin/nodetool stopdaemon /home/ubuntu/node2/resources/cassandra/bin/nodetool stopdaemon
then i remove the directory for both nodes using the commands
rm -rf /home/ubuntu/node1/data/
rm -rf /home/ubuntu/node2/data/
Then i edit the cassandra.yaml on 2 nodes using vi editor.
Node 1 below
Node 2 below
Then i restart the 2 nodes using dse cassandra
When i run the command
I have only one node working
while the other node, refuse to connect.
Can you all enlightened me what have I done wrong in the steps???