I am trying to setup aerospike cluster. Here are the below configs i made in aerospike.conf,
- added multicast heartbeats Node 1:
heartbeat {
mode multicast
multicast-group 239.1.99.222
#address 10.0.0.38
port 9918
# To use unicast-mesh heartbeats, remove the 3 lines above, and see
# aerospike_mesh.conf for alternative.
interval 300
timeout 10
}
cluster {
mode static
self-group-id 100
self-node-id 102
}
service {
paxos-protocol v4
}
Node 2:
heartbeat {
mode multicast
multicast-group 239.1.99.222
port 9918
#address 10.0.0.37
# To use unicast-mesh heartbeats, remove the 3 lines above, and see
# aerospike_mesh.conf for alternative.
interval 300
timeout 10
}
cluster {
mode static
self-group-id 100
self-node-id 101
}
service {
paxos-protocol v4
}
In both the server logs,
Node 1 log
Apr 02 2017 03:01:31 GMT: INFO (info): (ticker.c:170) NODE-ID bb9006400000065 CLUSTER-SIZE 1
Node 2 log:
Apr 02 2017 03:01:51 GMT: INFO (info): (ticker.c:170) NODE-ID bb9006400000066 CLUSTER-SIZE 1
I don’t see my cluster having node size 2. Please help me debug this.