Post by amdalal » Fri Aug 02, 2013 1:30 am
Hi,
I am trying to setup a 2 node cluster. I have aerospike server installed on two machines (with IPs: IP1 and IP2). I’ve copied /etc/citrusleaf/citrusleaf.conf from server1 to server2.
Only difference b/w two files is:
SERVER1:
heartbeat {
#mode multicast
#address 239.1.99.108
#port 9918
# To use unicast-mesh heartbeats, comment out the 3 lines above and
# use the following instead. The parameters are confusing so read the documentation.
mode mesh
port 3002
mesh-address IP2
mesh-port 3002
interval 250
timeout 50
}
SERVER2:
heartbeat {
#mode multicast
#address 239.1.99.108
#port 9918
# To use unicast-mesh heartbeats, comment out the 3 lines above and
# use the following instead. The parameters are confusing so read the documentation.
mode mesh
port 3002
mesh-address IP1
mesh-port 3002
interval 250
timeout 50
}