# Problems with cluster setup on VM

**URL:** https://discuss.aerospike.com/t/problems-with-cluster-setup-on-vm/2227
**Category:** Configuration
**Created:** [December 5, 2015, 7:31pm UTC](https://discuss.aerospike.com/t/problems-with-cluster-setup-on-vm/2227 "2015-12-05T19:31:12Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![HimanshuKumarSingh](https://avatars.discourse-cdn.com/v4/letter/h/ee59a6/32.png) [@HimanshuKumarSingh](https://discuss.aerospike.com/u/HimanshuKumarSingh)
#### Post date: [December 5, 2015, 7:31pm UTC](https://discuss.aerospike.com/t/problems-with-cluster-setup-on-vm/2227/1 "2015-12-05T19:31:12Z")

</div>

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](https://discuss.aerospike.com/t/cluster-running-aerospike-on-lxc/1441)) 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.

---

<div class="post-metadata">

### Author: ![Tony\_Chung](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.aerospike.com/tony_chung/32/1273_2.png) [@Tony\_Chung](https://discuss.aerospike.com/u/Tony_Chung)
#### Post date: [September 17, 2016, 12:24am UTC](https://discuss.aerospike.com/t/problems-with-cluster-setup-on-vm/2227/2 "2016-09-17T00:24:26Z")

</div>

I did not see the logs and config files. Please provide them again. You may have to use dropbox or google drive. What version of Aerospike you are running?

---

<div class="post-metadata">

### Author: ![Klinton\_Lee](https://avatars.discourse-cdn.com/v4/letter/k/f4b2a3/32.png) [@Klinton\_Lee](https://discuss.aerospike.com/u/Klinton_Lee)
#### Post date: [September 20, 2016, 11:40pm UTC](https://discuss.aerospike.com/t/problems-with-cluster-setup-on-vm/2227/3 "2016-09-20T23:40:17Z")

</div>

Hi HimanshuKumarSingh,

We ran into a similar scenario; our Test VM environment wasn’t responding as expected.

Issue: all of the nodes started up in a single node mode, even though a multicast configuration was used.

Resolution: the issue was easily resolved after adding the cluster aware configurations. See the online docs for additional information.

…hope this helps.
