An Ubuntu based 3 node/machine ElasticSearch cluster using Vagrant and Virtualbox

Thought I’d share the development ElasticSearch cluster I’ve been using lately.

https://github.com/diffused/Vagrant-ElasticSearch-Cluster

Simply run “vagrant up” and it should auto-provision a 3 node ElasticSearch cluster.

Why 3 nodes on different VMs?

We wanted to make sure we had a similar setup to our production system.

Also, checking query results when using aggregations across shards because document counts are approximate. FYI: The Vagrant provisioning scripts set up 1 shard 2 replicas. You might want to change that if you want to see the shard/doc count quirk.

 

 

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s