Multinode cluster setup


#1

Is there a documentation on how to install in multi node cluster? I see the install for one node on the site but it doesn’t have any information on how to configure multiple nodes to setup a cluster. Also, we can’t use multicast.


#2

Multinode cluster is simple with either mesh config of multicast.

For a mesh config, you have to configure the network heartbeat stanza with the mesh seed IP addresses for the other nodes in the cluster. The nodes will form a cluster after sending the hearbeat over port 3002.

Please see the following for a more detail info:

http://www.aerospike.com/docs/operations/configure/network/heartbeat/#mesh-unicast-heartbeat

heartbeat {
mode mesh                   # Send heartbeats using Mesh (Unicast) protocol
address 192.168.1.100       # (Optional) (Default: any) IP of the NIC on
                            # which this node is listening to heartbeat
port 3002                   # port on which this node is listening to
                            # heartbeat
mesh-seed-address-port 192.168.1.100 3002 # IP address for seed node in the cluster
                                          # This IP happens to be the local node
mesh-seed-address-port 192.168.1.101 3002 # IP address for seed node in the cluster
mesh-seed-address-port 192.168.1.102 3002 # IP address for seed node in the cluster
mesh-seed-address-port 192.168.1.103 3002 # IP address for seed node in the cluster

interval 150                # Number of milliseconds between heartbeats
timeout 10                  # Number of heartbeat intervals to wait before
                            # timing out a node

}