1

I'm using crate.io to test replication between nodes. I've two instances running on two separate Ubuntu machines running on VirtualBox on the same local network. The instance is not able to recognize additional nodes - seems like each one is running on its own. Does anyone have any experience in configuring multiple nodes?

Nisse Engström
  • 4,738
  • 23
  • 27
  • 42
Rajesh Beri
  • 33
  • 1
  • 3

1 Answers1

0

By default crate nodes are discovering themselves using multicast which seems not to work at your network setup. Switching to unicast should solve this:

discovery.zen.ping.multicast.enabled: false
discovery.zen.ping.unicast.hosts:
- crate1.example.com:4300
- crate2.example.com:4300
- crate3.example.com:4300

This blog post describes it well: https://crate.io/blog/using-crate-in-multinode-setup.

Sebastian Utz
  • 719
  • 3
  • 9
  • Since multi- and broadcast is blocked in AWS environments I guess this will be a solution for AWS too. – Yser Oct 31 '14 at 03:21