Adding a fresh node cannot be done through AMC. The node has to be configured correctly, and then brought up and it will join the cluster and finally will show on AMC.
Thanks, Meher, and How should I know that vagrantfile is configured correctly. You said the node has to configure correctly it means that I should edit the aerospike.config file in all the three VM’s, right?
I haven’t made any changes to the aerospike.config file and what I understood was the cluster I have added has three nodes but they don’t communicate with each other.
Let’s say I need a replica of data 3, and when one node fails the other node, will use partition map and make sure that replica of data 3 is maintained with 2 nodes.
But, when I don’t configure the aerospike.config file the above-mentioned story will not happen.
Hi Meher, This is my understanding please correct me if I’m wrong. Thanks for your time and I appreciate your help.
Not sure I understand what you wrote. From the screenshot, you seem to have a 3 node cluster, and if you haven’t changed any configuration, it means that it is working through multicast and the nodes would be communicating with each other. If you have replication factor 3 on a 3 node cluster and lose one node, you can then only have replication factor 2 on the remaining 2 nodes.
If you keep the default config and multicast is enabled on your network, it will just work as it seems to have. I would encourage you to read the documentation details on how to setup / configure / manage Aerospike. For this particular topic, the details are here: http://www.aerospike.com/docs/operations/configure/network/heartbeat.
I would recommend checking the logs of each of your nodes to figure out why a 3 node cluster was not formed. You obviously managed to have a 3 node cluster formed previously, or so it seems, from your previous screen shot.
Yes, you are right previously, I have formed 3 three-node cluster but when I tried again I’m facing this issue.
How do I check the log files?
I have entered the VM1
The nodes don’t seem to properly see each other. My guess is that the traffic over fabric is not properly working… make sure your nodes can see each other over the fabric port 3001, through the interface specified (if any) under the fabric stanza. But it is hard to debug with limited logs.