Unable to create cluster using mesh in aerospike-server-enterprise-6.2.0.2

Hi, I am using an aerospike single instance (Aerospike version aerospike-server-enterprise-6.2.0.2.) and now I want to add another instance in the mesh cluster. But unable to form the cluster, in the logs we are getting “WARNING (hb): (hb.c:8561) ignoring node: 2 - exceeding maximum supported cluster size 1” error. I am unable to increase the cluster size in the configuration when we set the max-cluster-size/cluster-size parameter we are getting an "unknown config parameter name ‘cluster-size’ " error.

Configuration files for both nodes are as below;

node-1:

# Aerospike database configuration file for use with systemd.

service {
	proto-fd-max 15000
        cluster-name test
        node-id 1
}

logging {
        # Log file must be an absolute path.
        file /var/log/aerospike/aerospike.log {
                context any info
        }
}

network {
	service {
		address any
                access-address node-1 IP
		port 3000
	}

	heartbeat {
		mode mesh
                address node-1 IP
		port 3002
                mesh-seed-address-port node-1 IP 3002
                mesh-seed-address-port node-2 IP 3002

		# To use unicast-mesh heartbeats, remove the 3 lines above, and see
		# aerospike_mesh.conf for alternative.
		interval 150
		timeout 10
	}

	fabric {
		port 3001
	}

	info {
		port 3003
	}
}

namespace test {
	replication-factor 2
	memory-size 16G

        storage-engine device {
                file /opt/aerospike/data/bar.dat
                filesize 16G
                data-in-memory true # Store data in memory in addition to file.
       }
}


namespace bar {
	replication-factor 2
	memory-size 1G

	storage-engine memory
}

node-2:

#Aerospike database configuration file for use with systemd.

service {
	proto-fd-max 15000
        cluster-name test
        node-id 2
}

logging {
        # Log file must be an absolute path.
        file /var/log/aerospike/aerospike.log {
                context any info
        }
}

network {
	service {
		address any
                access-address node-2 IP
		port 3000
	}

	heartbeat {
		mode mesh
                address node-2 IP
		port 3002
                mesh-seed-address-port node-2 IP 3002
                mesh-seed-address-port node-1 IP3002

		# To use unicast-mesh heartbeats, remove the 3 lines above, and see
		# aerospike_mesh.conf for alternative.
		interval 150
		timeout 10
	}

	fabric {
		port 3001
	}

	info {
		port 3003
	}
}

namespace test {
	replication-factor 2
	memory-size 16G

        storage-engine device {
                file /opt/aerospike/data/bar.dat
                filesize 16G
                data-in-memory true # Store data in memory in addition to file.
       }
}


namespace bar {
	replication-factor 2
	memory-size 1G

	storage-engine memory
}

You need an Enterprise Edition license file for more than one node. Check your license file - see what it has for number of nodes allowed. Please don’t cut and paste the license file with its verification key here on this public forum.

@pgupta facing the same issue here. I checked the LICENSE file that was downloaded initially from here. However, I couldn’t find it mentioned, i.e. the Max Number of Nodes allowed.

free download EE is one node. the lic file (features.conf) will have this entry:

asdb-cluster-nodes-limit         1

Got it. Thank you for your response @pgupta