Re: Help with 4 node cluster

2015-02-19 Thread Mark Walkom
You can have 4 master eligable ​if you want​ , just set discovery.zen.minimum_master_nodes ​ to 3 to ensure a quorum.​ But ideally as Christian mentioned, it's best to have an uneven number of masters. On 19 February 2015 at 16:51, wrote: > Hi, > > You always want an odd number of master nodes

Re: Help with 4 node cluster

2015-02-18 Thread christian . dahlqvist
Hi, You always want an odd number of master nodes (often 3), so I would therefore recommend setting three of the four nodes to be master eligible and leave the fourth as a pure data node. This will prevent the cluster getting partitioned into two with equal number of master nodes on both sides

Re: Help with 4 node cluster

2015-02-18 Thread Nara Alzapur
you can make all nodes as master + data by setting following in elasticsearch.yml file. i dont think/know if you can setup 2 nodes as primary in cluster. For each index, you can set number of replica as 1 or more, so ES will automatically move them to different nodes than primary shard. i recom

Re: Help with 4 node cluster

2015-02-18 Thread Mark Walkom
Take a look at these pages - http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/deploy.html Also there is not really any point in forcing shard types on specific machines, unless you want to leverage some kind of awareness. A primary and replica shard are the same thing other than a

Help with 4 node cluster

2015-02-18 Thread sysads
Hi I am in need of help on setting up a 4 node elasticsearch servers. I have installed and configured ES on all 4 nodes but I am lost as to what the configuration in elasticsearch.yml will be: - if I want to have all 4 nodes both master and data - make node A act as primary shard while node B a