Hi,
I am trying to set up a 2 node cluster on a lab server using 2 VMs. I have tried the mesh as well as the multicast heartbeats but I run into different problems each time.
The heartbeats themselves seem to be OK but the cluster is never usable.
I checked the troubleshooting section as well but didn’t help. Then I came across this post(Cluster running Aerospike on LXC) but could not understand what exactly is to be done. Do I need some additional VM settings to make it work?
I have attached logs and conf of both the cases. Please help
Mesh Conf for node1: service { address any port 3000 access-address 192.168.254.132 virtual network-interface-name eth0 }
heartbeat {
mode mesh
address 192.168.254.132
port 3002
mesh-seed-address-port 192.168.254.132 3002
mesh-seed-address-port 192.168.254.133 3002
interface-address 192.168.254.132
interval 150
timeout 10
}
Multicast Conf for node 1: service { address any port 3000 access-address 192.168.254.132 virtual }
heartbeat {
mode multicast
address 239.1.99.1
port 9918
interface-address 192.168.254.132
interval 150
timeout 10
}
The conf files for the other node(192.168.254.133) are same with the obvious IP addresses changes.