I am using two aerospike clusters(each with one node/machine only).
Since both machine are on same LAN, they try to connect each other trying to form single cluster. Because of this I was getting error(while inserting record):
Error: (11) AEROSPIKE_ERR_CLUSTER
So on my ubuntu setup(one of two machines) I blocked port 9918 using cmd:
ufw block 9918
After block cmd, aerospike clusters started working(I was able to insert record).
Whats better way to avoid two Aerospike machines on same LAN to not communicate with each other ?